docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败 3:解绑",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5196. "name": "status",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "是否只查今日的合同 1-查今日合同",
  5202. "name": "istoday",
  5203. "in": "query"
  5204. }
  5205. ],
  5206. "responses": {
  5207. "200": {
  5208. "description": "OK",
  5209. "schema": {
  5210. "type": "array",
  5211. "items": {
  5212. "$ref": "#/definitions/models.Ermcp3Contract"
  5213. }
  5214. }
  5215. },
  5216. "500": {
  5217. "description": "Internal Server Error",
  5218. "schema": {
  5219. "$ref": "#/definitions/app.Response"
  5220. }
  5221. }
  5222. }
  5223. }
  5224. },
  5225. "/Ermcp3/QuerySpotContractBS": {
  5226. "get": {
  5227. "security": [
  5228. {
  5229. "ApiKeyAuth": []
  5230. }
  5231. ],
  5232. "produces": [
  5233. "application/json"
  5234. ],
  5235. "tags": [
  5236. "企业风险管理v3(app)"
  5237. ],
  5238. "summary": "查询合同(采购/销售)",
  5239. "parameters": [
  5240. {
  5241. "type": "integer",
  5242. "description": "用户id",
  5243. "name": "userid",
  5244. "in": "query",
  5245. "required": true
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "用户类型 2-机构 7-企业成员",
  5250. "name": "usertype",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "合同类型 1-采购, -1-销售",
  5256. "name": "contracttype",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5263. "name": "querytype",
  5264. "in": "query",
  5265. "required": true
  5266. },
  5267. {
  5268. "type": "string",
  5269. "description": "合同ID(SpotContractId)",
  5270. "name": "contractid",
  5271. "in": "query"
  5272. },
  5273. {
  5274. "type": "string",
  5275. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5276. "name": "status",
  5277. "in": "query"
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "是否只查今日的合同 1-查今日合同",
  5282. "name": "istoday",
  5283. "in": "query"
  5284. }
  5285. ],
  5286. "responses": {
  5287. "200": {
  5288. "description": "OK",
  5289. "schema": {
  5290. "type": "array",
  5291. "items": {
  5292. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5293. }
  5294. }
  5295. },
  5296. "500": {
  5297. "description": "Internal Server Error",
  5298. "schema": {
  5299. "$ref": "#/definitions/app.Response"
  5300. }
  5301. }
  5302. }
  5303. }
  5304. },
  5305. "/Ermcp3/QuerySpotGoodsPrice": {
  5306. "get": {
  5307. "security": [
  5308. {
  5309. "ApiKeyAuth": []
  5310. }
  5311. ],
  5312. "produces": [
  5313. "application/json"
  5314. ],
  5315. "tags": [
  5316. "企业风险管理v3(app)"
  5317. ],
  5318. "summary": "查询现货市价(现货市价)",
  5319. "parameters": [
  5320. {
  5321. "type": "integer",
  5322. "description": "用户ID",
  5323. "name": "userid",
  5324. "in": "query",
  5325. "required": true
  5326. }
  5327. ],
  5328. "responses": {
  5329. "200": {
  5330. "description": "OK",
  5331. "schema": {
  5332. "type": "array",
  5333. "items": {
  5334. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5335. }
  5336. }
  5337. },
  5338. "500": {
  5339. "description": "Internal Server Error",
  5340. "schema": {
  5341. "$ref": "#/definitions/app.Response"
  5342. }
  5343. }
  5344. }
  5345. }
  5346. },
  5347. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5348. "get": {
  5349. "security": [
  5350. {
  5351. "ApiKeyAuth": []
  5352. }
  5353. ],
  5354. "produces": [
  5355. "application/json"
  5356. ],
  5357. "tags": [
  5358. "企业风险管理v3(app)"
  5359. ],
  5360. "summary": "查询现货市价详情(现货市价/详情)",
  5361. "parameters": [
  5362. {
  5363. "type": "integer",
  5364. "description": "用户ID",
  5365. "name": "userid",
  5366. "in": "query",
  5367. "required": true
  5368. },
  5369. {
  5370. "type": "integer",
  5371. "description": "现货商品ID",
  5372. "name": "deliverygoodsid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "品牌ID",
  5379. "name": "brandid",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "品类ID",
  5385. "name": "wrstandardid",
  5386. "in": "query"
  5387. }
  5388. ],
  5389. "responses": {
  5390. "200": {
  5391. "description": "OK",
  5392. "schema": {
  5393. "type": "array",
  5394. "items": {
  5395. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5396. }
  5397. }
  5398. },
  5399. "500": {
  5400. "description": "Internal Server Error",
  5401. "schema": {
  5402. "$ref": "#/definitions/app.Response"
  5403. }
  5404. }
  5405. }
  5406. }
  5407. },
  5408. "/Ermcp3/QuerySubTaaccount": {
  5409. "get": {
  5410. "security": [
  5411. {
  5412. "ApiKeyAuth": []
  5413. }
  5414. ],
  5415. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5416. "produces": [
  5417. "application/json"
  5418. ],
  5419. "tags": [
  5420. "企业风险管理v3(app)"
  5421. ],
  5422. "summary": "查询期货子账户",
  5423. "parameters": [
  5424. {
  5425. "type": "integer",
  5426. "description": "母账号id",
  5427. "name": "parentaccountid",
  5428. "in": "query"
  5429. },
  5430. {
  5431. "type": "string",
  5432. "description": "母账号代码",
  5433. "name": "parentaccountcode",
  5434. "in": "query"
  5435. }
  5436. ],
  5437. "responses": {
  5438. "200": {
  5439. "description": "OK",
  5440. "schema": {
  5441. "type": "array",
  5442. "items": {
  5443. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5444. }
  5445. }
  5446. },
  5447. "500": {
  5448. "description": "Internal Server Error",
  5449. "schema": {
  5450. "$ref": "#/definitions/app.Response"
  5451. }
  5452. }
  5453. }
  5454. }
  5455. },
  5456. "/Erms2/QueryArbitrageStrategy": {
  5457. "get": {
  5458. "security": [
  5459. {
  5460. "ApiKeyAuth": []
  5461. }
  5462. ],
  5463. "produces": [
  5464. "application/json"
  5465. ],
  5466. "tags": [
  5467. "风险管理"
  5468. ],
  5469. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5470. "parameters": [
  5471. {
  5472. "type": "integer",
  5473. "description": "账户ID",
  5474. "name": "userid",
  5475. "in": "query",
  5476. "required": true
  5477. },
  5478. {
  5479. "type": "string",
  5480. "description": "商品组ID(品种ID)",
  5481. "name": "goodsgroupid",
  5482. "in": "query"
  5483. }
  5484. ],
  5485. "responses": {
  5486. "200": {
  5487. "description": "OK",
  5488. "schema": {
  5489. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5490. }
  5491. },
  5492. "500": {
  5493. "description": "Internal Server Error",
  5494. "schema": {
  5495. "$ref": "#/definitions/app.Response"
  5496. }
  5497. }
  5498. }
  5499. }
  5500. },
  5501. "/Erms2/QueryInnerTradeDetail": {
  5502. "get": {
  5503. "security": [
  5504. {
  5505. "ApiKeyAuth": []
  5506. }
  5507. ],
  5508. "produces": [
  5509. "application/json"
  5510. ],
  5511. "tags": [
  5512. "风险管理"
  5513. ],
  5514. "summary": "查询内部成交单信息",
  5515. "parameters": [
  5516. {
  5517. "type": "integer",
  5518. "description": "资金账户",
  5519. "name": "accountid",
  5520. "in": "query",
  5521. "required": true
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/Erms2/QuerySpotContract": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "风险管理"
  5552. ],
  5553. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5554. "parameters": [
  5555. {
  5556. "type": "integer",
  5557. "description": "策略申请ID",
  5558. "name": "asapplyid",
  5559. "in": "query",
  5560. "required": true
  5561. },
  5562. {
  5563. "type": "integer",
  5564. "description": "现货合同ID",
  5565. "name": "spotcontractid",
  5566. "in": "query"
  5567. }
  5568. ],
  5569. "responses": {
  5570. "200": {
  5571. "description": "OK",
  5572. "schema": {
  5573. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5574. }
  5575. },
  5576. "500": {
  5577. "description": "Internal Server Error",
  5578. "schema": {
  5579. "$ref": "#/definitions/app.Response"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/Erms3/AddErms2ASApply": {
  5586. "post": {
  5587. "security": [
  5588. {
  5589. "ApiKeyAuth": []
  5590. }
  5591. ],
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "风险管理v3"
  5597. ],
  5598. "summary": "新增期现套利业务申请",
  5599. "parameters": [
  5600. {
  5601. "description": "申请参数",
  5602. "name": "jsonBody",
  5603. "in": "body",
  5604. "required": true,
  5605. "schema": {
  5606. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5607. }
  5608. }
  5609. ],
  5610. "responses": {
  5611. "200": {
  5612. "description": "OK",
  5613. "schema": {
  5614. "$ref": "#/definitions/app.Response"
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/Erms3/AddErms2SpotTradeApply": {
  5627. "post": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "produces": [
  5634. "application/json"
  5635. ],
  5636. "tags": [
  5637. "风险管理v3"
  5638. ],
  5639. "summary": "新增现货贸易业务申请",
  5640. "parameters": [
  5641. {
  5642. "description": "申请参数",
  5643. "name": "jsonBody",
  5644. "in": "body",
  5645. "required": true,
  5646. "schema": {
  5647. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5648. }
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/app.Response"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/Erms3/AddSpotContractApply": {
  5668. "post": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "produces": [
  5675. "application/json"
  5676. ],
  5677. "tags": [
  5678. "风险管理v3"
  5679. ],
  5680. "summary": "新增现货合同申请",
  5681. "parameters": [
  5682. {
  5683. "description": "申请参数",
  5684. "name": "jsonBody",
  5685. "in": "body",
  5686. "required": true,
  5687. "schema": {
  5688. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5689. }
  5690. }
  5691. ],
  5692. "responses": {
  5693. "200": {
  5694. "description": "OK",
  5695. "schema": {
  5696. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5697. }
  5698. },
  5699. "500": {
  5700. "description": "Internal Server Error",
  5701. "schema": {
  5702. "$ref": "#/definitions/app.Response"
  5703. }
  5704. }
  5705. }
  5706. }
  5707. },
  5708. "/Erms3/AddUserInfoApply": {
  5709. "post": {
  5710. "security": [
  5711. {
  5712. "ApiKeyAuth": []
  5713. }
  5714. ],
  5715. "produces": [
  5716. "application/json"
  5717. ],
  5718. "tags": [
  5719. "风险管理v3"
  5720. ],
  5721. "summary": "新增客户申请",
  5722. "parameters": [
  5723. {
  5724. "description": "用户信息",
  5725. "name": "jsonBody",
  5726. "in": "body",
  5727. "required": true,
  5728. "schema": {
  5729. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5730. }
  5731. }
  5732. ],
  5733. "responses": {
  5734. "200": {
  5735. "description": "OK",
  5736. "schema": {
  5737. "$ref": "#/definitions/app.Response"
  5738. }
  5739. },
  5740. "500": {
  5741. "description": "Internal Server Error",
  5742. "schema": {
  5743. "$ref": "#/definitions/app.Response"
  5744. }
  5745. }
  5746. }
  5747. }
  5748. },
  5749. "/Erms3/DeleteUserInfoApply": {
  5750. "get": {
  5751. "security": [
  5752. {
  5753. "ApiKeyAuth": []
  5754. }
  5755. ],
  5756. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5757. "produces": [
  5758. "application/json"
  5759. ],
  5760. "tags": [
  5761. "风险管理v3"
  5762. ],
  5763. "summary": "删除客户申请",
  5764. "parameters": [
  5765. {
  5766. "type": "integer",
  5767. "description": "用户ID",
  5768. "name": "userID",
  5769. "in": "query",
  5770. "required": true
  5771. }
  5772. ],
  5773. "responses": {
  5774. "200": {
  5775. "description": "OK",
  5776. "schema": {
  5777. "$ref": "#/definitions/app.Response"
  5778. }
  5779. },
  5780. "500": {
  5781. "description": "Internal Server Error",
  5782. "schema": {
  5783. "$ref": "#/definitions/app.Response"
  5784. }
  5785. }
  5786. }
  5787. }
  5788. },
  5789. "/Erms3/ModifyUserInfoApply": {
  5790. "post": {
  5791. "security": [
  5792. {
  5793. "ApiKeyAuth": []
  5794. }
  5795. ],
  5796. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "风险管理v3"
  5802. ],
  5803. "summary": "修改客户申请",
  5804. "parameters": [
  5805. {
  5806. "description": "用户信息",
  5807. "name": "jsonBody",
  5808. "in": "body",
  5809. "required": true,
  5810. "schema": {
  5811. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5812. }
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/app.Response"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/Erms3/QueryBusinessInfo": {
  5832. "get": {
  5833. "security": [
  5834. {
  5835. "ApiKeyAuth": []
  5836. }
  5837. ],
  5838. "produces": [
  5839. "application/json"
  5840. ],
  5841. "tags": [
  5842. "风险管理v3"
  5843. ],
  5844. "summary": "查询业务表单数据",
  5845. "parameters": [
  5846. {
  5847. "type": "string",
  5848. "description": "资金账号ID列表,用逗号分隔",
  5849. "name": "accountids",
  5850. "in": "query",
  5851. "required": true
  5852. },
  5853. {
  5854. "type": "integer",
  5855. "description": "状态,0为未结束 1为已结束",
  5856. "name": "status",
  5857. "in": "query",
  5858. "required": true
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "type": "array",
  5866. "items": {
  5867. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5868. }
  5869. }
  5870. },
  5871. "500": {
  5872. "description": "Internal Server Error",
  5873. "schema": {
  5874. "$ref": "#/definitions/app.Response"
  5875. }
  5876. }
  5877. }
  5878. }
  5879. },
  5880. "/Erms3/QueryPendingAuditContract": {
  5881. "get": {
  5882. "security": [
  5883. {
  5884. "ApiKeyAuth": []
  5885. }
  5886. ],
  5887. "produces": [
  5888. "application/json"
  5889. ],
  5890. "tags": [
  5891. "风险管理v3"
  5892. ],
  5893. "summary": "查询待审核合同",
  5894. "parameters": [
  5895. {
  5896. "type": "string",
  5897. "description": "资金账号ID列表,逗号隔开",
  5898. "name": "accountids",
  5899. "in": "query",
  5900. "required": true
  5901. },
  5902. {
  5903. "type": "integer",
  5904. "description": "合同类型 1-采购 -1-销售",
  5905. "name": "contracttype",
  5906. "in": "query",
  5907. "required": true
  5908. },
  5909. {
  5910. "type": "integer",
  5911. "description": "合同模式 1-普通 2-回购",
  5912. "name": "contractmode",
  5913. "in": "query",
  5914. "required": true
  5915. }
  5916. ],
  5917. "responses": {
  5918. "200": {
  5919. "description": "OK",
  5920. "schema": {
  5921. "type": "array",
  5922. "items": {
  5923. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5924. }
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/Erms3/QueryPendingBusiness": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "风险管理v3"
  5948. ],
  5949. "summary": "查询待审核基差贸易业务",
  5950. "parameters": [
  5951. {
  5952. "type": "string",
  5953. "description": "资金账号ID列表,逗号隔开",
  5954. "name": "accountids",
  5955. "in": "query",
  5956. "required": true
  5957. }
  5958. ],
  5959. "responses": {
  5960. "200": {
  5961. "description": "OK",
  5962. "schema": {
  5963. "type": "array",
  5964. "items": {
  5965. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5966. }
  5967. }
  5968. },
  5969. "500": {
  5970. "description": "Internal Server Error",
  5971. "schema": {
  5972. "$ref": "#/definitions/app.Response"
  5973. }
  5974. }
  5975. }
  5976. }
  5977. },
  5978. "/Erms3/QuerySpotContractAppleForm": {
  5979. "get": {
  5980. "security": [
  5981. {
  5982. "ApiKeyAuth": []
  5983. }
  5984. ],
  5985. "produces": [
  5986. "application/json"
  5987. ],
  5988. "tags": [
  5989. "风险管理v3"
  5990. ],
  5991. "summary": "查询合同申请表单数据",
  5992. "parameters": [
  5993. {
  5994. "type": "integer",
  5995. "description": "登录账号",
  5996. "name": "loginID",
  5997. "in": "query",
  5998. "required": true
  5999. }
  6000. ],
  6001. "responses": {
  6002. "200": {
  6003. "description": "OK",
  6004. "schema": {
  6005. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6006. }
  6007. },
  6008. "500": {
  6009. "description": "Internal Server Error",
  6010. "schema": {
  6011. "$ref": "#/definitions/app.Response"
  6012. }
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "/Erms3/QuerySpotContractDetail": {
  6018. "get": {
  6019. "security": [
  6020. {
  6021. "ApiKeyAuth": []
  6022. }
  6023. ],
  6024. "produces": [
  6025. "application/json"
  6026. ],
  6027. "tags": [
  6028. "风险管理v3"
  6029. ],
  6030. "summary": "查询合同详细信息",
  6031. "parameters": [
  6032. {
  6033. "type": "string",
  6034. "description": "资金账号ID列表,用逗号分隔",
  6035. "name": "accountids",
  6036. "in": "query",
  6037. "required": true
  6038. },
  6039. {
  6040. "type": "integer",
  6041. "description": "合同类型,1为采购合同 -1为销售合同",
  6042. "name": "contracttype",
  6043. "in": "query",
  6044. "required": true
  6045. },
  6046. {
  6047. "type": "integer",
  6048. "description": "合同模式,1为普通合同 2为回购销售合同",
  6049. "name": "contractmode",
  6050. "in": "query",
  6051. "required": true
  6052. },
  6053. {
  6054. "type": "integer",
  6055. "description": "状态,0为履约中 1为已完成",
  6056. "name": "status",
  6057. "in": "query",
  6058. "required": true
  6059. }
  6060. ],
  6061. "responses": {
  6062. "200": {
  6063. "description": "OK",
  6064. "schema": {
  6065. "type": "array",
  6066. "items": {
  6067. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6068. }
  6069. }
  6070. },
  6071. "500": {
  6072. "description": "Internal Server Error",
  6073. "schema": {
  6074. "$ref": "#/definitions/app.Response"
  6075. }
  6076. }
  6077. }
  6078. }
  6079. },
  6080. "/Erms3/QueryUserInfoApplies": {
  6081. "get": {
  6082. "security": [
  6083. {
  6084. "ApiKeyAuth": []
  6085. }
  6086. ],
  6087. "produces": [
  6088. "application/json"
  6089. ],
  6090. "tags": [
  6091. "风险管理v3"
  6092. ],
  6093. "summary": "客户申请信息查询",
  6094. "parameters": [
  6095. {
  6096. "type": "integer",
  6097. "description": "页码",
  6098. "name": "page",
  6099. "in": "query"
  6100. },
  6101. {
  6102. "type": "integer",
  6103. "description": "每页条数",
  6104. "name": "pagesize",
  6105. "in": "query"
  6106. },
  6107. {
  6108. "type": "string",
  6109. "description": "客户名称,支持模糊查询",
  6110. "name": "userName",
  6111. "in": "query"
  6112. }
  6113. ],
  6114. "responses": {
  6115. "200": {
  6116. "description": "OK",
  6117. "schema": {
  6118. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6119. }
  6120. },
  6121. "500": {
  6122. "description": "Internal Server Error",
  6123. "schema": {
  6124. "$ref": "#/definitions/app.Response"
  6125. }
  6126. }
  6127. }
  6128. }
  6129. },
  6130. "/Erms3/QueryUserInfos": {
  6131. "get": {
  6132. "security": [
  6133. {
  6134. "ApiKeyAuth": []
  6135. }
  6136. ],
  6137. "produces": [
  6138. "application/json"
  6139. ],
  6140. "tags": [
  6141. "风险管理v3"
  6142. ],
  6143. "summary": "客户信息查询",
  6144. "parameters": [
  6145. {
  6146. "type": "integer",
  6147. "description": "页码",
  6148. "name": "page",
  6149. "in": "query"
  6150. },
  6151. {
  6152. "type": "integer",
  6153. "description": "每页条数",
  6154. "name": "pagesize",
  6155. "in": "query"
  6156. },
  6157. {
  6158. "type": "string",
  6159. "description": "客户名称,支持模糊查询",
  6160. "name": "userName",
  6161. "in": "query"
  6162. }
  6163. ],
  6164. "responses": {
  6165. "200": {
  6166. "description": "OK",
  6167. "schema": {
  6168. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6169. }
  6170. },
  6171. "500": {
  6172. "description": "Internal Server Error",
  6173. "schema": {
  6174. "$ref": "#/definitions/app.Response"
  6175. }
  6176. }
  6177. }
  6178. }
  6179. },
  6180. "/HSBY/GetHsbyMyCount": {
  6181. "get": {
  6182. "security": [
  6183. {
  6184. "ApiKeyAuth": []
  6185. }
  6186. ],
  6187. "description": "说明: 不包括已完成的数量。",
  6188. "produces": [
  6189. "application/json"
  6190. ],
  6191. "tags": [
  6192. "定制【海商报业】"
  6193. ],
  6194. "summary": "获取我的订单与包裹数量",
  6195. "parameters": [
  6196. {
  6197. "type": "string",
  6198. "description": "资金账户列表,格式:1,2,3",
  6199. "name": "accountIDs",
  6200. "in": "query",
  6201. "required": true
  6202. }
  6203. ],
  6204. "responses": {
  6205. "200": {
  6206. "description": "OK",
  6207. "schema": {
  6208. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6209. }
  6210. },
  6211. "500": {
  6212. "description": "Internal Server Error",
  6213. "schema": {
  6214. "$ref": "#/definitions/app.Response"
  6215. }
  6216. }
  6217. }
  6218. }
  6219. },
  6220. "/HSBY/QueryClientFixedADConfigs": {
  6221. "get": {
  6222. "security": [
  6223. {
  6224. "ApiKeyAuth": []
  6225. }
  6226. ],
  6227. "produces": [
  6228. "application/json"
  6229. ],
  6230. "tags": [
  6231. "定制【海商报业】"
  6232. ],
  6233. "summary": "获取终端固定广告配置",
  6234. "responses": {
  6235. "200": {
  6236. "description": "OK",
  6237. "schema": {
  6238. "$ref": "#/definitions/models.Clientfixedadconfig"
  6239. }
  6240. },
  6241. "500": {
  6242. "description": "Internal Server Error",
  6243. "schema": {
  6244. "$ref": "#/definitions/app.Response"
  6245. }
  6246. }
  6247. }
  6248. }
  6249. },
  6250. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6251. "get": {
  6252. "security": [
  6253. {
  6254. "ApiKeyAuth": []
  6255. }
  6256. ],
  6257. "produces": [
  6258. "application/json"
  6259. ],
  6260. "tags": [
  6261. "定制【海商报业】"
  6262. ],
  6263. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6264. "parameters": [
  6265. {
  6266. "type": "integer",
  6267. "description": "页码",
  6268. "name": "page",
  6269. "in": "query"
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "每页条数",
  6274. "name": "pagesize",
  6275. "in": "query"
  6276. },
  6277. {
  6278. "type": "string",
  6279. "description": "资金账户列表,格式:1,2,3",
  6280. "name": "accountIDs",
  6281. "in": "query",
  6282. "required": true
  6283. }
  6284. ],
  6285. "responses": {
  6286. "200": {
  6287. "description": "OK",
  6288. "schema": {
  6289. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6290. }
  6291. },
  6292. "500": {
  6293. "description": "Internal Server Error",
  6294. "schema": {
  6295. "$ref": "#/definitions/app.Response"
  6296. }
  6297. }
  6298. }
  6299. }
  6300. },
  6301. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6302. "get": {
  6303. "security": [
  6304. {
  6305. "ApiKeyAuth": []
  6306. }
  6307. ],
  6308. "description": "说明:查询结果已按委托价格和委托时间排序",
  6309. "produces": [
  6310. "application/json"
  6311. ],
  6312. "tags": [
  6313. "定制【海商报业】"
  6314. ],
  6315. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6316. "parameters": [
  6317. {
  6318. "type": "integer",
  6319. "description": "商品ID",
  6320. "name": "goodsID",
  6321. "in": "query",
  6322. "required": true
  6323. },
  6324. {
  6325. "type": "string",
  6326. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6327. "name": "accountIDs",
  6328. "in": "query"
  6329. },
  6330. {
  6331. "type": "integer",
  6332. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6333. "name": "buyOrSell",
  6334. "in": "query"
  6335. },
  6336. {
  6337. "type": "number",
  6338. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6339. "name": "price",
  6340. "in": "query"
  6341. },
  6342. {
  6343. "type": "integer",
  6344. "description": "档位,不传则默认为3档",
  6345. "name": "speed",
  6346. "in": "query"
  6347. }
  6348. ],
  6349. "responses": {
  6350. "200": {
  6351. "description": "OK",
  6352. "schema": {
  6353. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6354. }
  6355. },
  6356. "500": {
  6357. "description": "Internal Server Error",
  6358. "schema": {
  6359. "$ref": "#/definitions/app.Response"
  6360. }
  6361. }
  6362. }
  6363. }
  6364. },
  6365. "/HSBY/QueryHsbyListingGoodsDetail": {
  6366. "get": {
  6367. "security": [
  6368. {
  6369. "ApiKeyAuth": []
  6370. }
  6371. ],
  6372. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6373. "produces": [
  6374. "application/json"
  6375. ],
  6376. "tags": [
  6377. "定制【海商报业】"
  6378. ],
  6379. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6380. "parameters": [
  6381. {
  6382. "type": "integer",
  6383. "description": "商品ID",
  6384. "name": "goodsID",
  6385. "in": "query",
  6386. "required": true
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6391. "name": "accountID",
  6392. "in": "query"
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "定制【海商报业】"
  6423. ],
  6424. "summary": "查询三级市场(商城)商品信息详情",
  6425. "parameters": [
  6426. {
  6427. "type": "integer",
  6428. "description": "委托单号",
  6429. "name": "orderID",
  6430. "in": "query",
  6431. "required": true
  6432. },
  6433. {
  6434. "type": "integer",
  6435. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6436. "name": "accountID",
  6437. "in": "query"
  6438. }
  6439. ],
  6440. "responses": {
  6441. "200": {
  6442. "description": "OK",
  6443. "schema": {
  6444. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6445. }
  6446. },
  6447. "500": {
  6448. "description": "Internal Server Error",
  6449. "schema": {
  6450. "$ref": "#/definitions/app.Response"
  6451. }
  6452. }
  6453. }
  6454. }
  6455. },
  6456. "/HSBY/QueryHsbyMarketGoodses": {
  6457. "get": {
  6458. "security": [
  6459. {
  6460. "ApiKeyAuth": []
  6461. }
  6462. ],
  6463. "produces": [
  6464. "application/json"
  6465. ],
  6466. "tags": [
  6467. "定制【海商报业】"
  6468. ],
  6469. "summary": "查询特卖商品列表(三级商城)",
  6470. "parameters": [
  6471. {
  6472. "type": "integer",
  6473. "description": "页码",
  6474. "name": "page",
  6475. "in": "query"
  6476. },
  6477. {
  6478. "type": "integer",
  6479. "description": "每页条数",
  6480. "name": "pagesize",
  6481. "in": "query"
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "市场ID列表,格式:1,2,3",
  6486. "name": "marketIDs",
  6487. "in": "query",
  6488. "required": true
  6489. },
  6490. {
  6491. "type": "integer",
  6492. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6493. "name": "accountID",
  6494. "in": "query",
  6495. "required": true
  6496. },
  6497. {
  6498. "type": "integer",
  6499. "description": "类别ID",
  6500. "name": "categoryID",
  6501. "in": "query"
  6502. },
  6503. {
  6504. "type": "string",
  6505. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6506. "name": "goodsIDs",
  6507. "in": "query"
  6508. },
  6509. {
  6510. "type": "integer",
  6511. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6512. "name": "couponTypeID",
  6513. "in": "query"
  6514. }
  6515. ],
  6516. "responses": {
  6517. "200": {
  6518. "description": "OK",
  6519. "schema": {
  6520. "$ref": "#/definitions/models.HsbyMarketGoods"
  6521. }
  6522. },
  6523. "500": {
  6524. "description": "Internal Server Error",
  6525. "schema": {
  6526. "$ref": "#/definitions/app.Response"
  6527. }
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "/HSBY/QueryHsbyMarkets": {
  6533. "get": {
  6534. "security": [
  6535. {
  6536. "ApiKeyAuth": []
  6537. }
  6538. ],
  6539. "produces": [
  6540. "application/json"
  6541. ],
  6542. "tags": [
  6543. "定制【海商报业】"
  6544. ],
  6545. "summary": "查询海商报业相关市场信息",
  6546. "responses": {
  6547. "200": {
  6548. "description": "OK",
  6549. "schema": {
  6550. "$ref": "#/definitions/models.HsbyMarketInfo"
  6551. }
  6552. },
  6553. "500": {
  6554. "description": "Internal Server Error",
  6555. "schema": {
  6556. "$ref": "#/definitions/app.Response"
  6557. }
  6558. }
  6559. }
  6560. }
  6561. },
  6562. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6563. "get": {
  6564. "security": [
  6565. {
  6566. "ApiKeyAuth": []
  6567. }
  6568. ],
  6569. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6570. "produces": [
  6571. "application/json"
  6572. ],
  6573. "tags": [
  6574. "定制【海商报业】"
  6575. ],
  6576. "summary": "查询“我的订单”信息",
  6577. "parameters": [
  6578. {
  6579. "type": "string",
  6580. "description": "资金账户列表,格式:1,2,3",
  6581. "name": "accountIDs",
  6582. "in": "query",
  6583. "required": true
  6584. }
  6585. ],
  6586. "responses": {
  6587. "200": {
  6588. "description": "OK",
  6589. "schema": {
  6590. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6591. }
  6592. },
  6593. "500": {
  6594. "description": "Internal Server Error",
  6595. "schema": {
  6596. "$ref": "#/definitions/app.Response"
  6597. }
  6598. }
  6599. }
  6600. }
  6601. },
  6602. "/HSBY/QueryHsbyMyGoods": {
  6603. "get": {
  6604. "security": [
  6605. {
  6606. "ApiKeyAuth": []
  6607. }
  6608. ],
  6609. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6610. "produces": [
  6611. "application/json"
  6612. ],
  6613. "tags": [
  6614. "定制【海商报业】"
  6615. ],
  6616. "summary": "查询“我的商品”信息",
  6617. "parameters": [
  6618. {
  6619. "type": "string",
  6620. "description": "资金账户列表,格式:1,2,3",
  6621. "name": "accountIDs",
  6622. "in": "query",
  6623. "required": true
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/models.HsbyMyGoods"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/HSBY/QueryHsbyMyPackages": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "定制【海商报业】"
  6654. ],
  6655. "summary": "查询我的包裹信息",
  6656. "parameters": [
  6657. {
  6658. "type": "string",
  6659. "description": "资金账户列表,格式:1,2,3",
  6660. "name": "accountIDs",
  6661. "in": "query",
  6662. "required": true
  6663. },
  6664. {
  6665. "type": "integer",
  6666. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6667. "name": "takeOrderStatus",
  6668. "in": "query"
  6669. }
  6670. ],
  6671. "responses": {
  6672. "200": {
  6673. "description": "OK",
  6674. "schema": {
  6675. "$ref": "#/definitions/models.HsbyMyPackage"
  6676. }
  6677. },
  6678. "500": {
  6679. "description": "Internal Server Error",
  6680. "schema": {
  6681. "$ref": "#/definitions/app.Response"
  6682. }
  6683. }
  6684. }
  6685. }
  6686. },
  6687. "/HSBY/QueryHsbyPreGoodsDetail": {
  6688. "get": {
  6689. "security": [
  6690. {
  6691. "ApiKeyAuth": []
  6692. }
  6693. ],
  6694. "produces": [
  6695. "application/json"
  6696. ],
  6697. "tags": [
  6698. "定制【海商报业】"
  6699. ],
  6700. "summary": "查询一级市场(预售)商品信息详情",
  6701. "parameters": [
  6702. {
  6703. "type": "integer",
  6704. "description": "商品ID",
  6705. "name": "goodsID",
  6706. "in": "query",
  6707. "required": true
  6708. },
  6709. {
  6710. "type": "integer",
  6711. "description": "资金账户,主要用于获取预售商品购买上限",
  6712. "name": "accountID",
  6713. "in": "query"
  6714. }
  6715. ],
  6716. "responses": {
  6717. "200": {
  6718. "description": "OK",
  6719. "schema": {
  6720. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6721. }
  6722. },
  6723. "500": {
  6724. "description": "Internal Server Error",
  6725. "schema": {
  6726. "$ref": "#/definitions/app.Response"
  6727. }
  6728. }
  6729. }
  6730. }
  6731. },
  6732. "/HSBY/QueryHsbyPreGoodses": {
  6733. "get": {
  6734. "security": [
  6735. {
  6736. "ApiKeyAuth": []
  6737. }
  6738. ],
  6739. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6740. "produces": [
  6741. "application/json"
  6742. ],
  6743. "tags": [
  6744. "定制【海商报业】"
  6745. ],
  6746. "summary": "查询新品上市商品列表(一级市场预售)",
  6747. "parameters": [
  6748. {
  6749. "type": "integer",
  6750. "description": "页码",
  6751. "name": "page",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "每页条数",
  6757. "name": "pagesize",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "市场ID列表,格式:1,2,3",
  6763. "name": "marketIDs",
  6764. "in": "query",
  6765. "required": true
  6766. },
  6767. {
  6768. "type": "integer",
  6769. "description": "目的地(省)ID",
  6770. "name": "descProvinceID",
  6771. "in": "query"
  6772. },
  6773. {
  6774. "type": "integer",
  6775. "description": "目的地(市)ID",
  6776. "name": "descCityID",
  6777. "in": "query"
  6778. }
  6779. ],
  6780. "responses": {
  6781. "200": {
  6782. "description": "OK",
  6783. "schema": {
  6784. "$ref": "#/definitions/models.HsbyPreGoods"
  6785. }
  6786. },
  6787. "500": {
  6788. "description": "Internal Server Error",
  6789. "schema": {
  6790. "$ref": "#/definitions/app.Response"
  6791. }
  6792. }
  6793. }
  6794. }
  6795. },
  6796. "/HSBY/QueryHsbySellMyDetails": {
  6797. "get": {
  6798. "security": [
  6799. {
  6800. "ApiKeyAuth": []
  6801. }
  6802. ],
  6803. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6804. "produces": [
  6805. "application/json"
  6806. ],
  6807. "tags": [
  6808. "定制【海商报业】"
  6809. ],
  6810. "summary": "查询\"我的闲置\"单据信息",
  6811. "parameters": [
  6812. {
  6813. "type": "integer",
  6814. "description": "页码",
  6815. "name": "page",
  6816. "in": "query"
  6817. },
  6818. {
  6819. "type": "integer",
  6820. "description": "每页条数",
  6821. "name": "pagesize",
  6822. "in": "query"
  6823. },
  6824. {
  6825. "type": "string",
  6826. "description": "资金账户列表,格式:1,2,3",
  6827. "name": "accountIDs",
  6828. "in": "query",
  6829. "required": true
  6830. },
  6831. {
  6832. "type": "integer",
  6833. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6834. "name": "orderType",
  6835. "in": "query"
  6836. }
  6837. ],
  6838. "responses": {
  6839. "200": {
  6840. "description": "OK",
  6841. "schema": {
  6842. "$ref": "#/definitions/models.HsbySellMyDetail"
  6843. }
  6844. },
  6845. "500": {
  6846. "description": "Internal Server Error",
  6847. "schema": {
  6848. "$ref": "#/definitions/app.Response"
  6849. }
  6850. }
  6851. }
  6852. }
  6853. },
  6854. "/HSBY/QueryHsbyTopGoodses": {
  6855. "get": {
  6856. "security": [
  6857. {
  6858. "ApiKeyAuth": []
  6859. }
  6860. ],
  6861. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6862. "produces": [
  6863. "application/json"
  6864. ],
  6865. "tags": [
  6866. "定制【海商报业】"
  6867. ],
  6868. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6869. "parameters": [
  6870. {
  6871. "type": "integer",
  6872. "description": "页码",
  6873. "name": "page",
  6874. "in": "query"
  6875. },
  6876. {
  6877. "type": "integer",
  6878. "description": "每页条数",
  6879. "name": "pagesize",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "string",
  6884. "description": "市场ID列表,格式:1,2,3",
  6885. "name": "marketIDs",
  6886. "in": "query",
  6887. "required": true
  6888. },
  6889. {
  6890. "type": "integer",
  6891. "description": "目的地(省)ID",
  6892. "name": "descProvinceID",
  6893. "in": "query"
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "目的地(市)ID",
  6898. "name": "descCityID",
  6899. "in": "query"
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/models.HsbyTopGoods"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6919. "get": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6926. "produces": [
  6927. "application/json"
  6928. ],
  6929. "tags": [
  6930. "定制【海商报业】"
  6931. ],
  6932. "summary": "查询游客三级市场(商城)商品信息详情",
  6933. "parameters": [
  6934. {
  6935. "type": "integer",
  6936. "description": "商品ID",
  6937. "name": "goodsID",
  6938. "in": "query",
  6939. "required": true
  6940. }
  6941. ],
  6942. "responses": {
  6943. "200": {
  6944. "description": "OK",
  6945. "schema": {
  6946. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6947. }
  6948. },
  6949. "500": {
  6950. "description": "Internal Server Error",
  6951. "schema": {
  6952. "$ref": "#/definitions/app.Response"
  6953. }
  6954. }
  6955. }
  6956. }
  6957. },
  6958. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6959. "get": {
  6960. "security": [
  6961. {
  6962. "ApiKeyAuth": []
  6963. }
  6964. ],
  6965. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6966. "produces": [
  6967. "application/json"
  6968. ],
  6969. "tags": [
  6970. "定制【海商报业】"
  6971. ],
  6972. "summary": "查询游客特卖商品列表(三级商城)",
  6973. "parameters": [
  6974. {
  6975. "type": "integer",
  6976. "description": "页码",
  6977. "name": "page",
  6978. "in": "query"
  6979. },
  6980. {
  6981. "type": "integer",
  6982. "description": "每页条数",
  6983. "name": "pagesize",
  6984. "in": "query"
  6985. },
  6986. {
  6987. "type": "string",
  6988. "description": "市场ID列表,格式:1,2,3",
  6989. "name": "marketIDs",
  6990. "in": "query",
  6991. "required": true
  6992. },
  6993. {
  6994. "type": "integer",
  6995. "description": "类别ID",
  6996. "name": "categoryID",
  6997. "in": "query"
  6998. },
  6999. {
  7000. "type": "string",
  7001. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7002. "name": "goodsIDs",
  7003. "in": "query"
  7004. }
  7005. ],
  7006. "responses": {
  7007. "200": {
  7008. "description": "OK",
  7009. "schema": {
  7010. "$ref": "#/definitions/models.HsbyMarketGoods"
  7011. }
  7012. },
  7013. "500": {
  7014. "description": "Internal Server Error",
  7015. "schema": {
  7016. "$ref": "#/definitions/app.Response"
  7017. }
  7018. }
  7019. }
  7020. }
  7021. },
  7022. "/HSBY/QueryMyCollectionOrders": {
  7023. "get": {
  7024. "security": [
  7025. {
  7026. "ApiKeyAuth": []
  7027. }
  7028. ],
  7029. "produces": [
  7030. "application/json"
  7031. ],
  7032. "tags": [
  7033. "定制【海商报业】"
  7034. ],
  7035. "summary": "我的闲置中收款信息查询",
  7036. "parameters": [
  7037. {
  7038. "type": "integer",
  7039. "description": "页码",
  7040. "name": "page",
  7041. "in": "query"
  7042. },
  7043. {
  7044. "type": "integer",
  7045. "description": "每页条数",
  7046. "name": "pagesize",
  7047. "in": "query"
  7048. },
  7049. {
  7050. "type": "string",
  7051. "description": "资金账户,格式:1,2,3",
  7052. "name": "accountIDs",
  7053. "in": "query",
  7054. "required": true
  7055. }
  7056. ],
  7057. "responses": {
  7058. "200": {
  7059. "description": "OK",
  7060. "schema": {
  7061. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7062. }
  7063. },
  7064. "500": {
  7065. "description": "Internal Server Error",
  7066. "schema": {
  7067. "$ref": "#/definitions/app.Response"
  7068. }
  7069. }
  7070. }
  7071. }
  7072. },
  7073. "/HSBY/QueryMyCouponHolds": {
  7074. "get": {
  7075. "security": [
  7076. {
  7077. "ApiKeyAuth": []
  7078. }
  7079. ],
  7080. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7081. "produces": [
  7082. "application/json"
  7083. ],
  7084. "tags": [
  7085. "定制【海商报业】"
  7086. ],
  7087. "summary": "我的优惠卷持仓查询",
  7088. "parameters": [
  7089. {
  7090. "type": "string",
  7091. "description": "资金账户列表,格式:1,2,3",
  7092. "name": "accountIDs",
  7093. "in": "query",
  7094. "required": true
  7095. },
  7096. {
  7097. "type": "string",
  7098. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7099. "name": "holdStatus",
  7100. "in": "query"
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/models.MyCouponHold"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/HSBY/QueryMyCoupons": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "produces": [
  7127. "application/json"
  7128. ],
  7129. "tags": [
  7130. "定制【海商报业】"
  7131. ],
  7132. "summary": "我的优惠卷查询",
  7133. "parameters": [
  7134. {
  7135. "type": "string",
  7136. "description": "资金账户列表,格式:1,2,3",
  7137. "name": "accountIDs",
  7138. "in": "query",
  7139. "required": true
  7140. },
  7141. {
  7142. "type": "integer",
  7143. "description": "商品ID, 一般与sellUserID配套传入",
  7144. "name": "goodsID",
  7145. "in": "query"
  7146. },
  7147. {
  7148. "type": "integer",
  7149. "description": "卖方UserID",
  7150. "name": "sellUserID",
  7151. "in": "query"
  7152. }
  7153. ],
  7154. "responses": {
  7155. "200": {
  7156. "description": "OK",
  7157. "schema": {
  7158. "$ref": "#/definitions/models.MyCoupon"
  7159. }
  7160. },
  7161. "500": {
  7162. "description": "Internal Server Error",
  7163. "schema": {
  7164. "$ref": "#/definitions/app.Response"
  7165. }
  7166. }
  7167. }
  7168. }
  7169. },
  7170. "/HSBY/QueryMyPayOrders": {
  7171. "get": {
  7172. "security": [
  7173. {
  7174. "ApiKeyAuth": []
  7175. }
  7176. ],
  7177. "produces": [
  7178. "application/json"
  7179. ],
  7180. "tags": [
  7181. "定制【海商报业】"
  7182. ],
  7183. "summary": "获取我的订单中待付款信息",
  7184. "parameters": [
  7185. {
  7186. "type": "integer",
  7187. "description": "页码",
  7188. "name": "page",
  7189. "in": "query"
  7190. },
  7191. {
  7192. "type": "integer",
  7193. "description": "每页条数",
  7194. "name": "pagesize",
  7195. "in": "query"
  7196. },
  7197. {
  7198. "type": "string",
  7199. "description": "资金账户列表,格式:1,2,3",
  7200. "name": "accountIDs",
  7201. "in": "query",
  7202. "required": true
  7203. },
  7204. {
  7205. "type": "integer",
  7206. "description": "买方委托单号",
  7207. "name": "buyOrderID",
  7208. "in": "query"
  7209. },
  7210. {
  7211. "type": "integer",
  7212. "description": "卖方委托单号",
  7213. "name": "sellOrderID",
  7214. "in": "query"
  7215. }
  7216. ],
  7217. "responses": {
  7218. "200": {
  7219. "description": "OK",
  7220. "schema": {
  7221. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7222. }
  7223. },
  7224. "500": {
  7225. "description": "Internal Server Error",
  7226. "schema": {
  7227. "$ref": "#/definitions/app.Response"
  7228. }
  7229. }
  7230. }
  7231. }
  7232. },
  7233. "/HSBY/QueryMyUsedCoupon": {
  7234. "get": {
  7235. "security": [
  7236. {
  7237. "ApiKeyAuth": []
  7238. }
  7239. ],
  7240. "produces": [
  7241. "application/json"
  7242. ],
  7243. "tags": [
  7244. "定制【海商报业】"
  7245. ],
  7246. "summary": "已使用优惠卷查询",
  7247. "parameters": [
  7248. {
  7249. "type": "string",
  7250. "description": "资金账户列表,格式:1,2,3",
  7251. "name": "accountIDs",
  7252. "in": "query",
  7253. "required": true
  7254. }
  7255. ],
  7256. "responses": {
  7257. "200": {
  7258. "description": "OK",
  7259. "schema": {
  7260. "$ref": "#/definitions/models.MyUsedCoupon"
  7261. }
  7262. },
  7263. "500": {
  7264. "description": "Internal Server Error",
  7265. "schema": {
  7266. "$ref": "#/definitions/app.Response"
  7267. }
  7268. }
  7269. }
  7270. }
  7271. },
  7272. "/HSBY/QueryProvincesAndCities": {
  7273. "get": {
  7274. "security": [
  7275. {
  7276. "ApiKeyAuth": []
  7277. }
  7278. ],
  7279. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7280. "produces": [
  7281. "application/json"
  7282. ],
  7283. "tags": [
  7284. "定制【海商报业】"
  7285. ],
  7286. "summary": "查询省市信息(不包括区)",
  7287. "parameters": [
  7288. {
  7289. "type": "integer",
  7290. "description": "省ID",
  7291. "name": "provinceID",
  7292. "in": "query"
  7293. }
  7294. ],
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7300. }
  7301. },
  7302. "500": {
  7303. "description": "Internal Server Error",
  7304. "schema": {
  7305. "$ref": "#/definitions/app.Response"
  7306. }
  7307. }
  7308. }
  7309. }
  7310. },
  7311. "/HSBY/SetHsbyMyPackagesStatus": {
  7312. "post": {
  7313. "security": [
  7314. {
  7315. "ApiKeyAuth": []
  7316. }
  7317. ],
  7318. "produces": [
  7319. "application/json"
  7320. ],
  7321. "tags": [
  7322. "定制【海商报业】"
  7323. ],
  7324. "summary": "设置我的包裹已收货状态",
  7325. "parameters": [
  7326. {
  7327. "type": "string",
  7328. "description": "提货单号",
  7329. "name": "takeOrderID",
  7330. "in": "query",
  7331. "required": true
  7332. },
  7333. {
  7334. "type": "integer",
  7335. "description": "资金账号",
  7336. "name": "accountID",
  7337. "in": "query",
  7338. "required": true
  7339. }
  7340. ],
  7341. "responses": {
  7342. "200": {
  7343. "description": "OK",
  7344. "schema": {
  7345. "$ref": "#/definitions/app.Response"
  7346. }
  7347. },
  7348. "500": {
  7349. "description": "Internal Server Error",
  7350. "schema": {
  7351. "$ref": "#/definitions/app.Response"
  7352. }
  7353. }
  7354. }
  7355. }
  7356. },
  7357. "/Market/GetAllExExchanges": {
  7358. "get": {
  7359. "security": [
  7360. {
  7361. "ApiKeyAuth": []
  7362. }
  7363. ],
  7364. "produces": [
  7365. "application/json"
  7366. ],
  7367. "tags": [
  7368. "通用市场"
  7369. ],
  7370. "summary": "获取所有外部交易所信息",
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/models.Goods"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Market/QueryGoodsesByLoginID": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "通用市场"
  7399. ],
  7400. "summary": "获取登录账号有权限的商品信息",
  7401. "parameters": [
  7402. {
  7403. "type": "integer",
  7404. "description": "登录账号",
  7405. "name": "loginID",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "string",
  7411. "description": "市场ID列表,格式:1,2,3",
  7412. "name": "marketIDs",
  7413. "in": "query"
  7414. }
  7415. ],
  7416. "responses": {
  7417. "200": {
  7418. "description": "OK",
  7419. "schema": {
  7420. "$ref": "#/definitions/models.Goods"
  7421. }
  7422. },
  7423. "500": {
  7424. "description": "Internal Server Error",
  7425. "schema": {
  7426. "$ref": "#/definitions/app.Response"
  7427. }
  7428. }
  7429. }
  7430. }
  7431. },
  7432. "/Market/QueryMarketRun": {
  7433. "get": {
  7434. "security": [
  7435. {
  7436. "ApiKeyAuth": []
  7437. }
  7438. ],
  7439. "produces": [
  7440. "application/json"
  7441. ],
  7442. "tags": [
  7443. "通用市场"
  7444. ],
  7445. "summary": "查询市场运行信息",
  7446. "parameters": [
  7447. {
  7448. "type": "integer",
  7449. "description": "市场ID,不传返回所有",
  7450. "name": "marketID",
  7451. "in": "query"
  7452. }
  7453. ],
  7454. "responses": {
  7455. "200": {
  7456. "description": "OK",
  7457. "schema": {
  7458. "$ref": "#/definitions/models.Marketrun"
  7459. }
  7460. },
  7461. "500": {
  7462. "description": "Internal Server Error",
  7463. "schema": {
  7464. "$ref": "#/definitions/app.Response"
  7465. }
  7466. }
  7467. }
  7468. }
  7469. },
  7470. "/Market/QueryMarketsByLoginID": {
  7471. "get": {
  7472. "security": [
  7473. {
  7474. "ApiKeyAuth": []
  7475. }
  7476. ],
  7477. "produces": [
  7478. "application/json"
  7479. ],
  7480. "tags": [
  7481. "通用市场"
  7482. ],
  7483. "summary": "获取登录账号有权限的市场信息",
  7484. "parameters": [
  7485. {
  7486. "type": "integer",
  7487. "description": "登录账号",
  7488. "name": "loginID",
  7489. "in": "query",
  7490. "required": true
  7491. }
  7492. ],
  7493. "responses": {
  7494. "200": {
  7495. "description": "OK",
  7496. "schema": {
  7497. "$ref": "#/definitions/models.Market"
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/Order/QueryHisTradeDetail": {
  7510. "get": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "通用单据"
  7521. ],
  7522. "summary": "历史成交单查询(合约市场)",
  7523. "parameters": [
  7524. {
  7525. "type": "string",
  7526. "description": "资金账户 - 格式:1,2,3",
  7527. "name": "accountID",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "成交单号",
  7534. "name": "tradeID",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "integer",
  7539. "description": "委托单号",
  7540. "name": "orderID",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "integer",
  7545. "description": "商品ID",
  7546. "name": "goodsID",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "string",
  7551. "description": "交易模式 - 格式:1,2,3",
  7552. "name": "tradeMode",
  7553. "in": "query"
  7554. },
  7555. {
  7556. "type": "integer",
  7557. "description": "委托单据类型",
  7558. "name": "buildType",
  7559. "in": "query"
  7560. },
  7561. {
  7562. "type": "string",
  7563. "description": "成交类别 - 格式:1,2,3",
  7564. "name": "tradeType",
  7565. "in": "query"
  7566. },
  7567. {
  7568. "type": "string",
  7569. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7570. "name": "startDate",
  7571. "in": "query"
  7572. },
  7573. {
  7574. "type": "string",
  7575. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7576. "name": "endDate",
  7577. "in": "query"
  7578. }
  7579. ],
  7580. "responses": {
  7581. "200": {
  7582. "description": "OK",
  7583. "schema": {
  7584. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7585. }
  7586. },
  7587. "500": {
  7588. "description": "Internal Server Error",
  7589. "schema": {
  7590. "$ref": "#/definitions/app.Response"
  7591. }
  7592. }
  7593. }
  7594. }
  7595. },
  7596. "/Order/QueryHisTradeOrderDetail": {
  7597. "get": {
  7598. "security": [
  7599. {
  7600. "ApiKeyAuth": []
  7601. }
  7602. ],
  7603. "produces": [
  7604. "application/json"
  7605. ],
  7606. "tags": [
  7607. "通用单据"
  7608. ],
  7609. "summary": "历史委托单查询请求(合约市场)",
  7610. "parameters": [
  7611. {
  7612. "type": "string",
  7613. "description": "资金账户 - 格式:1,2,3",
  7614. "name": "accountID",
  7615. "in": "query",
  7616. "required": true
  7617. },
  7618. {
  7619. "type": "string",
  7620. "description": "交易模式 - 格式:1,2,3",
  7621. "name": "tradeMode",
  7622. "in": "query"
  7623. },
  7624. {
  7625. "type": "string",
  7626. "description": "委托状态 - 格式:1,2,3",
  7627. "name": "orderStatus",
  7628. "in": "query"
  7629. },
  7630. {
  7631. "type": "integer",
  7632. "description": "委托单号",
  7633. "name": "orderID",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "string",
  7638. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7639. "name": "startDate",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "string",
  7644. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7645. "name": "endDate",
  7646. "in": "query"
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/Order/QueryTradeDetail": {
  7666. "get": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. }
  7671. ],
  7672. "produces": [
  7673. "application/json"
  7674. ],
  7675. "tags": [
  7676. "通用单据"
  7677. ],
  7678. "summary": "成交单查询(合约市场)",
  7679. "parameters": [
  7680. {
  7681. "type": "string",
  7682. "description": "资金账户 - 格式:1,2,3",
  7683. "name": "accountID",
  7684. "in": "query",
  7685. "required": true
  7686. },
  7687. {
  7688. "type": "integer",
  7689. "description": "成交单号",
  7690. "name": "tradeID",
  7691. "in": "query"
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "委托单号",
  7696. "name": "orderID",
  7697. "in": "query"
  7698. },
  7699. {
  7700. "type": "string",
  7701. "description": "交易模式 - 格式:1,2,3",
  7702. "name": "tradeMode",
  7703. "in": "query"
  7704. },
  7705. {
  7706. "type": "integer",
  7707. "description": "委托单据类型",
  7708. "name": "buildType",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "string",
  7713. "description": "成交类别 - 格式:1,2,3",
  7714. "name": "tradeType",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "integer",
  7719. "description": "商品ID",
  7720. "name": "goodsID",
  7721. "in": "query"
  7722. }
  7723. ],
  7724. "responses": {
  7725. "200": {
  7726. "description": "OK",
  7727. "schema": {
  7728. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7729. }
  7730. },
  7731. "500": {
  7732. "description": "Internal Server Error",
  7733. "schema": {
  7734. "$ref": "#/definitions/app.Response"
  7735. }
  7736. }
  7737. }
  7738. }
  7739. },
  7740. "/Order/QueryTradeHolderDetail": {
  7741. "get": {
  7742. "security": [
  7743. {
  7744. "ApiKeyAuth": []
  7745. }
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "通用单据"
  7752. ],
  7753. "summary": "查询持仓明细",
  7754. "parameters": [
  7755. {
  7756. "type": "integer",
  7757. "description": "用户id",
  7758. "name": "userid",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "string",
  7763. "description": "资金账号, 格式 1,2,3",
  7764. "name": "accids",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "string",
  7769. "description": "交易模式, 格式 1,2,3",
  7770. "name": "trademodes",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "string",
  7775. "description": "市场id, 格式 1,2,3",
  7776. "name": "marketids",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "integer",
  7781. "description": "商品id",
  7782. "name": "goodsid",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "integer",
  7787. "description": "买卖方向 0-买 1-卖",
  7788. "name": "buyorsell",
  7789. "in": "query"
  7790. }
  7791. ],
  7792. "responses": {
  7793. "200": {
  7794. "description": "OK",
  7795. "schema": {
  7796. "type": "array",
  7797. "items": {
  7798. "$ref": "#/definitions/models.TradeHolderDetail"
  7799. }
  7800. }
  7801. },
  7802. "500": {
  7803. "description": "Internal Server Error",
  7804. "schema": {
  7805. "$ref": "#/definitions/app.Response"
  7806. }
  7807. }
  7808. }
  7809. }
  7810. },
  7811. "/Order/QueryTradeOrderDetail": {
  7812. "get": {
  7813. "security": [
  7814. {
  7815. "ApiKeyAuth": []
  7816. }
  7817. ],
  7818. "produces": [
  7819. "application/json"
  7820. ],
  7821. "tags": [
  7822. "通用单据"
  7823. ],
  7824. "summary": "委托单查询请求(合约市场)",
  7825. "parameters": [
  7826. {
  7827. "type": "string",
  7828. "description": "资金账户 - 格式:1,2,3",
  7829. "name": "accountID",
  7830. "in": "query",
  7831. "required": true
  7832. },
  7833. {
  7834. "type": "string",
  7835. "description": "交易模式 - 格式:1,2,3",
  7836. "name": "tradeMode",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "委托状态 - 格式:1,2,3",
  7842. "name": "orderStatus",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "委托单号",
  7848. "name": "orderID",
  7849. "in": "query"
  7850. }
  7851. ],
  7852. "responses": {
  7853. "200": {
  7854. "description": "OK",
  7855. "schema": {
  7856. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7857. }
  7858. },
  7859. "500": {
  7860. "description": "Internal Server Error",
  7861. "schema": {
  7862. "$ref": "#/definitions/app.Response"
  7863. }
  7864. }
  7865. }
  7866. }
  7867. },
  7868. "/Order/QueryTradePosition": {
  7869. "get": {
  7870. "security": [
  7871. {
  7872. "ApiKeyAuth": []
  7873. }
  7874. ],
  7875. "produces": [
  7876. "application/json"
  7877. ],
  7878. "tags": [
  7879. "通用单据"
  7880. ],
  7881. "summary": "持仓汇总查询(合约市场)",
  7882. "parameters": [
  7883. {
  7884. "type": "string",
  7885. "description": "资金账户 - 格式:1,2,3",
  7886. "name": "accountID",
  7887. "in": "query",
  7888. "required": true
  7889. },
  7890. {
  7891. "type": "string",
  7892. "description": "交易模式 - 格式:1,2,3",
  7893. "name": "tradeMode",
  7894. "in": "query"
  7895. }
  7896. ],
  7897. "responses": {
  7898. "200": {
  7899. "description": "OK",
  7900. "schema": {
  7901. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7902. }
  7903. },
  7904. "500": {
  7905. "description": "Internal Server Error",
  7906. "schema": {
  7907. "$ref": "#/definitions/app.Response"
  7908. }
  7909. }
  7910. }
  7911. }
  7912. },
  7913. "/Qhj/QueryAccountInOutApply": {
  7914. "get": {
  7915. "security": [
  7916. {
  7917. "ApiKeyAuth": []
  7918. }
  7919. ],
  7920. "produces": [
  7921. "application/json"
  7922. ],
  7923. "tags": [
  7924. "大连千海金"
  7925. ],
  7926. "summary": "查询充值提现",
  7927. "parameters": [
  7928. {
  7929. "type": "integer",
  7930. "description": "用户ID",
  7931. "name": "userid",
  7932. "in": "query",
  7933. "required": true
  7934. },
  7935. {
  7936. "type": "string",
  7937. "description": "申请起始日期(格式yyyymmdd)",
  7938. "name": "begindate",
  7939. "in": "query"
  7940. },
  7941. {
  7942. "type": "string",
  7943. "description": "申请截止日期(格式yyyymmdd)",
  7944. "name": "enddate",
  7945. "in": "query"
  7946. },
  7947. {
  7948. "type": "string",
  7949. "description": "模糊搜索名称",
  7950. "name": "likename",
  7951. "in": "query"
  7952. }
  7953. ],
  7954. "responses": {
  7955. "200": {
  7956. "description": "OK",
  7957. "schema": {
  7958. "type": "array",
  7959. "items": {
  7960. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7961. }
  7962. }
  7963. },
  7964. "500": {
  7965. "description": "Internal Server Error",
  7966. "schema": {
  7967. "$ref": "#/definitions/app.Response"
  7968. }
  7969. }
  7970. }
  7971. }
  7972. },
  7973. "/Qhj/QueryAreaFinanceConfig": {
  7974. "get": {
  7975. "security": [
  7976. {
  7977. "ApiKeyAuth": []
  7978. }
  7979. ],
  7980. "produces": [
  7981. "application/json"
  7982. ],
  7983. "tags": [
  7984. "大连千海金"
  7985. ],
  7986. "summary": "查询企业配置表",
  7987. "parameters": [
  7988. {
  7989. "type": "integer",
  7990. "description": "机构用户ID 其他做市关系,都设置为 1",
  7991. "name": "userid",
  7992. "in": "query"
  7993. }
  7994. ],
  7995. "responses": {
  7996. "200": {
  7997. "description": "OK",
  7998. "schema": {
  7999. "type": "array",
  8000. "items": {
  8001. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8002. }
  8003. }
  8004. },
  8005. "500": {
  8006. "description": "Internal Server Error",
  8007. "schema": {
  8008. "$ref": "#/definitions/app.Response"
  8009. }
  8010. }
  8011. }
  8012. }
  8013. },
  8014. "/Qhj/QueryBankAccountSign": {
  8015. "get": {
  8016. "security": [
  8017. {
  8018. "ApiKeyAuth": []
  8019. }
  8020. ],
  8021. "produces": [
  8022. "application/json"
  8023. ],
  8024. "tags": [
  8025. "大连千海金"
  8026. ],
  8027. "summary": "查询签约银行信息(提现账户管理)",
  8028. "parameters": [
  8029. {
  8030. "type": "integer",
  8031. "description": "用户ID",
  8032. "name": "userid",
  8033. "in": "query",
  8034. "required": true
  8035. }
  8036. ],
  8037. "responses": {
  8038. "200": {
  8039. "description": "OK",
  8040. "schema": {
  8041. "type": "array",
  8042. "items": {
  8043. "$ref": "#/definitions/models.QhjBankAccountSign"
  8044. }
  8045. }
  8046. },
  8047. "500": {
  8048. "description": "Internal Server Error",
  8049. "schema": {
  8050. "$ref": "#/definitions/app.Response"
  8051. }
  8052. }
  8053. }
  8054. }
  8055. },
  8056. "/Qhj/QueryBankInfo": {
  8057. "get": {
  8058. "security": [
  8059. {
  8060. "ApiKeyAuth": []
  8061. }
  8062. ],
  8063. "produces": [
  8064. "application/json"
  8065. ],
  8066. "tags": [
  8067. "大连千海金"
  8068. ],
  8069. "summary": "查询开户行",
  8070. "responses": {
  8071. "200": {
  8072. "description": "OK",
  8073. "schema": {
  8074. "type": "array",
  8075. "items": {
  8076. "$ref": "#/definitions/models.QhjBankInfo"
  8077. }
  8078. }
  8079. },
  8080. "500": {
  8081. "description": "Internal Server Error",
  8082. "schema": {
  8083. "$ref": "#/definitions/app.Response"
  8084. }
  8085. }
  8086. }
  8087. }
  8088. },
  8089. "/Qhj/QueryBrokerApply": {
  8090. "get": {
  8091. "security": [
  8092. {
  8093. "ApiKeyAuth": []
  8094. }
  8095. ],
  8096. "produces": [
  8097. "application/json"
  8098. ],
  8099. "tags": [
  8100. "大连千海金"
  8101. ],
  8102. "summary": "查询经纪人申请",
  8103. "parameters": [
  8104. {
  8105. "type": "integer",
  8106. "description": "所属机构ID",
  8107. "name": "userid",
  8108. "in": "query"
  8109. },
  8110. {
  8111. "type": "string",
  8112. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8113. "name": "filterstatus",
  8114. "in": "query"
  8115. }
  8116. ],
  8117. "responses": {
  8118. "200": {
  8119. "description": "OK",
  8120. "schema": {
  8121. "type": "array",
  8122. "items": {
  8123. "$ref": "#/definitions/models.QhjBrokerApply"
  8124. }
  8125. }
  8126. },
  8127. "500": {
  8128. "description": "Internal Server Error",
  8129. "schema": {
  8130. "$ref": "#/definitions/app.Response"
  8131. }
  8132. }
  8133. }
  8134. }
  8135. },
  8136. "/Qhj/QueryBrokerApplyEx": {
  8137. "get": {
  8138. "security": [
  8139. {
  8140. "ApiKeyAuth": []
  8141. }
  8142. ],
  8143. "produces": [
  8144. "application/json"
  8145. ],
  8146. "tags": [
  8147. "大连千海金"
  8148. ],
  8149. "summary": "查询经纪人信息和申请记录",
  8150. "parameters": [
  8151. {
  8152. "type": "integer",
  8153. "description": "所属机构ID",
  8154. "name": "userid",
  8155. "in": "query"
  8156. }
  8157. ],
  8158. "responses": {
  8159. "200": {
  8160. "description": "OK",
  8161. "schema": {
  8162. "type": "array",
  8163. "items": {
  8164. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8165. }
  8166. }
  8167. },
  8168. "500": {
  8169. "description": "Internal Server Error",
  8170. "schema": {
  8171. "$ref": "#/definitions/app.Response"
  8172. }
  8173. }
  8174. }
  8175. }
  8176. },
  8177. "/Qhj/QueryBrokerRewardLog": {
  8178. "get": {
  8179. "security": [
  8180. {
  8181. "ApiKeyAuth": []
  8182. }
  8183. ],
  8184. "produces": [
  8185. "application/json"
  8186. ],
  8187. "tags": [
  8188. "大连千海金"
  8189. ],
  8190. "summary": "查询奖励流水(我的奖励)",
  8191. "parameters": [
  8192. {
  8193. "type": "integer",
  8194. "description": "用户ID",
  8195. "name": "userid",
  8196. "in": "query",
  8197. "required": true
  8198. },
  8199. {
  8200. "type": "string",
  8201. "description": "开始交易日(yyyymmdd)",
  8202. "name": "begindate",
  8203. "in": "query"
  8204. },
  8205. {
  8206. "type": "string",
  8207. "description": "结束交易日(yyyymmdd)",
  8208. "name": "enddate",
  8209. "in": "query"
  8210. }
  8211. ],
  8212. "responses": {
  8213. "200": {
  8214. "description": "OK",
  8215. "schema": {
  8216. "type": "array",
  8217. "items": {
  8218. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8219. }
  8220. }
  8221. },
  8222. "500": {
  8223. "description": "Internal Server Error",
  8224. "schema": {
  8225. "$ref": "#/definitions/app.Response"
  8226. }
  8227. }
  8228. }
  8229. }
  8230. },
  8231. "/Qhj/QueryContract": {
  8232. "get": {
  8233. "security": [
  8234. {
  8235. "ApiKeyAuth": []
  8236. }
  8237. ],
  8238. "produces": [
  8239. "application/json"
  8240. ],
  8241. "tags": [
  8242. "大连千海金"
  8243. ],
  8244. "summary": "查询融资明细(合同)",
  8245. "parameters": [
  8246. {
  8247. "type": "integer",
  8248. "description": "用户ID",
  8249. "name": "userid",
  8250. "in": "query"
  8251. },
  8252. {
  8253. "type": "integer",
  8254. "description": "scf合同id",
  8255. "name": "scfcontractid",
  8256. "in": "query"
  8257. }
  8258. ],
  8259. "responses": {
  8260. "200": {
  8261. "description": "OK",
  8262. "schema": {
  8263. "type": "array",
  8264. "items": {
  8265. "$ref": "#/definitions/models.QhjContract"
  8266. }
  8267. }
  8268. },
  8269. "500": {
  8270. "description": "Internal Server Error",
  8271. "schema": {
  8272. "$ref": "#/definitions/app.Response"
  8273. }
  8274. }
  8275. }
  8276. }
  8277. },
  8278. "/Qhj/QueryContractLog": {
  8279. "get": {
  8280. "security": [
  8281. {
  8282. "ApiKeyAuth": []
  8283. }
  8284. ],
  8285. "produces": [
  8286. "application/json"
  8287. ],
  8288. "tags": [
  8289. "大连千海金"
  8290. ],
  8291. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8292. "parameters": [
  8293. {
  8294. "type": "integer",
  8295. "description": "scf合同id",
  8296. "name": "scfcontractid",
  8297. "in": "query",
  8298. "required": true
  8299. },
  8300. {
  8301. "type": "string",
  8302. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8303. "name": "amounttype",
  8304. "in": "query"
  8305. }
  8306. ],
  8307. "responses": {
  8308. "200": {
  8309. "description": "OK",
  8310. "schema": {
  8311. "type": "array",
  8312. "items": {
  8313. "$ref": "#/definitions/models.QhjContractLog"
  8314. }
  8315. }
  8316. },
  8317. "500": {
  8318. "description": "Internal Server Error",
  8319. "schema": {
  8320. "$ref": "#/definitions/app.Response"
  8321. }
  8322. }
  8323. }
  8324. }
  8325. },
  8326. "/Qhj/QueryCusBankSignBank": {
  8327. "get": {
  8328. "security": [
  8329. {
  8330. "ApiKeyAuth": []
  8331. }
  8332. ],
  8333. "produces": [
  8334. "application/json"
  8335. ],
  8336. "tags": [
  8337. "大连千海金"
  8338. ],
  8339. "summary": "查询托管银行",
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "type": "array",
  8345. "items": {
  8346. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8347. }
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/Qhj/QueryCustomerInfo": {
  8360. "get": {
  8361. "security": [
  8362. {
  8363. "ApiKeyAuth": []
  8364. }
  8365. ],
  8366. "produces": [
  8367. "application/json"
  8368. ],
  8369. "tags": [
  8370. "大连千海金"
  8371. ],
  8372. "summary": "查询客户资料",
  8373. "parameters": [
  8374. {
  8375. "type": "integer",
  8376. "description": "用户ID",
  8377. "name": "userid",
  8378. "in": "query",
  8379. "required": true
  8380. },
  8381. {
  8382. "type": "integer",
  8383. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8384. "name": "querytype",
  8385. "in": "query",
  8386. "required": true
  8387. },
  8388. {
  8389. "type": "integer",
  8390. "description": "客户类型 1-个人 2-企业",
  8391. "name": "userinfotype",
  8392. "in": "query"
  8393. },
  8394. {
  8395. "type": "string",
  8396. "description": "客户名称(模糊匹配)",
  8397. "name": "customername",
  8398. "in": "query"
  8399. },
  8400. {
  8401. "type": "string",
  8402. "description": "昵称(模糊匹配)",
  8403. "name": "nickname",
  8404. "in": "query"
  8405. },
  8406. {
  8407. "type": "integer",
  8408. "description": "是否包含子级 1-包含",
  8409. "name": "includesub",
  8410. "in": "query"
  8411. }
  8412. ],
  8413. "responses": {
  8414. "200": {
  8415. "description": "OK",
  8416. "schema": {
  8417. "type": "array",
  8418. "items": {
  8419. "$ref": "#/definitions/models.QhjCustomer"
  8420. }
  8421. }
  8422. },
  8423. "500": {
  8424. "description": "Internal Server Error",
  8425. "schema": {
  8426. "$ref": "#/definitions/app.Response"
  8427. }
  8428. }
  8429. }
  8430. }
  8431. },
  8432. "/Qhj/QueryGoodsEx": {
  8433. "get": {
  8434. "security": [
  8435. {
  8436. "ApiKeyAuth": []
  8437. }
  8438. ],
  8439. "produces": [
  8440. "application/json"
  8441. ],
  8442. "tags": [
  8443. "大连千海金"
  8444. ],
  8445. "summary": "交易商品扩展表",
  8446. "parameters": [
  8447. {
  8448. "type": "integer",
  8449. "description": "商品id",
  8450. "name": "goodsid",
  8451. "in": "query"
  8452. }
  8453. ],
  8454. "responses": {
  8455. "200": {
  8456. "description": "OK",
  8457. "schema": {
  8458. "type": "array",
  8459. "items": {
  8460. "$ref": "#/definitions/models.Qhjgoodsex"
  8461. }
  8462. }
  8463. },
  8464. "500": {
  8465. "description": "Internal Server Error",
  8466. "schema": {
  8467. "$ref": "#/definitions/app.Response"
  8468. }
  8469. }
  8470. }
  8471. }
  8472. },
  8473. "/Qhj/QueryMyTeam": {
  8474. "get": {
  8475. "security": [
  8476. {
  8477. "ApiKeyAuth": []
  8478. }
  8479. ],
  8480. "produces": [
  8481. "application/json"
  8482. ],
  8483. "tags": [
  8484. "大连千海金"
  8485. ],
  8486. "summary": "查询我的团队",
  8487. "parameters": [
  8488. {
  8489. "type": "integer",
  8490. "description": "用户ID",
  8491. "name": "userid",
  8492. "in": "query",
  8493. "required": true
  8494. }
  8495. ],
  8496. "responses": {
  8497. "200": {
  8498. "description": "OK",
  8499. "schema": {
  8500. "type": "array",
  8501. "items": {
  8502. "$ref": "#/definitions/models.QhjMyTeamEx"
  8503. }
  8504. }
  8505. },
  8506. "500": {
  8507. "description": "Internal Server Error",
  8508. "schema": {
  8509. "$ref": "#/definitions/app.Response"
  8510. }
  8511. }
  8512. }
  8513. }
  8514. },
  8515. "/Qhj/QueryMyTeamOrder": {
  8516. "get": {
  8517. "security": [
  8518. {
  8519. "ApiKeyAuth": []
  8520. }
  8521. ],
  8522. "produces": [
  8523. "application/json"
  8524. ],
  8525. "tags": [
  8526. "大连千海金"
  8527. ],
  8528. "summary": "查询团队订单(我的团队/团队订单)",
  8529. "parameters": [
  8530. {
  8531. "type": "integer",
  8532. "description": "页码",
  8533. "name": "page",
  8534. "in": "query"
  8535. },
  8536. {
  8537. "type": "integer",
  8538. "description": "每页条数",
  8539. "name": "pagesize",
  8540. "in": "query"
  8541. },
  8542. {
  8543. "type": "integer",
  8544. "description": "用户ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. },
  8549. {
  8550. "type": "integer",
  8551. "description": "交易模式",
  8552. "name": "trademode",
  8553. "in": "query"
  8554. },
  8555. {
  8556. "type": "string",
  8557. "description": "名称(模糊搜索账户)",
  8558. "name": "filtername",
  8559. "in": "query"
  8560. }
  8561. ],
  8562. "responses": {
  8563. "200": {
  8564. "description": "OK",
  8565. "schema": {
  8566. "type": "array",
  8567. "items": {
  8568. "$ref": "#/definitions/models.QhjTeamOrder"
  8569. }
  8570. }
  8571. },
  8572. "500": {
  8573. "description": "Internal Server Error",
  8574. "schema": {
  8575. "$ref": "#/definitions/app.Response"
  8576. }
  8577. }
  8578. }
  8579. }
  8580. },
  8581. "/Qhj/QueryParentAreaList": {
  8582. "get": {
  8583. "security": [
  8584. {
  8585. "ApiKeyAuth": []
  8586. }
  8587. ],
  8588. "produces": [
  8589. "application/json"
  8590. ],
  8591. "tags": [
  8592. "大连千海金"
  8593. ],
  8594. "summary": "查询所属机构列表",
  8595. "parameters": [
  8596. {
  8597. "type": "integer",
  8598. "description": "用户ID",
  8599. "name": "userid",
  8600. "in": "query",
  8601. "required": true
  8602. }
  8603. ],
  8604. "responses": {
  8605. "200": {
  8606. "description": "OK",
  8607. "schema": {
  8608. "type": "array",
  8609. "items": {
  8610. "$ref": "#/definitions/models.QhjParentAreaList"
  8611. }
  8612. }
  8613. },
  8614. "500": {
  8615. "description": "Internal Server Error",
  8616. "schema": {
  8617. "$ref": "#/definitions/app.Response"
  8618. }
  8619. }
  8620. }
  8621. }
  8622. },
  8623. "/Qhj/QueryPayOrder": {
  8624. "get": {
  8625. "security": [
  8626. {
  8627. "ApiKeyAuth": []
  8628. }
  8629. ],
  8630. "produces": [
  8631. "application/json"
  8632. ],
  8633. "tags": [
  8634. "大连千海金"
  8635. ],
  8636. "summary": "查询待付款单据",
  8637. "parameters": [
  8638. {
  8639. "type": "integer",
  8640. "description": "资金账号id",
  8641. "name": "accountid",
  8642. "in": "query",
  8643. "required": true
  8644. },
  8645. {
  8646. "type": "integer",
  8647. "description": "成交单号",
  8648. "name": "tradeid",
  8649. "in": "query"
  8650. },
  8651. {
  8652. "type": "string",
  8653. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8654. "name": "payflag",
  8655. "in": "query"
  8656. }
  8657. ],
  8658. "responses": {
  8659. "200": {
  8660. "description": "OK",
  8661. "schema": {
  8662. "type": "array",
  8663. "items": {
  8664. "$ref": "#/definitions/models.QhjPayOrder"
  8665. }
  8666. }
  8667. },
  8668. "500": {
  8669. "description": "Internal Server Error",
  8670. "schema": {
  8671. "$ref": "#/definitions/app.Response"
  8672. }
  8673. }
  8674. }
  8675. }
  8676. },
  8677. "/Qhj/QueryPickArea": {
  8678. "get": {
  8679. "security": [
  8680. {
  8681. "ApiKeyAuth": []
  8682. }
  8683. ],
  8684. "produces": [
  8685. "application/json"
  8686. ],
  8687. "tags": [
  8688. "大连千海金"
  8689. ],
  8690. "summary": "查询提货门店",
  8691. "parameters": [
  8692. {
  8693. "type": "integer",
  8694. "description": "用户ID",
  8695. "name": "userid",
  8696. "in": "query"
  8697. }
  8698. ],
  8699. "responses": {
  8700. "200": {
  8701. "description": "OK",
  8702. "schema": {
  8703. "type": "array",
  8704. "items": {
  8705. "$ref": "#/definitions/models.QhjPickArea"
  8706. }
  8707. }
  8708. },
  8709. "500": {
  8710. "description": "Internal Server Error",
  8711. "schema": {
  8712. "$ref": "#/definitions/app.Response"
  8713. }
  8714. }
  8715. }
  8716. }
  8717. },
  8718. "/Qhj/QueryPickGoods": {
  8719. "get": {
  8720. "security": [
  8721. {
  8722. "ApiKeyAuth": []
  8723. }
  8724. ],
  8725. "produces": [
  8726. "application/json"
  8727. ],
  8728. "tags": [
  8729. "大连千海金"
  8730. ],
  8731. "summary": "查询提货商品",
  8732. "parameters": [
  8733. {
  8734. "type": "integer",
  8735. "description": "交易商品id",
  8736. "name": "goodsid",
  8737. "in": "query",
  8738. "required": true
  8739. },
  8740. {
  8741. "type": "string",
  8742. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8743. "name": "status",
  8744. "in": "query"
  8745. }
  8746. ],
  8747. "responses": {
  8748. "200": {
  8749. "description": "OK",
  8750. "schema": {
  8751. "type": "array",
  8752. "items": {
  8753. "$ref": "#/definitions/models.QhjPickGoods"
  8754. }
  8755. }
  8756. },
  8757. "500": {
  8758. "description": "Internal Server Error",
  8759. "schema": {
  8760. "$ref": "#/definitions/app.Response"
  8761. }
  8762. }
  8763. }
  8764. }
  8765. },
  8766. "/Qhj/QueryRSTriggerLog": {
  8767. "get": {
  8768. "security": [
  8769. {
  8770. "ApiKeyAuth": []
  8771. }
  8772. ],
  8773. "produces": [
  8774. "application/json"
  8775. ],
  8776. "tags": [
  8777. "大连千海金"
  8778. ],
  8779. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8780. "parameters": [
  8781. {
  8782. "type": "integer",
  8783. "description": "用户ID",
  8784. "name": "userid",
  8785. "in": "query"
  8786. },
  8787. {
  8788. "type": "integer",
  8789. "description": "定投策略id",
  8790. "name": "regularlystrategyid",
  8791. "in": "query"
  8792. },
  8793. {
  8794. "type": "integer",
  8795. "description": "商品id",
  8796. "name": "goodsid",
  8797. "in": "query"
  8798. },
  8799. {
  8800. "type": "string",
  8801. "description": "开始交易日(yyyymmdd)",
  8802. "name": "begindate",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "string",
  8807. "description": "结束交易日(yyyymmdd)",
  8808. "name": "enddate",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "string",
  8813. "description": "名称(模糊搜索账户)",
  8814. "name": "filtername",
  8815. "in": "query"
  8816. }
  8817. ],
  8818. "responses": {
  8819. "200": {
  8820. "description": "OK",
  8821. "schema": {
  8822. "type": "array",
  8823. "items": {
  8824. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8825. }
  8826. }
  8827. },
  8828. "500": {
  8829. "description": "Internal Server Error",
  8830. "schema": {
  8831. "$ref": "#/definitions/app.Response"
  8832. }
  8833. }
  8834. }
  8835. }
  8836. },
  8837. "/Qhj/QueryRStrategy": {
  8838. "get": {
  8839. "security": [
  8840. {
  8841. "ApiKeyAuth": []
  8842. }
  8843. ],
  8844. "produces": [
  8845. "application/json"
  8846. ],
  8847. "tags": [
  8848. "大连千海金"
  8849. ],
  8850. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8851. "parameters": [
  8852. {
  8853. "type": "integer",
  8854. "description": "用户ID",
  8855. "name": "userid",
  8856. "in": "query"
  8857. },
  8858. {
  8859. "type": "integer",
  8860. "description": "商品id",
  8861. "name": "goodsid",
  8862. "in": "query"
  8863. },
  8864. {
  8865. "type": "string",
  8866. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8867. "name": "status",
  8868. "in": "query"
  8869. },
  8870. {
  8871. "type": "string",
  8872. "description": "名称(模糊搜索账户)",
  8873. "name": "filtername",
  8874. "in": "query"
  8875. }
  8876. ],
  8877. "responses": {
  8878. "200": {
  8879. "description": "OK",
  8880. "schema": {
  8881. "type": "array",
  8882. "items": {
  8883. "$ref": "#/definitions/models.QhjRStrategy"
  8884. }
  8885. }
  8886. },
  8887. "500": {
  8888. "description": "Internal Server Error",
  8889. "schema": {
  8890. "$ref": "#/definitions/app.Response"
  8891. }
  8892. }
  8893. }
  8894. }
  8895. },
  8896. "/Qhj/QueryReckonPriceLog": {
  8897. "get": {
  8898. "security": [
  8899. {
  8900. "ApiKeyAuth": []
  8901. }
  8902. ],
  8903. "produces": [
  8904. "application/json"
  8905. ],
  8906. "tags": [
  8907. "大连千海金"
  8908. ],
  8909. "summary": "查询定投价(结算价)",
  8910. "parameters": [
  8911. {
  8912. "type": "integer",
  8913. "description": "商品ID",
  8914. "name": "goodsid",
  8915. "in": "query"
  8916. },
  8917. {
  8918. "type": "string",
  8919. "description": "交易日 格式(yyyymmdd)",
  8920. "name": "tradedate",
  8921. "in": "query"
  8922. }
  8923. ],
  8924. "responses": {
  8925. "200": {
  8926. "description": "OK",
  8927. "schema": {
  8928. "type": "array",
  8929. "items": {
  8930. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8931. }
  8932. }
  8933. },
  8934. "500": {
  8935. "description": "Internal Server Error",
  8936. "schema": {
  8937. "$ref": "#/definitions/app.Response"
  8938. }
  8939. }
  8940. }
  8941. }
  8942. },
  8943. "/Qhj/QueryScoreLog": {
  8944. "get": {
  8945. "security": [
  8946. {
  8947. "ApiKeyAuth": []
  8948. }
  8949. ],
  8950. "produces": [
  8951. "application/json"
  8952. ],
  8953. "tags": [
  8954. "大连千海金"
  8955. ],
  8956. "summary": "查询积分流水(我的积分)",
  8957. "parameters": [
  8958. {
  8959. "type": "integer",
  8960. "description": "用户ID",
  8961. "name": "userid",
  8962. "in": "query",
  8963. "required": true
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "开始交易日(yyyymmdd)",
  8968. "name": "begindate",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "string",
  8973. "description": "结束交易日(yyyymmdd)",
  8974. "name": "enddate",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "最近多少条",
  8980. "name": "lastnum",
  8981. "in": "query"
  8982. }
  8983. ],
  8984. "responses": {
  8985. "200": {
  8986. "description": "OK",
  8987. "schema": {
  8988. "type": "array",
  8989. "items": {
  8990. "$ref": "#/definitions/models.QhjScoreLog"
  8991. }
  8992. }
  8993. },
  8994. "500": {
  8995. "description": "Internal Server Error",
  8996. "schema": {
  8997. "$ref": "#/definitions/app.Response"
  8998. }
  8999. }
  9000. }
  9001. }
  9002. },
  9003. "/Qhj/QuerySiteColumnDetail": {
  9004. "get": {
  9005. "security": [
  9006. {
  9007. "ApiKeyAuth": []
  9008. }
  9009. ],
  9010. "produces": [
  9011. "application/json"
  9012. ],
  9013. "tags": [
  9014. "大连千海金"
  9015. ],
  9016. "summary": "查询资讯",
  9017. "parameters": [
  9018. {
  9019. "type": "integer",
  9020. "description": "用户ID",
  9021. "name": "userid",
  9022. "in": "query",
  9023. "required": true
  9024. }
  9025. ],
  9026. "responses": {
  9027. "200": {
  9028. "description": "OK",
  9029. "schema": {
  9030. "type": "array",
  9031. "items": {
  9032. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9033. }
  9034. }
  9035. },
  9036. "500": {
  9037. "description": "Internal Server Error",
  9038. "schema": {
  9039. "$ref": "#/definitions/app.Response"
  9040. }
  9041. }
  9042. }
  9043. }
  9044. },
  9045. "/Qhj/QueryTradeGoodsPickup": {
  9046. "get": {
  9047. "security": [
  9048. {
  9049. "ApiKeyAuth": []
  9050. }
  9051. ],
  9052. "produces": [
  9053. "application/json"
  9054. ],
  9055. "tags": [
  9056. "大连千海金"
  9057. ],
  9058. "summary": "查询提货",
  9059. "parameters": [
  9060. {
  9061. "type": "integer",
  9062. "description": "用户ID",
  9063. "name": "userid",
  9064. "in": "query",
  9065. "required": true
  9066. },
  9067. {
  9068. "type": "integer",
  9069. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9070. "name": "takeorderstatus",
  9071. "in": "query"
  9072. }
  9073. ],
  9074. "responses": {
  9075. "200": {
  9076. "description": "OK",
  9077. "schema": {
  9078. "type": "array",
  9079. "items": {
  9080. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9081. }
  9082. }
  9083. },
  9084. "500": {
  9085. "description": "Internal Server Error",
  9086. "schema": {
  9087. "$ref": "#/definitions/app.Response"
  9088. }
  9089. }
  9090. }
  9091. }
  9092. },
  9093. "/Qhj/QueryUserCollectConfig": {
  9094. "get": {
  9095. "security": [
  9096. {
  9097. "ApiKeyAuth": []
  9098. }
  9099. ],
  9100. "produces": [
  9101. "application/json"
  9102. ],
  9103. "tags": [
  9104. "大连千海金"
  9105. ],
  9106. "summary": "查询提现账户设置",
  9107. "parameters": [
  9108. {
  9109. "type": "integer",
  9110. "description": "用户ID",
  9111. "name": "userid",
  9112. "in": "query",
  9113. "required": true
  9114. }
  9115. ],
  9116. "responses": {
  9117. "200": {
  9118. "description": "OK",
  9119. "schema": {
  9120. "type": "array",
  9121. "items": {
  9122. "$ref": "#/definitions/models.UserCollectConfig"
  9123. }
  9124. }
  9125. },
  9126. "500": {
  9127. "description": "Internal Server Error",
  9128. "schema": {
  9129. "$ref": "#/definitions/app.Response"
  9130. }
  9131. }
  9132. }
  9133. }
  9134. },
  9135. "/Qhj/QueryUserReceiveInfo": {
  9136. "get": {
  9137. "security": [
  9138. {
  9139. "ApiKeyAuth": []
  9140. }
  9141. ],
  9142. "produces": [
  9143. "application/json"
  9144. ],
  9145. "tags": [
  9146. "大连千海金"
  9147. ],
  9148. "summary": "查询收货地址信息",
  9149. "parameters": [
  9150. {
  9151. "type": "integer",
  9152. "description": "用户ID",
  9153. "name": "userid",
  9154. "in": "query",
  9155. "required": true
  9156. }
  9157. ],
  9158. "responses": {
  9159. "200": {
  9160. "description": "OK",
  9161. "schema": {
  9162. "type": "array",
  9163. "items": {
  9164. "$ref": "#/definitions/models.UserReceiveInfo"
  9165. }
  9166. }
  9167. },
  9168. "500": {
  9169. "description": "Internal Server Error",
  9170. "schema": {
  9171. "$ref": "#/definitions/app.Response"
  9172. }
  9173. }
  9174. }
  9175. }
  9176. },
  9177. "/QhjMgr/QueryAccountInOutApply": {
  9178. "get": {
  9179. "security": [
  9180. {
  9181. "ApiKeyAuth": []
  9182. }
  9183. ],
  9184. "produces": [
  9185. "application/json"
  9186. ],
  9187. "tags": [
  9188. "大连千海金(PCWeb)"
  9189. ],
  9190. "summary": "查询充值提现",
  9191. "parameters": [
  9192. {
  9193. "type": "integer",
  9194. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9195. "name": "querytype",
  9196. "in": "query",
  9197. "required": true
  9198. },
  9199. {
  9200. "type": "integer",
  9201. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9202. "name": "applystatus",
  9203. "in": "query"
  9204. },
  9205. {
  9206. "type": "string",
  9207. "description": "申请起始日期(格式yyyymmdd)",
  9208. "name": "begindate",
  9209. "in": "query"
  9210. },
  9211. {
  9212. "type": "string",
  9213. "description": "申请截止日期(格式yyyymmdd)",
  9214. "name": "enddate",
  9215. "in": "query"
  9216. },
  9217. {
  9218. "type": "string",
  9219. "description": "模糊搜索名称",
  9220. "name": "likename",
  9221. "in": "query"
  9222. }
  9223. ],
  9224. "responses": {
  9225. "200": {
  9226. "description": "OK",
  9227. "schema": {
  9228. "type": "array",
  9229. "items": {
  9230. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9231. }
  9232. }
  9233. },
  9234. "500": {
  9235. "description": "Internal Server Error",
  9236. "schema": {
  9237. "$ref": "#/definitions/app.Response"
  9238. }
  9239. }
  9240. }
  9241. }
  9242. },
  9243. "/QhjMgr/QueryBrokerApply": {
  9244. "get": {
  9245. "security": [
  9246. {
  9247. "ApiKeyAuth": []
  9248. }
  9249. ],
  9250. "produces": [
  9251. "application/json"
  9252. ],
  9253. "tags": [
  9254. "大连千海金(PCWeb)"
  9255. ],
  9256. "summary": "查询经纪人申请",
  9257. "parameters": [
  9258. {
  9259. "type": "integer",
  9260. "description": "所属机构ID",
  9261. "name": "userid",
  9262. "in": "query"
  9263. },
  9264. {
  9265. "type": "string",
  9266. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9267. "name": "filterstatus",
  9268. "in": "query"
  9269. },
  9270. {
  9271. "type": "string",
  9272. "description": "名称(模糊匹配)",
  9273. "name": "filtername",
  9274. "in": "query"
  9275. },
  9276. {
  9277. "type": "integer",
  9278. "description": "是否包含子级 1-包含",
  9279. "name": "includesub",
  9280. "in": "query"
  9281. }
  9282. ],
  9283. "responses": {
  9284. "200": {
  9285. "description": "OK",
  9286. "schema": {
  9287. "type": "array",
  9288. "items": {
  9289. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9290. }
  9291. }
  9292. },
  9293. "500": {
  9294. "description": "Internal Server Error",
  9295. "schema": {
  9296. "$ref": "#/definitions/app.Response"
  9297. }
  9298. }
  9299. }
  9300. }
  9301. },
  9302. "/QhjMgr/QueryBrokerRewardReport": {
  9303. "get": {
  9304. "security": [
  9305. {
  9306. "ApiKeyAuth": []
  9307. }
  9308. ],
  9309. "produces": [
  9310. "application/json"
  9311. ],
  9312. "tags": [
  9313. "大连千海金(PCWeb)"
  9314. ],
  9315. "summary": "查询经纪人奖励报表(废弃)",
  9316. "parameters": [
  9317. {
  9318. "type": "integer",
  9319. "description": "所属机构ID",
  9320. "name": "userid",
  9321. "in": "query",
  9322. "required": true
  9323. },
  9324. {
  9325. "type": "integer",
  9326. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9327. "name": "cycletype",
  9328. "in": "query",
  9329. "required": true
  9330. },
  9331. {
  9332. "type": "string",
  9333. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9334. "name": "cycletime",
  9335. "in": "query",
  9336. "required": true
  9337. },
  9338. {
  9339. "type": "string",
  9340. "description": "名称(模糊匹配)",
  9341. "name": "filtername",
  9342. "in": "query"
  9343. },
  9344. {
  9345. "type": "integer",
  9346. "description": "是否包含子级 1-包含",
  9347. "name": "includesub",
  9348. "in": "query"
  9349. }
  9350. ],
  9351. "responses": {
  9352. "200": {
  9353. "description": "OK",
  9354. "schema": {
  9355. "type": "array",
  9356. "items": {
  9357. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9358. }
  9359. }
  9360. },
  9361. "500": {
  9362. "description": "Internal Server Error",
  9363. "schema": {
  9364. "$ref": "#/definitions/app.Response"
  9365. }
  9366. }
  9367. }
  9368. }
  9369. },
  9370. "/QhjMgr/QueryContract": {
  9371. "get": {
  9372. "security": [
  9373. {
  9374. "ApiKeyAuth": []
  9375. }
  9376. ],
  9377. "produces": [
  9378. "application/json"
  9379. ],
  9380. "tags": [
  9381. "大连千海金(PCWeb)"
  9382. ],
  9383. "summary": "查询融资信息(合同)",
  9384. "parameters": [
  9385. {
  9386. "type": "integer",
  9387. "description": "用户ID",
  9388. "name": "userid",
  9389. "in": "query"
  9390. },
  9391. {
  9392. "type": "integer",
  9393. "description": "商品id",
  9394. "name": "goodsid",
  9395. "in": "query"
  9396. },
  9397. {
  9398. "type": "string",
  9399. "description": "名称(模糊搜索账户)",
  9400. "name": "filtername",
  9401. "in": "query"
  9402. },
  9403. {
  9404. "type": "string",
  9405. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9406. "name": "risklevel",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "string",
  9411. "description": "开始交易日(yyyymmdd)",
  9412. "name": "begindate",
  9413. "in": "query"
  9414. },
  9415. {
  9416. "type": "string",
  9417. "description": "结束交易日(yyyymmdd)",
  9418. "name": "enddate",
  9419. "in": "query"
  9420. }
  9421. ],
  9422. "responses": {
  9423. "200": {
  9424. "description": "OK",
  9425. "schema": {
  9426. "type": "array",
  9427. "items": {
  9428. "$ref": "#/definitions/models.QhjMgrContract"
  9429. }
  9430. }
  9431. },
  9432. "500": {
  9433. "description": "Internal Server Error",
  9434. "schema": {
  9435. "$ref": "#/definitions/app.Response"
  9436. }
  9437. }
  9438. }
  9439. }
  9440. },
  9441. "/QhjMgr/QueryCustomerInfo": {
  9442. "get": {
  9443. "security": [
  9444. {
  9445. "ApiKeyAuth": []
  9446. }
  9447. ],
  9448. "produces": [
  9449. "application/json"
  9450. ],
  9451. "tags": [
  9452. "大连千海金(PCWeb)"
  9453. ],
  9454. "summary": "查询客户资料",
  9455. "parameters": [
  9456. {
  9457. "type": "integer",
  9458. "description": "用户ID",
  9459. "name": "userid",
  9460. "in": "query",
  9461. "required": true
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9466. "name": "querytype",
  9467. "in": "query",
  9468. "required": true
  9469. },
  9470. {
  9471. "type": "integer",
  9472. "description": "客户类型 1-个人 2-企业",
  9473. "name": "userinfotype",
  9474. "in": "query"
  9475. },
  9476. {
  9477. "type": "string",
  9478. "description": "客户名称(模糊匹配)",
  9479. "name": "customername",
  9480. "in": "query"
  9481. },
  9482. {
  9483. "type": "string",
  9484. "description": "昵称(模糊匹配)",
  9485. "name": "nickname",
  9486. "in": "query"
  9487. },
  9488. {
  9489. "type": "string",
  9490. "description": "所属客户经理(模糊匹配)",
  9491. "name": "brokername",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "string",
  9496. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9497. "name": "birthday",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "integer",
  9502. "description": "是否包含子级 1-包含",
  9503. "name": "includesub",
  9504. "in": "query"
  9505. }
  9506. ],
  9507. "responses": {
  9508. "200": {
  9509. "description": "OK",
  9510. "schema": {
  9511. "type": "array",
  9512. "items": {
  9513. "$ref": "#/definitions/models.QhjMgrCustomer"
  9514. }
  9515. }
  9516. },
  9517. "500": {
  9518. "description": "Internal Server Error",
  9519. "schema": {
  9520. "$ref": "#/definitions/app.Response"
  9521. }
  9522. }
  9523. }
  9524. }
  9525. },
  9526. "/QhjMgr/QueryPickGoods": {
  9527. "get": {
  9528. "security": [
  9529. {
  9530. "ApiKeyAuth": []
  9531. }
  9532. ],
  9533. "produces": [
  9534. "application/json"
  9535. ],
  9536. "tags": [
  9537. "大连千海金(PCWeb)"
  9538. ],
  9539. "summary": "查询提货商品",
  9540. "parameters": [
  9541. {
  9542. "type": "string",
  9543. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9544. "name": "status",
  9545. "in": "query"
  9546. }
  9547. ],
  9548. "responses": {
  9549. "200": {
  9550. "description": "OK",
  9551. "schema": {
  9552. "type": "array",
  9553. "items": {
  9554. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9555. }
  9556. }
  9557. },
  9558. "500": {
  9559. "description": "Internal Server Error",
  9560. "schema": {
  9561. "$ref": "#/definitions/app.Response"
  9562. }
  9563. }
  9564. }
  9565. }
  9566. },
  9567. "/QhjMgr/QuerySubArea": {
  9568. "get": {
  9569. "security": [
  9570. {
  9571. "ApiKeyAuth": []
  9572. }
  9573. ],
  9574. "produces": [
  9575. "application/json"
  9576. ],
  9577. "tags": [
  9578. "大连千海金(PCWeb)"
  9579. ],
  9580. "summary": "查询子机构列表",
  9581. "parameters": [
  9582. {
  9583. "type": "integer",
  9584. "description": "用户ID",
  9585. "name": "userid",
  9586. "in": "query",
  9587. "required": true
  9588. }
  9589. ],
  9590. "responses": {
  9591. "200": {
  9592. "description": "OK",
  9593. "schema": {
  9594. "type": "array",
  9595. "items": {
  9596. "$ref": "#/definitions/models.QhjMgrSubArea"
  9597. }
  9598. }
  9599. },
  9600. "500": {
  9601. "description": "Internal Server Error",
  9602. "schema": {
  9603. "$ref": "#/definitions/app.Response"
  9604. }
  9605. }
  9606. }
  9607. }
  9608. },
  9609. "/QhjMgr/QueryTradeDetail": {
  9610. "get": {
  9611. "security": [
  9612. {
  9613. "ApiKeyAuth": []
  9614. }
  9615. ],
  9616. "produces": [
  9617. "application/json"
  9618. ],
  9619. "tags": [
  9620. "大连千海金(PCWeb)"
  9621. ],
  9622. "summary": "查询成交明细",
  9623. "parameters": [
  9624. {
  9625. "type": "integer",
  9626. "description": "用户ID",
  9627. "name": "userid",
  9628. "in": "query",
  9629. "required": true
  9630. },
  9631. {
  9632. "type": "integer",
  9633. "description": "用户类型 1-个人 2-企业",
  9634. "name": "userinfotype",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "integer",
  9639. "description": "交易模式",
  9640. "name": "trademode",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "integer",
  9645. "description": "商品id",
  9646. "name": "goodsid",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "string",
  9651. "description": "名称(模糊搜索账户)",
  9652. "name": "filtername",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "string",
  9657. "description": "开始交易日(yyyymmdd)",
  9658. "name": "begindate",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "string",
  9663. "description": "结束交易日(yyyymmdd)",
  9664. "name": "enddate",
  9665. "in": "query"
  9666. },
  9667. {
  9668. "type": "integer",
  9669. "description": "是否包含子级 1-包含",
  9670. "name": "includesub",
  9671. "in": "query"
  9672. }
  9673. ],
  9674. "responses": {
  9675. "200": {
  9676. "description": "OK",
  9677. "schema": {
  9678. "type": "array",
  9679. "items": {
  9680. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9681. }
  9682. }
  9683. },
  9684. "500": {
  9685. "description": "Internal Server Error",
  9686. "schema": {
  9687. "$ref": "#/definitions/app.Response"
  9688. }
  9689. }
  9690. }
  9691. }
  9692. },
  9693. "/QhjMgr/QueryTradeOrderDetail": {
  9694. "get": {
  9695. "security": [
  9696. {
  9697. "ApiKeyAuth": []
  9698. }
  9699. ],
  9700. "produces": [
  9701. "application/json"
  9702. ],
  9703. "tags": [
  9704. "大连千海金(PCWeb)"
  9705. ],
  9706. "summary": "查询委托明细",
  9707. "parameters": [
  9708. {
  9709. "type": "integer",
  9710. "description": "用户ID",
  9711. "name": "userid",
  9712. "in": "query",
  9713. "required": true
  9714. },
  9715. {
  9716. "type": "integer",
  9717. "description": "用户类型 1-个人 2-企业",
  9718. "name": "userinfotype",
  9719. "in": "query"
  9720. },
  9721. {
  9722. "type": "integer",
  9723. "description": "交易模式",
  9724. "name": "trademode",
  9725. "in": "query"
  9726. },
  9727. {
  9728. "type": "integer",
  9729. "description": "商品id",
  9730. "name": "goodsid",
  9731. "in": "query"
  9732. },
  9733. {
  9734. "type": "string",
  9735. "description": "名称(模糊搜索账户)",
  9736. "name": "filtername",
  9737. "in": "query"
  9738. },
  9739. {
  9740. "type": "string",
  9741. "description": "开始交易日(yyyymmdd)",
  9742. "name": "begindate",
  9743. "in": "query"
  9744. },
  9745. {
  9746. "type": "string",
  9747. "description": "结束交易日(yyyymmdd)",
  9748. "name": "enddate",
  9749. "in": "query"
  9750. },
  9751. {
  9752. "type": "integer",
  9753. "description": "是否包含子级 1-包含",
  9754. "name": "includesub",
  9755. "in": "query"
  9756. }
  9757. ],
  9758. "responses": {
  9759. "200": {
  9760. "description": "OK",
  9761. "schema": {
  9762. "type": "array",
  9763. "items": {
  9764. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9765. }
  9766. }
  9767. },
  9768. "500": {
  9769. "description": "Internal Server Error",
  9770. "schema": {
  9771. "$ref": "#/definitions/app.Response"
  9772. }
  9773. }
  9774. }
  9775. }
  9776. },
  9777. "/QhjMgr/QueryTradePayOrder": {
  9778. "get": {
  9779. "security": [
  9780. {
  9781. "ApiKeyAuth": []
  9782. }
  9783. ],
  9784. "produces": [
  9785. "application/json"
  9786. ],
  9787. "tags": [
  9788. "大连千海金(PCWeb)"
  9789. ],
  9790. "summary": "查询待付款单",
  9791. "parameters": [
  9792. {
  9793. "type": "integer",
  9794. "description": "用户ID",
  9795. "name": "userid",
  9796. "in": "query",
  9797. "required": true
  9798. },
  9799. {
  9800. "type": "string",
  9801. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9802. "name": "payflag",
  9803. "in": "query"
  9804. },
  9805. {
  9806. "type": "integer",
  9807. "description": "用户类型 1-个人 2-企业",
  9808. "name": "userinfotype",
  9809. "in": "query"
  9810. },
  9811. {
  9812. "type": "integer",
  9813. "description": "交易模式",
  9814. "name": "trademode",
  9815. "in": "query"
  9816. },
  9817. {
  9818. "type": "integer",
  9819. "description": "商品id",
  9820. "name": "goodsid",
  9821. "in": "query"
  9822. },
  9823. {
  9824. "type": "string",
  9825. "description": "名称(模糊搜索账户)",
  9826. "name": "filtername",
  9827. "in": "query"
  9828. },
  9829. {
  9830. "type": "string",
  9831. "description": "开始交易日(yyyymmdd)",
  9832. "name": "begindate",
  9833. "in": "query"
  9834. },
  9835. {
  9836. "type": "string",
  9837. "description": "结束交易日(yyyymmdd)",
  9838. "name": "enddate",
  9839. "in": "query"
  9840. },
  9841. {
  9842. "type": "integer",
  9843. "description": "是否包含子级 1-包含",
  9844. "name": "includesub",
  9845. "in": "query"
  9846. }
  9847. ],
  9848. "responses": {
  9849. "200": {
  9850. "description": "OK",
  9851. "schema": {
  9852. "type": "array",
  9853. "items": {
  9854. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9855. }
  9856. }
  9857. },
  9858. "500": {
  9859. "description": "Internal Server Error",
  9860. "schema": {
  9861. "$ref": "#/definitions/app.Response"
  9862. }
  9863. }
  9864. }
  9865. }
  9866. },
  9867. "/QhjMgr/QueryTradePosition": {
  9868. "get": {
  9869. "security": [
  9870. {
  9871. "ApiKeyAuth": []
  9872. }
  9873. ],
  9874. "produces": [
  9875. "application/json"
  9876. ],
  9877. "tags": [
  9878. "大连千海金(PCWeb)"
  9879. ],
  9880. "summary": "查询持仓汇总",
  9881. "parameters": [
  9882. {
  9883. "type": "integer",
  9884. "description": "用户ID",
  9885. "name": "userid",
  9886. "in": "query",
  9887. "required": true
  9888. },
  9889. {
  9890. "type": "integer",
  9891. "description": "用户类型 1-个人 2-企业",
  9892. "name": "userinfotype",
  9893. "in": "query"
  9894. },
  9895. {
  9896. "type": "integer",
  9897. "description": "交易模式",
  9898. "name": "trademode",
  9899. "in": "query"
  9900. },
  9901. {
  9902. "type": "integer",
  9903. "description": "商品id",
  9904. "name": "goodsid",
  9905. "in": "query"
  9906. },
  9907. {
  9908. "type": "string",
  9909. "description": "名称(模糊搜索账户)",
  9910. "name": "filtername",
  9911. "in": "query"
  9912. },
  9913. {
  9914. "type": "integer",
  9915. "description": "是否包含子级 1-包含",
  9916. "name": "includesub",
  9917. "in": "query"
  9918. }
  9919. ],
  9920. "responses": {
  9921. "200": {
  9922. "description": "OK",
  9923. "schema": {
  9924. "type": "array",
  9925. "items": {
  9926. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9927. }
  9928. }
  9929. },
  9930. "500": {
  9931. "description": "Internal Server Error",
  9932. "schema": {
  9933. "$ref": "#/definitions/app.Response"
  9934. }
  9935. }
  9936. }
  9937. }
  9938. },
  9939. "/QhjSys/QueryAgreementChangeLog": {
  9940. "get": {
  9941. "security": [
  9942. {
  9943. "ApiKeyAuth": []
  9944. }
  9945. ],
  9946. "produces": [
  9947. "application/json"
  9948. ],
  9949. "tags": [
  9950. "大连千海金(协议和签约信息)"
  9951. ],
  9952. "summary": "查询协议配置变更流水",
  9953. "parameters": [
  9954. {
  9955. "type": "integer",
  9956. "description": "协议ID",
  9957. "name": "agreementid",
  9958. "in": "query"
  9959. },
  9960. {
  9961. "type": "integer",
  9962. "description": "协议版本号",
  9963. "name": "agreementversion",
  9964. "in": "query"
  9965. },
  9966. {
  9967. "type": "integer",
  9968. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9969. "name": "agreementtype",
  9970. "in": "query"
  9971. },
  9972. {
  9973. "type": "string",
  9974. "description": "协议编号(模糊匹配)",
  9975. "name": "agreementno",
  9976. "in": "query"
  9977. },
  9978. {
  9979. "type": "string",
  9980. "description": "协议名称(模糊匹配)",
  9981. "name": "agreementname",
  9982. "in": "query"
  9983. }
  9984. ],
  9985. "responses": {
  9986. "200": {
  9987. "description": "OK",
  9988. "schema": {
  9989. "type": "array",
  9990. "items": {
  9991. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9992. }
  9993. }
  9994. },
  9995. "500": {
  9996. "description": "Internal Server Error",
  9997. "schema": {
  9998. "$ref": "#/definitions/app.Response"
  9999. }
  10000. }
  10001. }
  10002. }
  10003. },
  10004. "/QhjSys/QueryAgreementConfig": {
  10005. "get": {
  10006. "security": [
  10007. {
  10008. "ApiKeyAuth": []
  10009. }
  10010. ],
  10011. "produces": [
  10012. "application/json"
  10013. ],
  10014. "tags": [
  10015. "大连千海金(协议和签约信息)"
  10016. ],
  10017. "summary": "查询协议配置",
  10018. "parameters": [
  10019. {
  10020. "type": "integer",
  10021. "description": "协议ID",
  10022. "name": "agreementid",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "integer",
  10027. "description": "协议版本号",
  10028. "name": "agreementversion",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "integer",
  10033. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10034. "name": "agreementtype",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "integer",
  10039. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10040. "name": "isvalid",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "string",
  10045. "description": "协议编号(模糊匹配)",
  10046. "name": "agreementno",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "string",
  10051. "description": "协议名称(模糊匹配)",
  10052. "name": "agreementname",
  10053. "in": "query"
  10054. }
  10055. ],
  10056. "responses": {
  10057. "200": {
  10058. "description": "OK",
  10059. "schema": {
  10060. "type": "array",
  10061. "items": {
  10062. "$ref": "#/definitions/models.QhjAgreementConfig"
  10063. }
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/QhjSys/QueryCustomerSignStatus": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "大连千海金(协议和签约信息)"
  10087. ],
  10088. "summary": "查询客户协议签约状态",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "客户ID",
  10093. "name": "userid",
  10094. "in": "query"
  10095. },
  10096. {
  10097. "type": "integer",
  10098. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10099. "name": "nodetype",
  10100. "in": "query"
  10101. },
  10102. {
  10103. "type": "integer",
  10104. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10105. "name": "goodsid",
  10106. "in": "query"
  10107. },
  10108. {
  10109. "type": "string",
  10110. "description": "创建交易日(yyyyMMdd)",
  10111. "name": "tradedate",
  10112. "in": "query"
  10113. },
  10114. {
  10115. "type": "string",
  10116. "description": "用户名称(模糊匹配)",
  10117. "name": "username",
  10118. "in": "query"
  10119. }
  10120. ],
  10121. "responses": {
  10122. "200": {
  10123. "description": "OK",
  10124. "schema": {
  10125. "type": "array",
  10126. "items": {
  10127. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10128. }
  10129. }
  10130. },
  10131. "500": {
  10132. "description": "Internal Server Error",
  10133. "schema": {
  10134. "$ref": "#/definitions/app.Response"
  10135. }
  10136. }
  10137. }
  10138. }
  10139. },
  10140. "/QhjSys/QueryNodeAgreementConfig": {
  10141. "get": {
  10142. "security": [
  10143. {
  10144. "ApiKeyAuth": []
  10145. }
  10146. ],
  10147. "produces": [
  10148. "application/json"
  10149. ],
  10150. "tags": [
  10151. "大连千海金(协议和签约信息)"
  10152. ],
  10153. "summary": "查询协议节点配置",
  10154. "parameters": [
  10155. {
  10156. "type": "integer",
  10157. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10158. "name": "configid",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "integer",
  10163. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10164. "name": "nodetype",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "integer",
  10169. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10170. "name": "goodsid",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "integer",
  10175. "description": "协议ID",
  10176. "name": "agreementid",
  10177. "in": "query"
  10178. },
  10179. {
  10180. "type": "integer",
  10181. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10182. "name": "agreementtype",
  10183. "in": "query"
  10184. },
  10185. {
  10186. "type": "integer",
  10187. "description": "协议版本号",
  10188. "name": "agreementversion",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "string",
  10193. "description": "协议编号(模糊匹配)",
  10194. "name": "agreementno",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "string",
  10199. "description": "协议名称(模糊匹配)",
  10200. "name": "agreementname",
  10201. "in": "query"
  10202. }
  10203. ],
  10204. "responses": {
  10205. "200": {
  10206. "description": "OK",
  10207. "schema": {
  10208. "type": "array",
  10209. "items": {
  10210. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10211. }
  10212. }
  10213. },
  10214. "500": {
  10215. "description": "Internal Server Error",
  10216. "schema": {
  10217. "$ref": "#/definitions/app.Response"
  10218. }
  10219. }
  10220. }
  10221. }
  10222. },
  10223. "/QhjSys/QueryQhjCustomerSignLog": {
  10224. "get": {
  10225. "security": [
  10226. {
  10227. "ApiKeyAuth": []
  10228. }
  10229. ],
  10230. "produces": [
  10231. "application/json"
  10232. ],
  10233. "tags": [
  10234. "大连千海金(协议和签约信息)"
  10235. ],
  10236. "summary": "查询客户协议签约流水",
  10237. "parameters": [
  10238. {
  10239. "type": "integer",
  10240. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10241. "name": "logid",
  10242. "in": "query"
  10243. },
  10244. {
  10245. "type": "integer",
  10246. "description": "客户ID",
  10247. "name": "userid",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "integer",
  10252. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10253. "name": "nodetype",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "integer",
  10258. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10259. "name": "goodsid",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "integer",
  10264. "description": "协议ID",
  10265. "name": "agreementid",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "string",
  10270. "description": "用户名称(模糊匹配)",
  10271. "name": "username",
  10272. "in": "query"
  10273. },
  10274. {
  10275. "type": "string",
  10276. "description": "协议编号(模糊匹配)",
  10277. "name": "agreementno",
  10278. "in": "query"
  10279. },
  10280. {
  10281. "type": "string",
  10282. "description": "协议名称(模糊匹配)",
  10283. "name": "agreementname",
  10284. "in": "query"
  10285. }
  10286. ],
  10287. "responses": {
  10288. "200": {
  10289. "description": "OK",
  10290. "schema": {
  10291. "type": "array",
  10292. "items": {
  10293. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10294. }
  10295. }
  10296. },
  10297. "500": {
  10298. "description": "Internal Server Error",
  10299. "schema": {
  10300. "$ref": "#/definitions/app.Response"
  10301. }
  10302. }
  10303. }
  10304. }
  10305. },
  10306. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10307. "get": {
  10308. "security": [
  10309. {
  10310. "ApiKeyAuth": []
  10311. }
  10312. ],
  10313. "produces": [
  10314. "application/json"
  10315. ],
  10316. "tags": [
  10317. "大连千海金(协议和签约信息)"
  10318. ],
  10319. "summary": "查询用户协议节点配置和状态",
  10320. "parameters": [
  10321. {
  10322. "type": "integer",
  10323. "description": "客户ID",
  10324. "name": "userid",
  10325. "in": "query"
  10326. },
  10327. {
  10328. "type": "integer",
  10329. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10330. "name": "configid",
  10331. "in": "query"
  10332. },
  10333. {
  10334. "type": "string",
  10335. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10336. "name": "nodetype",
  10337. "in": "query"
  10338. },
  10339. {
  10340. "type": "integer",
  10341. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10342. "name": "goodsid",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "integer",
  10347. "description": "协议ID",
  10348. "name": "agreementid",
  10349. "in": "query"
  10350. },
  10351. {
  10352. "type": "integer",
  10353. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10354. "name": "agreementtype",
  10355. "in": "query"
  10356. },
  10357. {
  10358. "type": "integer",
  10359. "description": "协议版本号",
  10360. "name": "agreementversion",
  10361. "in": "query"
  10362. },
  10363. {
  10364. "type": "string",
  10365. "description": "协议编号(模糊匹配)",
  10366. "name": "agreementno",
  10367. "in": "query"
  10368. },
  10369. {
  10370. "type": "string",
  10371. "description": "协议名称(模糊匹配)",
  10372. "name": "agreementname",
  10373. "in": "query"
  10374. }
  10375. ],
  10376. "responses": {
  10377. "200": {
  10378. "description": "OK",
  10379. "schema": {
  10380. "type": "array",
  10381. "items": {
  10382. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10383. }
  10384. }
  10385. },
  10386. "500": {
  10387. "description": "Internal Server Error",
  10388. "schema": {
  10389. "$ref": "#/definitions/app.Response"
  10390. }
  10391. }
  10392. }
  10393. }
  10394. },
  10395. "/Quote/QueryHistoryDatas": {
  10396. "get": {
  10397. "security": [
  10398. {
  10399. "ApiKeyAuth": []
  10400. }
  10401. ],
  10402. "produces": [
  10403. "application/json"
  10404. ],
  10405. "tags": [
  10406. "行情服务"
  10407. ],
  10408. "summary": "查询行情历史数据",
  10409. "parameters": [
  10410. {
  10411. "type": "integer",
  10412. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10413. "name": "cycleType",
  10414. "in": "query",
  10415. "required": true
  10416. },
  10417. {
  10418. "type": "string",
  10419. "description": "商品代码",
  10420. "name": "goodsCode",
  10421. "in": "query",
  10422. "required": true
  10423. },
  10424. {
  10425. "type": "string",
  10426. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10427. "name": "startTime",
  10428. "in": "query"
  10429. },
  10430. {
  10431. "type": "string",
  10432. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10433. "name": "endTime",
  10434. "in": "query"
  10435. },
  10436. {
  10437. "type": "integer",
  10438. "description": "条数",
  10439. "name": "count",
  10440. "in": "query"
  10441. },
  10442. {
  10443. "type": "boolean",
  10444. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10445. "name": "isAsc",
  10446. "in": "query"
  10447. }
  10448. ],
  10449. "responses": {
  10450. "200": {
  10451. "description": "OK",
  10452. "schema": {
  10453. "$ref": "#/definitions/quote.HistoryData"
  10454. }
  10455. },
  10456. "500": {
  10457. "description": "Internal Server Error",
  10458. "schema": {
  10459. "$ref": "#/definitions/app.Response"
  10460. }
  10461. }
  10462. }
  10463. }
  10464. },
  10465. "/Quote/QueryHistoryTikDatas": {
  10466. "get": {
  10467. "security": [
  10468. {
  10469. "ApiKeyAuth": []
  10470. }
  10471. ],
  10472. "produces": [
  10473. "application/json"
  10474. ],
  10475. "tags": [
  10476. "行情服务"
  10477. ],
  10478. "summary": "查询行情Tik数据",
  10479. "parameters": [
  10480. {
  10481. "type": "string",
  10482. "description": "商品代码",
  10483. "name": "goodsCode",
  10484. "in": "query",
  10485. "required": true
  10486. },
  10487. {
  10488. "type": "string",
  10489. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10490. "name": "startTime",
  10491. "in": "query"
  10492. },
  10493. {
  10494. "type": "string",
  10495. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10496. "name": "endTime",
  10497. "in": "query"
  10498. },
  10499. {
  10500. "type": "integer",
  10501. "description": "条数",
  10502. "name": "count",
  10503. "in": "query"
  10504. },
  10505. {
  10506. "type": "boolean",
  10507. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10508. "name": "isAsc",
  10509. "in": "query"
  10510. }
  10511. ],
  10512. "responses": {
  10513. "200": {
  10514. "description": "OK",
  10515. "schema": {
  10516. "$ref": "#/definitions/quote.HistoryTikData"
  10517. }
  10518. },
  10519. "500": {
  10520. "description": "Internal Server Error",
  10521. "schema": {
  10522. "$ref": "#/definitions/app.Response"
  10523. }
  10524. }
  10525. }
  10526. }
  10527. },
  10528. "/Quote/QueryQuoteDay": {
  10529. "get": {
  10530. "security": [
  10531. {
  10532. "ApiKeyAuth": []
  10533. }
  10534. ],
  10535. "produces": [
  10536. "application/json"
  10537. ],
  10538. "tags": [
  10539. "行情服务"
  10540. ],
  10541. "summary": "获取商品盘面信息",
  10542. "parameters": [
  10543. {
  10544. "type": "string",
  10545. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10546. "name": "goodsCodes",
  10547. "in": "query",
  10548. "required": true
  10549. }
  10550. ],
  10551. "responses": {
  10552. "200": {
  10553. "description": "OK",
  10554. "schema": {
  10555. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10556. }
  10557. },
  10558. "500": {
  10559. "description": "Internal Server Error",
  10560. "schema": {
  10561. "$ref": "#/definitions/app.Response"
  10562. }
  10563. }
  10564. }
  10565. }
  10566. },
  10567. "/Quote/QueryTSData": {
  10568. "get": {
  10569. "security": [
  10570. {
  10571. "ApiKeyAuth": []
  10572. }
  10573. ],
  10574. "produces": [
  10575. "application/json"
  10576. ],
  10577. "tags": [
  10578. "行情服务"
  10579. ],
  10580. "summary": "分时图数据查询",
  10581. "parameters": [
  10582. {
  10583. "type": "string",
  10584. "description": "商品代码",
  10585. "name": "goodsCode",
  10586. "in": "query",
  10587. "required": true
  10588. }
  10589. ],
  10590. "responses": {
  10591. "200": {
  10592. "description": "OK",
  10593. "schema": {
  10594. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10595. }
  10596. },
  10597. "500": {
  10598. "description": "Internal Server Error",
  10599. "schema": {
  10600. "$ref": "#/definitions/app.Response"
  10601. }
  10602. }
  10603. }
  10604. }
  10605. },
  10606. "/SZDZ/QueryConvertConfig": {
  10607. "get": {
  10608. "security": [
  10609. {
  10610. "ApiKeyAuth": []
  10611. }
  10612. ],
  10613. "produces": [
  10614. "application/json"
  10615. ],
  10616. "tags": [
  10617. "定制【尚志大宗】"
  10618. ],
  10619. "summary": "查询交易系统转换设置",
  10620. "parameters": [
  10621. {
  10622. "type": "integer",
  10623. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10624. "name": "convertType",
  10625. "in": "query"
  10626. },
  10627. {
  10628. "type": "string",
  10629. "description": "外部商品代码[JD\\PD]",
  10630. "name": "outerGoodsCode",
  10631. "in": "query"
  10632. },
  10633. {
  10634. "type": "string",
  10635. "description": "内部商品ID列表[交易],格式:1,2,3",
  10636. "name": "innerGoodsIDs",
  10637. "in": "query"
  10638. }
  10639. ],
  10640. "responses": {
  10641. "200": {
  10642. "description": "OK",
  10643. "schema": {
  10644. "$ref": "#/definitions/models.Szdz3convertconfig"
  10645. }
  10646. },
  10647. "500": {
  10648. "description": "Internal Server Error",
  10649. "schema": {
  10650. "$ref": "#/definitions/app.Response"
  10651. }
  10652. }
  10653. }
  10654. }
  10655. },
  10656. "/SZDZ/QueryConvertLog": {
  10657. "get": {
  10658. "security": [
  10659. {
  10660. "ApiKeyAuth": []
  10661. }
  10662. ],
  10663. "produces": [
  10664. "application/json"
  10665. ],
  10666. "tags": [
  10667. "定制【尚志大宗】"
  10668. ],
  10669. "summary": "交易系统转换流水查询",
  10670. "parameters": [
  10671. {
  10672. "type": "string",
  10673. "description": "资金账户 - 格式:1,2,3",
  10674. "name": "accountID",
  10675. "in": "query",
  10676. "required": true
  10677. },
  10678. {
  10679. "type": "string",
  10680. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10681. "name": "startDate",
  10682. "in": "query"
  10683. },
  10684. {
  10685. "type": "string",
  10686. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10687. "name": "endDate",
  10688. "in": "query"
  10689. }
  10690. ],
  10691. "responses": {
  10692. "200": {
  10693. "description": "OK",
  10694. "schema": {
  10695. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10696. }
  10697. },
  10698. "500": {
  10699. "description": "Internal Server Error",
  10700. "schema": {
  10701. "$ref": "#/definitions/app.Response"
  10702. }
  10703. }
  10704. }
  10705. }
  10706. },
  10707. "/SZDZ/QueryGoodsPickup": {
  10708. "get": {
  10709. "security": [
  10710. {
  10711. "ApiKeyAuth": []
  10712. }
  10713. ],
  10714. "produces": [
  10715. "application/json"
  10716. ],
  10717. "tags": [
  10718. "定制【尚志大宗】"
  10719. ],
  10720. "summary": "商品提货单查询",
  10721. "parameters": [
  10722. {
  10723. "type": "string",
  10724. "description": "资金账户 - 格式:1,2,3",
  10725. "name": "accountID",
  10726. "in": "query",
  10727. "required": true
  10728. },
  10729. {
  10730. "type": "integer",
  10731. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10732. "name": "takeOrderStatus",
  10733. "in": "query"
  10734. }
  10735. ],
  10736. "responses": {
  10737. "200": {
  10738. "description": "OK",
  10739. "schema": {
  10740. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10741. }
  10742. },
  10743. "500": {
  10744. "description": "Internal Server Error",
  10745. "schema": {
  10746. "$ref": "#/definitions/app.Response"
  10747. }
  10748. }
  10749. }
  10750. }
  10751. },
  10752. "/SZDZ/QueryRecieptOrder": {
  10753. "get": {
  10754. "security": [
  10755. {
  10756. "ApiKeyAuth": []
  10757. }
  10758. ],
  10759. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10760. "produces": [
  10761. "application/json"
  10762. ],
  10763. "tags": [
  10764. "定制【尚志大宗】"
  10765. ],
  10766. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10767. "parameters": [
  10768. {
  10769. "type": "integer",
  10770. "description": "页码",
  10771. "name": "page",
  10772. "in": "query"
  10773. },
  10774. {
  10775. "type": "integer",
  10776. "description": "每页条数",
  10777. "name": "pagesize",
  10778. "in": "query"
  10779. },
  10780. {
  10781. "type": "integer",
  10782. "description": "商品ID",
  10783. "name": "goodsID",
  10784. "in": "query",
  10785. "required": true
  10786. },
  10787. {
  10788. "type": "string",
  10789. "description": "所属账户名称",
  10790. "name": "accountName",
  10791. "in": "query"
  10792. },
  10793. {
  10794. "type": "integer",
  10795. "description": "市场ID",
  10796. "name": "marketID",
  10797. "in": "query"
  10798. },
  10799. {
  10800. "type": "integer",
  10801. "description": "方向 - 0:买 1:卖",
  10802. "name": "buyorsell",
  10803. "in": "query",
  10804. "required": true
  10805. }
  10806. ],
  10807. "responses": {
  10808. "200": {
  10809. "description": "OK",
  10810. "schema": {
  10811. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10812. }
  10813. },
  10814. "500": {
  10815. "description": "Internal Server Error",
  10816. "schema": {
  10817. "$ref": "#/definitions/app.Response"
  10818. }
  10819. }
  10820. }
  10821. }
  10822. },
  10823. "/SZDZ/QuerySZDZTradePosition": {
  10824. "get": {
  10825. "security": [
  10826. {
  10827. "ApiKeyAuth": []
  10828. }
  10829. ],
  10830. "produces": [
  10831. "application/json"
  10832. ],
  10833. "tags": [
  10834. "定制【尚志大宗】"
  10835. ],
  10836. "summary": "持仓汇总查询(尚志大宗)",
  10837. "parameters": [
  10838. {
  10839. "type": "integer",
  10840. "description": "资金账户",
  10841. "name": "accountID",
  10842. "in": "query",
  10843. "required": true
  10844. }
  10845. ],
  10846. "responses": {
  10847. "200": {
  10848. "description": "OK",
  10849. "schema": {
  10850. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10851. }
  10852. },
  10853. "500": {
  10854. "description": "Internal Server Error",
  10855. "schema": {
  10856. "$ref": "#/definitions/app.Response"
  10857. }
  10858. }
  10859. }
  10860. }
  10861. },
  10862. "/SZDZ/SearchWhite": {
  10863. "get": {
  10864. "security": [
  10865. {
  10866. "ApiKeyAuth": []
  10867. }
  10868. ],
  10869. "produces": [
  10870. "application/json"
  10871. ],
  10872. "tags": [
  10873. "定制【尚志大宗】"
  10874. ],
  10875. "summary": "搜索白名单",
  10876. "parameters": [
  10877. {
  10878. "type": "integer",
  10879. "description": "用户ID",
  10880. "name": "userID",
  10881. "in": "query",
  10882. "required": true
  10883. }
  10884. ],
  10885. "responses": {
  10886. "200": {
  10887. "description": "OK",
  10888. "schema": {
  10889. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10890. }
  10891. },
  10892. "500": {
  10893. "description": "Internal Server Error",
  10894. "schema": {
  10895. "$ref": "#/definitions/app.Response"
  10896. }
  10897. }
  10898. }
  10899. }
  10900. },
  10901. "/Search/SearchGoodses": {
  10902. "get": {
  10903. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10904. "produces": [
  10905. "application/json"
  10906. ],
  10907. "tags": [
  10908. "检索服务"
  10909. ],
  10910. "summary": "检索商品信息",
  10911. "parameters": [
  10912. {
  10913. "type": "string",
  10914. "description": "检索内容",
  10915. "name": "content",
  10916. "in": "query",
  10917. "required": true
  10918. },
  10919. {
  10920. "type": "string",
  10921. "description": "交易模式,格式:1,2,3",
  10922. "name": "tradeModes",
  10923. "in": "query"
  10924. }
  10925. ],
  10926. "responses": {
  10927. "200": {
  10928. "description": "OK",
  10929. "schema": {
  10930. "$ref": "#/definitions/models.SearchGoods"
  10931. }
  10932. },
  10933. "500": {
  10934. "description": "Internal Server Error",
  10935. "schema": {
  10936. "$ref": "#/definitions/app.Response"
  10937. }
  10938. }
  10939. }
  10940. }
  10941. },
  10942. "/TaAccount/GetTaAccounts": {
  10943. "get": {
  10944. "security": [
  10945. {
  10946. "ApiKeyAuth": []
  10947. }
  10948. ],
  10949. "produces": [
  10950. "application/json"
  10951. ],
  10952. "tags": [
  10953. "资金账户"
  10954. ],
  10955. "summary": "获取资金账户信息",
  10956. "parameters": [
  10957. {
  10958. "type": "integer",
  10959. "description": "登录账户",
  10960. "name": "loginID",
  10961. "in": "query",
  10962. "required": true
  10963. },
  10964. {
  10965. "type": "integer",
  10966. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10967. "name": "taAccountType",
  10968. "in": "query"
  10969. }
  10970. ],
  10971. "responses": {
  10972. "200": {
  10973. "description": "OK",
  10974. "schema": {
  10975. "$ref": "#/definitions/models.Taaccount"
  10976. }
  10977. },
  10978. "500": {
  10979. "description": "Internal Server Error",
  10980. "schema": {
  10981. "$ref": "#/definitions/app.Response"
  10982. }
  10983. }
  10984. }
  10985. }
  10986. },
  10987. "/TaAccount/QueryAmountLog": {
  10988. "get": {
  10989. "security": [
  10990. {
  10991. "ApiKeyAuth": []
  10992. }
  10993. ],
  10994. "produces": [
  10995. "application/json"
  10996. ],
  10997. "tags": [
  10998. "资金账户"
  10999. ],
  11000. "summary": "资金流水查询(当前)",
  11001. "parameters": [
  11002. {
  11003. "type": "integer",
  11004. "description": "页码",
  11005. "name": "page",
  11006. "in": "query"
  11007. },
  11008. {
  11009. "type": "integer",
  11010. "description": "每页条数",
  11011. "name": "pagesize",
  11012. "in": "query"
  11013. },
  11014. {
  11015. "type": "string",
  11016. "description": "资金账户 - 格式:1,2,3",
  11017. "name": "accountID",
  11018. "in": "query",
  11019. "required": true
  11020. },
  11021. {
  11022. "type": "string",
  11023. "description": "资金操作类型 - 格式:1,2,3",
  11024. "name": "OperateType",
  11025. "in": "query"
  11026. }
  11027. ],
  11028. "responses": {
  11029. "200": {
  11030. "description": "OK",
  11031. "schema": {
  11032. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11033. }
  11034. },
  11035. "500": {
  11036. "description": "Internal Server Error",
  11037. "schema": {
  11038. "$ref": "#/definitions/app.Response"
  11039. }
  11040. }
  11041. }
  11042. }
  11043. },
  11044. "/TaAccount/QueryHisAmountLog": {
  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": "页码",
  11062. "name": "page",
  11063. "in": "query"
  11064. },
  11065. {
  11066. "type": "integer",
  11067. "description": "每页条数",
  11068. "name": "pagesize",
  11069. "in": "query"
  11070. },
  11071. {
  11072. "type": "string",
  11073. "description": "资金账户 - 格式:1,2,3",
  11074. "name": "accountID",
  11075. "in": "query",
  11076. "required": true
  11077. },
  11078. {
  11079. "type": "string",
  11080. "description": "资金操作类型 - 格式:1,2,3",
  11081. "name": "OperateType",
  11082. "in": "query"
  11083. },
  11084. {
  11085. "type": "string",
  11086. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11087. "name": "startDate",
  11088. "in": "query"
  11089. },
  11090. {
  11091. "type": "string",
  11092. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11093. "name": "endDate",
  11094. "in": "query"
  11095. }
  11096. ],
  11097. "responses": {
  11098. "200": {
  11099. "description": "OK",
  11100. "schema": {
  11101. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11102. }
  11103. },
  11104. "500": {
  11105. "description": "Internal Server Error",
  11106. "schema": {
  11107. "$ref": "#/definitions/app.Response"
  11108. }
  11109. }
  11110. }
  11111. }
  11112. },
  11113. "/Tjmd/QueryQuoteGoodsList": {
  11114. "get": {
  11115. "security": [
  11116. {
  11117. "ApiKeyAuth": []
  11118. }
  11119. ],
  11120. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11121. "produces": [
  11122. "application/json"
  11123. ],
  11124. "tags": [
  11125. "天津麦顿"
  11126. ],
  11127. "summary": "查询掉期报价列表",
  11128. "parameters": [
  11129. {
  11130. "type": "integer",
  11131. "description": "用户类型",
  11132. "name": "usertype",
  11133. "in": "query",
  11134. "required": true
  11135. },
  11136. {
  11137. "type": "string",
  11138. "description": "市场id, 格式 1,2,3",
  11139. "name": "marketids",
  11140. "in": "query"
  11141. },
  11142. {
  11143. "type": "integer",
  11144. "description": "商品组id",
  11145. "name": "goodsgroupid",
  11146. "in": "query"
  11147. },
  11148. {
  11149. "type": "integer",
  11150. "description": "商品id",
  11151. "name": "goodsid",
  11152. "in": "query"
  11153. }
  11154. ],
  11155. "responses": {
  11156. "200": {
  11157. "description": "OK",
  11158. "schema": {
  11159. "type": "array",
  11160. "items": {
  11161. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11162. }
  11163. }
  11164. },
  11165. "500": {
  11166. "description": "Internal Server Error",
  11167. "schema": {
  11168. "$ref": "#/definitions/app.Response"
  11169. }
  11170. }
  11171. }
  11172. }
  11173. },
  11174. "/Tjmd/QueryTjmdMarketSection": {
  11175. "get": {
  11176. "security": [
  11177. {
  11178. "ApiKeyAuth": []
  11179. }
  11180. ],
  11181. "produces": [
  11182. "application/json"
  11183. ],
  11184. "tags": [
  11185. "天津麦顿"
  11186. ],
  11187. "summary": "查询市场板块",
  11188. "responses": {
  11189. "200": {
  11190. "description": "OK",
  11191. "schema": {
  11192. "type": "array",
  11193. "items": {
  11194. "$ref": "#/definitions/models.TjmdMarketSection"
  11195. }
  11196. }
  11197. },
  11198. "500": {
  11199. "description": "Internal Server Error",
  11200. "schema": {
  11201. "$ref": "#/definitions/app.Response"
  11202. }
  11203. }
  11204. }
  11205. }
  11206. },
  11207. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11208. "get": {
  11209. "security": [
  11210. {
  11211. "ApiKeyAuth": []
  11212. }
  11213. ],
  11214. "produces": [
  11215. "application/json"
  11216. ],
  11217. "tags": [
  11218. "天津麦顿"
  11219. ],
  11220. "summary": "查询今日账户保证金配置",
  11221. "parameters": [
  11222. {
  11223. "type": "string",
  11224. "description": "市场id",
  11225. "name": "marketid",
  11226. "in": "query"
  11227. },
  11228. {
  11229. "type": "string",
  11230. "description": "商品id",
  11231. "name": "goodsid",
  11232. "in": "query"
  11233. },
  11234. {
  11235. "type": "string",
  11236. "description": "资金账号",
  11237. "name": "accountid",
  11238. "in": "query"
  11239. }
  11240. ],
  11241. "responses": {
  11242. "200": {
  11243. "description": "OK",
  11244. "schema": {
  11245. "type": "array",
  11246. "items": {
  11247. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11248. }
  11249. }
  11250. },
  11251. "500": {
  11252. "description": "Internal Server Error",
  11253. "schema": {
  11254. "$ref": "#/definitions/app.Response"
  11255. }
  11256. }
  11257. }
  11258. }
  11259. },
  11260. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11261. "get": {
  11262. "security": [
  11263. {
  11264. "ApiKeyAuth": []
  11265. }
  11266. ],
  11267. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11268. "produces": [
  11269. "application/json"
  11270. ],
  11271. "tags": [
  11272. "天津麦顿"
  11273. ],
  11274. "summary": "查询掉期买卖大厅",
  11275. "parameters": [
  11276. {
  11277. "type": "integer",
  11278. "description": "页码",
  11279. "name": "page",
  11280. "in": "query"
  11281. },
  11282. {
  11283. "type": "integer",
  11284. "description": "每页条数",
  11285. "name": "pagesize",
  11286. "in": "query"
  11287. },
  11288. {
  11289. "type": "integer",
  11290. "description": "用户id",
  11291. "name": "userid",
  11292. "in": "query",
  11293. "required": true
  11294. },
  11295. {
  11296. "type": "integer",
  11297. "description": "用户类型",
  11298. "name": "usertype",
  11299. "in": "query",
  11300. "required": true
  11301. },
  11302. {
  11303. "type": "string",
  11304. "description": "市场id, 格式 1,2,3",
  11305. "name": "marketids",
  11306. "in": "query"
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "商品id",
  11311. "name": "goodsid",
  11312. "in": "query",
  11313. "required": true
  11314. },
  11315. {
  11316. "type": "integer",
  11317. "description": "买卖方向 0-买 1-卖",
  11318. "name": "buyorsell",
  11319. "in": "query",
  11320. "required": true
  11321. }
  11322. ],
  11323. "responses": {
  11324. "200": {
  11325. "description": "OK",
  11326. "schema": {
  11327. "type": "array",
  11328. "items": {
  11329. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11330. }
  11331. }
  11332. },
  11333. "500": {
  11334. "description": "Internal Server Error",
  11335. "schema": {
  11336. "$ref": "#/definitions/app.Response"
  11337. }
  11338. }
  11339. }
  11340. }
  11341. },
  11342. "/Tjmd/QueryTjmdTransferApply": {
  11343. "get": {
  11344. "security": [
  11345. {
  11346. "ApiKeyAuth": []
  11347. }
  11348. ],
  11349. "produces": [
  11350. "application/json"
  11351. ],
  11352. "tags": [
  11353. "天津麦顿"
  11354. ],
  11355. "summary": "查询掉期协议单",
  11356. "parameters": [
  11357. {
  11358. "type": "integer",
  11359. "description": "类型 1-我的申请 2-对方申请",
  11360. "name": "applytype",
  11361. "in": "query",
  11362. "required": true
  11363. },
  11364. {
  11365. "type": "string",
  11366. "description": "市场id, 格式 1,2,3",
  11367. "name": "marketids",
  11368. "in": "query"
  11369. },
  11370. {
  11371. "type": "string",
  11372. "description": "资金账号, 格式 25000000001,25000000003",
  11373. "name": "accountids",
  11374. "in": "query"
  11375. },
  11376. {
  11377. "type": "string",
  11378. "description": "开始交易日(yyyymmdd)",
  11379. "name": "begindate",
  11380. "in": "query"
  11381. },
  11382. {
  11383. "type": "string",
  11384. "description": "结束交易日(yyyymmdd)",
  11385. "name": "enddate",
  11386. "in": "query"
  11387. }
  11388. ],
  11389. "responses": {
  11390. "200": {
  11391. "description": "OK",
  11392. "schema": {
  11393. "type": "array",
  11394. "items": {
  11395. "$ref": "#/definitions/models.TjmdTransferApply"
  11396. }
  11397. }
  11398. },
  11399. "500": {
  11400. "description": "Internal Server Error",
  11401. "schema": {
  11402. "$ref": "#/definitions/app.Response"
  11403. }
  11404. }
  11405. }
  11406. }
  11407. },
  11408. "/Trade/QueryRecieptOrder": {
  11409. "get": {
  11410. "security": [
  11411. {
  11412. "ApiKeyAuth": []
  11413. }
  11414. ],
  11415. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11416. "produces": [
  11417. "application/json"
  11418. ],
  11419. "tags": [
  11420. "通用交易"
  11421. ],
  11422. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11423. "parameters": [
  11424. {
  11425. "type": "integer",
  11426. "description": "页码",
  11427. "name": "page",
  11428. "in": "query"
  11429. },
  11430. {
  11431. "type": "integer",
  11432. "description": "每页条数",
  11433. "name": "pagesize",
  11434. "in": "query"
  11435. },
  11436. {
  11437. "type": "integer",
  11438. "description": "商品ID",
  11439. "name": "goodsID",
  11440. "in": "query",
  11441. "required": true
  11442. },
  11443. {
  11444. "type": "string",
  11445. "description": "所属账户名称",
  11446. "name": "accountName",
  11447. "in": "query"
  11448. },
  11449. {
  11450. "type": "integer",
  11451. "description": "市场ID",
  11452. "name": "marketID",
  11453. "in": "query"
  11454. },
  11455. {
  11456. "type": "integer",
  11457. "description": "方向 - 0:买 1:卖",
  11458. "name": "buyorsell",
  11459. "in": "query",
  11460. "required": true
  11461. }
  11462. ],
  11463. "responses": {
  11464. "200": {
  11465. "description": "OK",
  11466. "schema": {
  11467. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11468. }
  11469. },
  11470. "500": {
  11471. "description": "Internal Server Error",
  11472. "schema": {
  11473. "$ref": "#/definitions/app.Response"
  11474. }
  11475. }
  11476. }
  11477. }
  11478. },
  11479. "/User/AddMessageBoard": {
  11480. "post": {
  11481. "security": [
  11482. {
  11483. "ApiKeyAuth": []
  11484. }
  11485. ],
  11486. "produces": [
  11487. "application/json"
  11488. ],
  11489. "tags": [
  11490. "用户信息"
  11491. ],
  11492. "summary": "添加用户留言板信息",
  11493. "parameters": [
  11494. {
  11495. "type": "integer",
  11496. "description": "用户ID",
  11497. "name": "userID",
  11498. "in": "query",
  11499. "required": true
  11500. },
  11501. {
  11502. "type": "string",
  11503. "description": "留言信息",
  11504. "name": "message",
  11505. "in": "query",
  11506. "required": true
  11507. },
  11508. {
  11509. "type": "string",
  11510. "description": "联系电话",
  11511. "name": "contactNum",
  11512. "in": "query",
  11513. "required": true
  11514. }
  11515. ],
  11516. "responses": {
  11517. "200": {
  11518. "description": "OK",
  11519. "schema": {
  11520. "$ref": "#/definitions/app.Response"
  11521. }
  11522. },
  11523. "500": {
  11524. "description": "Internal Server Error",
  11525. "schema": {
  11526. "$ref": "#/definitions/app.Response"
  11527. }
  11528. }
  11529. }
  11530. }
  11531. },
  11532. "/User/AddUserFavoriteGoods": {
  11533. "post": {
  11534. "security": [
  11535. {
  11536. "ApiKeyAuth": []
  11537. }
  11538. ],
  11539. "produces": [
  11540. "application/json"
  11541. ],
  11542. "tags": [
  11543. "用户信息"
  11544. ],
  11545. "summary": "添加用户商品收藏信息",
  11546. "parameters": [
  11547. {
  11548. "type": "integer",
  11549. "description": "用户ID",
  11550. "name": "userID",
  11551. "in": "query",
  11552. "required": true
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "商品ID",
  11557. "name": "goodsID",
  11558. "in": "query",
  11559. "required": true
  11560. }
  11561. ],
  11562. "responses": {
  11563. "200": {
  11564. "description": "OK",
  11565. "schema": {
  11566. "$ref": "#/definitions/app.Response"
  11567. }
  11568. },
  11569. "500": {
  11570. "description": "Internal Server Error",
  11571. "schema": {
  11572. "$ref": "#/definitions/app.Response"
  11573. }
  11574. }
  11575. }
  11576. }
  11577. },
  11578. "/User/GetLoginID": {
  11579. "get": {
  11580. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11581. "produces": [
  11582. "application/json"
  11583. ],
  11584. "tags": [
  11585. "用户信息"
  11586. ],
  11587. "summary": "获取登录ID",
  11588. "parameters": [
  11589. {
  11590. "type": "string",
  11591. "description": "登录代码",
  11592. "name": "username",
  11593. "in": "query",
  11594. "required": true
  11595. }
  11596. ],
  11597. "responses": {
  11598. "200": {
  11599. "description": "OK",
  11600. "schema": {
  11601. "$ref": "#/definitions/app.Response"
  11602. }
  11603. },
  11604. "500": {
  11605. "description": "Internal Server Error",
  11606. "schema": {
  11607. "$ref": "#/definitions/app.Response"
  11608. }
  11609. }
  11610. }
  11611. }
  11612. },
  11613. "/User/GetUserAccount": {
  11614. "get": {
  11615. "security": [
  11616. {
  11617. "ApiKeyAuth": []
  11618. }
  11619. ],
  11620. "produces": [
  11621. "application/json"
  11622. ],
  11623. "tags": [
  11624. "用户信息"
  11625. ],
  11626. "summary": "获取用户账号信息",
  11627. "parameters": [
  11628. {
  11629. "type": "integer",
  11630. "description": "用户ID",
  11631. "name": "userID",
  11632. "in": "query",
  11633. "required": true
  11634. }
  11635. ],
  11636. "responses": {
  11637. "200": {
  11638. "description": "OK",
  11639. "schema": {
  11640. "$ref": "#/definitions/models.Useraccount"
  11641. }
  11642. },
  11643. "500": {
  11644. "description": "Internal Server Error",
  11645. "schema": {
  11646. "$ref": "#/definitions/app.Response"
  11647. }
  11648. }
  11649. }
  11650. }
  11651. },
  11652. "/User/GetUserAuthStatus": {
  11653. "get": {
  11654. "security": [
  11655. {
  11656. "ApiKeyAuth": []
  11657. }
  11658. ],
  11659. "produces": [
  11660. "application/json"
  11661. ],
  11662. "tags": [
  11663. "用户信息"
  11664. ],
  11665. "summary": "获取用户实名认证状态",
  11666. "parameters": [
  11667. {
  11668. "type": "integer",
  11669. "description": "用户ID",
  11670. "name": "userID",
  11671. "in": "query",
  11672. "required": true
  11673. }
  11674. ],
  11675. "responses": {
  11676. "200": {
  11677. "description": "OK",
  11678. "schema": {
  11679. "$ref": "#/definitions/app.Response"
  11680. }
  11681. },
  11682. "500": {
  11683. "description": "Internal Server Error",
  11684. "schema": {
  11685. "$ref": "#/definitions/app.Response"
  11686. }
  11687. }
  11688. }
  11689. }
  11690. },
  11691. "/User/LoginQuery": {
  11692. "get": {
  11693. "security": [
  11694. {
  11695. "ApiKeyAuth": []
  11696. }
  11697. ],
  11698. "produces": [
  11699. "application/json"
  11700. ],
  11701. "tags": [
  11702. "用户信息"
  11703. ],
  11704. "summary": "账户登录后信息查询",
  11705. "parameters": [
  11706. {
  11707. "type": "integer",
  11708. "description": "登录账号",
  11709. "name": "loginID",
  11710. "in": "query",
  11711. "required": true
  11712. }
  11713. ],
  11714. "responses": {
  11715. "200": {
  11716. "description": "OK",
  11717. "schema": {
  11718. "$ref": "#/definitions/user.LoginQueryRsp"
  11719. }
  11720. },
  11721. "500": {
  11722. "description": "Internal Server Error",
  11723. "schema": {
  11724. "$ref": "#/definitions/app.Response"
  11725. }
  11726. }
  11727. }
  11728. }
  11729. },
  11730. "/User/QueryMessageBoard": {
  11731. "get": {
  11732. "security": [
  11733. {
  11734. "ApiKeyAuth": []
  11735. }
  11736. ],
  11737. "produces": [
  11738. "application/json"
  11739. ],
  11740. "tags": [
  11741. "用户信息"
  11742. ],
  11743. "summary": "获取用户留言板信息",
  11744. "parameters": [
  11745. {
  11746. "type": "integer",
  11747. "description": "用户ID",
  11748. "name": "userID",
  11749. "in": "query",
  11750. "required": true
  11751. }
  11752. ],
  11753. "responses": {
  11754. "200": {
  11755. "description": "OK",
  11756. "schema": {
  11757. "$ref": "#/definitions/models.Messageboard"
  11758. }
  11759. },
  11760. "500": {
  11761. "description": "Internal Server Error",
  11762. "schema": {
  11763. "$ref": "#/definitions/app.Response"
  11764. }
  11765. }
  11766. }
  11767. }
  11768. },
  11769. "/User/QueryUserFavoriteGoodses": {
  11770. "get": {
  11771. "security": [
  11772. {
  11773. "ApiKeyAuth": []
  11774. }
  11775. ],
  11776. "produces": [
  11777. "application/json"
  11778. ],
  11779. "tags": [
  11780. "用户信息"
  11781. ],
  11782. "summary": "获取用户商品收藏信息",
  11783. "parameters": [
  11784. {
  11785. "type": "integer",
  11786. "description": "用户ID",
  11787. "name": "userID",
  11788. "in": "query",
  11789. "required": true
  11790. }
  11791. ],
  11792. "responses": {
  11793. "200": {
  11794. "description": "OK",
  11795. "schema": {
  11796. "$ref": "#/definitions/models.Userfavoritegoods"
  11797. }
  11798. },
  11799. "500": {
  11800. "description": "Internal Server Error",
  11801. "schema": {
  11802. "$ref": "#/definitions/app.Response"
  11803. }
  11804. }
  11805. }
  11806. }
  11807. },
  11808. "/User/QueryUserInfo": {
  11809. "get": {
  11810. "security": [
  11811. {
  11812. "ApiKeyAuth": []
  11813. }
  11814. ],
  11815. "produces": [
  11816. "application/json"
  11817. ],
  11818. "tags": [
  11819. "用户信息"
  11820. ],
  11821. "summary": "获取用户信息",
  11822. "parameters": [
  11823. {
  11824. "type": "integer",
  11825. "description": "用户ID",
  11826. "name": "userID",
  11827. "in": "query",
  11828. "required": true
  11829. },
  11830. {
  11831. "type": "boolean",
  11832. "description": "是否解密",
  11833. "name": "isDecrypt",
  11834. "in": "query"
  11835. }
  11836. ],
  11837. "responses": {
  11838. "200": {
  11839. "description": "OK",
  11840. "schema": {
  11841. "$ref": "#/definitions/models.Userinfo"
  11842. }
  11843. },
  11844. "500": {
  11845. "description": "Internal Server Error",
  11846. "schema": {
  11847. "$ref": "#/definitions/app.Response"
  11848. }
  11849. }
  11850. }
  11851. }
  11852. },
  11853. "/User/QueryUserReferNum": {
  11854. "get": {
  11855. "produces": [
  11856. "application/json"
  11857. ],
  11858. "tags": [
  11859. "用户信息"
  11860. ],
  11861. "summary": "获取用户邀请码",
  11862. "parameters": [
  11863. {
  11864. "type": "integer",
  11865. "description": "用户ID",
  11866. "name": "userID",
  11867. "in": "query",
  11868. "required": true
  11869. }
  11870. ],
  11871. "responses": {
  11872. "200": {
  11873. "description": "OK",
  11874. "schema": {
  11875. "$ref": "#/definitions/app.Response"
  11876. }
  11877. },
  11878. "500": {
  11879. "description": "Internal Server Error",
  11880. "schema": {
  11881. "$ref": "#/definitions/app.Response"
  11882. }
  11883. }
  11884. }
  11885. }
  11886. },
  11887. "/User/RemoveUserFavoriteGoods": {
  11888. "post": {
  11889. "security": [
  11890. {
  11891. "ApiKeyAuth": []
  11892. }
  11893. ],
  11894. "produces": [
  11895. "application/json"
  11896. ],
  11897. "tags": [
  11898. "用户信息"
  11899. ],
  11900. "summary": "移除用户商品收藏信息",
  11901. "parameters": [
  11902. {
  11903. "type": "integer",
  11904. "description": "用户ID",
  11905. "name": "userID",
  11906. "in": "query",
  11907. "required": true
  11908. },
  11909. {
  11910. "type": "integer",
  11911. "description": "商品ID",
  11912. "name": "goodsID",
  11913. "in": "query",
  11914. "required": true
  11915. }
  11916. ],
  11917. "responses": {
  11918. "200": {
  11919. "description": "OK",
  11920. "schema": {
  11921. "$ref": "#/definitions/app.Response"
  11922. }
  11923. },
  11924. "500": {
  11925. "description": "Internal Server Error",
  11926. "schema": {
  11927. "$ref": "#/definitions/app.Response"
  11928. }
  11929. }
  11930. }
  11931. }
  11932. },
  11933. "/User/UpdateUserAccountStatus": {
  11934. "post": {
  11935. "security": [
  11936. {
  11937. "ApiKeyAuth": []
  11938. }
  11939. ],
  11940. "produces": [
  11941. "application/json"
  11942. ],
  11943. "tags": [
  11944. "用户信息"
  11945. ],
  11946. "summary": "更新用户状态",
  11947. "parameters": [
  11948. {
  11949. "type": "integer",
  11950. "description": "用户ID",
  11951. "name": "userID",
  11952. "in": "query",
  11953. "required": true
  11954. },
  11955. {
  11956. "type": "integer",
  11957. "description": "账户状态 - 4:正常 6:注销(停用)",
  11958. "name": "accountStatus",
  11959. "in": "query",
  11960. "required": true
  11961. }
  11962. ],
  11963. "responses": {
  11964. "200": {
  11965. "description": "OK",
  11966. "schema": {
  11967. "$ref": "#/definitions/app.Response"
  11968. }
  11969. },
  11970. "500": {
  11971. "description": "Internal Server Error",
  11972. "schema": {
  11973. "$ref": "#/definitions/app.Response"
  11974. }
  11975. }
  11976. }
  11977. }
  11978. },
  11979. "/WRTrade/GetAllDeliveryGoods": {
  11980. "get": {
  11981. "security": [
  11982. {
  11983. "ApiKeyAuth": []
  11984. },
  11985. {
  11986. "ApiKeyAuth": []
  11987. }
  11988. ],
  11989. "produces": [
  11990. "application/json",
  11991. "application/json"
  11992. ],
  11993. "tags": [
  11994. "仓单贸易",
  11995. "仓单贸易"
  11996. ],
  11997. "summary": "获取带仓单分类的种类信息",
  11998. "responses": {
  11999. "200": {
  12000. "description": "OK",
  12001. "schema": {
  12002. "$ref": "#/definitions/app.Response"
  12003. }
  12004. },
  12005. "500": {
  12006. "description": "Internal Server Error",
  12007. "schema": {
  12008. "$ref": "#/definitions/app.Response"
  12009. }
  12010. }
  12011. }
  12012. }
  12013. },
  12014. "/WrTrade2/QueryDeliveryGoodsSection": {
  12015. "get": {
  12016. "security": [
  12017. {
  12018. "ApiKeyAuth": []
  12019. }
  12020. ],
  12021. "produces": [
  12022. "application/json"
  12023. ],
  12024. "tags": [
  12025. "仓单贸易v2"
  12026. ],
  12027. "summary": "查询板块(分类)",
  12028. "responses": {
  12029. "200": {
  12030. "description": "OK",
  12031. "schema": {
  12032. "type": "array",
  12033. "items": {
  12034. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12035. }
  12036. }
  12037. },
  12038. "500": {
  12039. "description": "Internal Server Error",
  12040. "schema": {
  12041. "$ref": "#/definitions/app.Response"
  12042. }
  12043. }
  12044. }
  12045. }
  12046. },
  12047. "/WrTrade2/QueryFaProductDetail": {
  12048. "get": {
  12049. "security": [
  12050. {
  12051. "ApiKeyAuth": []
  12052. }
  12053. ],
  12054. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12055. "produces": [
  12056. "application/json"
  12057. ],
  12058. "tags": [
  12059. "仓单贸易v2"
  12060. ],
  12061. "summary": "查询融资产品列表",
  12062. "parameters": [
  12063. {
  12064. "type": "integer",
  12065. "description": "仓单要素id",
  12066. "name": "wrfactortypeid",
  12067. "in": "query",
  12068. "required": true
  12069. }
  12070. ],
  12071. "responses": {
  12072. "200": {
  12073. "description": "OK",
  12074. "schema": {
  12075. "type": "array",
  12076. "items": {
  12077. "$ref": "#/definitions/models.WrFAProductDetail"
  12078. }
  12079. }
  12080. },
  12081. "500": {
  12082. "description": "Internal Server Error",
  12083. "schema": {
  12084. "$ref": "#/definitions/app.Response"
  12085. }
  12086. }
  12087. }
  12088. }
  12089. },
  12090. "/WrTrade2/QueryFilterItem": {
  12091. "get": {
  12092. "security": [
  12093. {
  12094. "ApiKeyAuth": []
  12095. }
  12096. ],
  12097. "produces": [
  12098. "application/json"
  12099. ],
  12100. "tags": [
  12101. "仓单贸易v2"
  12102. ],
  12103. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12104. "parameters": [
  12105. {
  12106. "type": "string",
  12107. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12108. "name": "itype",
  12109. "in": "query",
  12110. "required": true
  12111. }
  12112. ],
  12113. "responses": {
  12114. "200": {
  12115. "description": "OK",
  12116. "schema": {
  12117. "type": "array",
  12118. "items": {
  12119. "$ref": "#/definitions/models.WrFilterItem"
  12120. }
  12121. }
  12122. },
  12123. "500": {
  12124. "description": "Internal Server Error",
  12125. "schema": {
  12126. "$ref": "#/definitions/app.Response"
  12127. }
  12128. }
  12129. }
  12130. }
  12131. },
  12132. "/WrTrade2/QueryFtDeliveryGoods": {
  12133. "get": {
  12134. "security": [
  12135. {
  12136. "ApiKeyAuth": []
  12137. }
  12138. ],
  12139. "produces": [
  12140. "application/json"
  12141. ],
  12142. "tags": [
  12143. "仓单贸易v2"
  12144. ],
  12145. "summary": "查询品种品类筛选框列表",
  12146. "responses": {
  12147. "200": {
  12148. "description": "OK",
  12149. "schema": {
  12150. "type": "array",
  12151. "items": {
  12152. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12153. }
  12154. }
  12155. },
  12156. "500": {
  12157. "description": "Internal Server Error",
  12158. "schema": {
  12159. "$ref": "#/definitions/app.Response"
  12160. }
  12161. }
  12162. }
  12163. }
  12164. },
  12165. "/WrTrade2/QueryHoldLB": {
  12166. "get": {
  12167. "security": [
  12168. {
  12169. "ApiKeyAuth": []
  12170. }
  12171. ],
  12172. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12173. "produces": [
  12174. "application/json"
  12175. ],
  12176. "tags": [
  12177. "仓单贸易v2"
  12178. ],
  12179. "summary": "查询仓单持有记录",
  12180. "parameters": [
  12181. {
  12182. "type": "integer",
  12183. "description": "资金账号",
  12184. "name": "accountid",
  12185. "in": "query",
  12186. "required": true
  12187. },
  12188. {
  12189. "type": "integer",
  12190. "description": "仓库id",
  12191. "name": "warehouseid",
  12192. "in": "query"
  12193. },
  12194. {
  12195. "type": "integer",
  12196. "description": "品种id",
  12197. "name": "deliverygoodsid",
  12198. "in": "query"
  12199. },
  12200. {
  12201. "type": "integer",
  12202. "description": "品类id",
  12203. "name": "wrstandardid",
  12204. "in": "query"
  12205. },
  12206. {
  12207. "type": "integer",
  12208. "description": "仓单要素id",
  12209. "name": "wrfactortypeid",
  12210. "in": "query"
  12211. },
  12212. {
  12213. "type": "string",
  12214. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12215. "name": "dgitemname",
  12216. "in": "query"
  12217. }
  12218. ],
  12219. "responses": {
  12220. "200": {
  12221. "description": "OK",
  12222. "schema": {
  12223. "type": "array",
  12224. "items": {
  12225. "$ref": "#/definitions/models.WrHoldLB"
  12226. }
  12227. }
  12228. },
  12229. "500": {
  12230. "description": "Internal Server Error",
  12231. "schema": {
  12232. "$ref": "#/definitions/app.Response"
  12233. }
  12234. }
  12235. }
  12236. }
  12237. },
  12238. "/WrTrade2/QueryOrderQuote": {
  12239. "get": {
  12240. "security": [
  12241. {
  12242. "ApiKeyAuth": []
  12243. }
  12244. ],
  12245. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12246. "produces": [
  12247. "application/json"
  12248. ],
  12249. "tags": [
  12250. "仓单贸易v2"
  12251. ],
  12252. "summary": "查询大厅行情列表",
  12253. "parameters": [
  12254. {
  12255. "type": "integer",
  12256. "description": "页码",
  12257. "name": "page",
  12258. "in": "query"
  12259. },
  12260. {
  12261. "type": "integer",
  12262. "description": "每页条数",
  12263. "name": "pagesize",
  12264. "in": "query"
  12265. },
  12266. {
  12267. "type": "integer",
  12268. "description": "仓单贸易市场id",
  12269. "name": "marketid",
  12270. "in": "query"
  12271. },
  12272. {
  12273. "type": "integer",
  12274. "description": "价格方式 - 1:固定价 2-浮动价",
  12275. "name": "wrpricetype",
  12276. "in": "query",
  12277. "required": true
  12278. },
  12279. {
  12280. "type": "integer",
  12281. "description": "0:仓单预售 1:仓单贸易",
  12282. "name": "haswr",
  12283. "in": "query"
  12284. },
  12285. {
  12286. "type": "string",
  12287. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12288. "name": "dgitemname",
  12289. "in": "query"
  12290. },
  12291. {
  12292. "type": "integer",
  12293. "description": "仓库id(筛选条件)",
  12294. "name": "warehouseid",
  12295. "in": "query"
  12296. },
  12297. {
  12298. "type": "integer",
  12299. "description": "品种id",
  12300. "name": "deliverygoodsid",
  12301. "in": "query"
  12302. },
  12303. {
  12304. "type": "integer",
  12305. "description": "品类id",
  12306. "name": "wrstandardid",
  12307. "in": "query"
  12308. },
  12309. {
  12310. "type": "integer",
  12311. "description": "仓单要素id",
  12312. "name": "wrfactortypeid",
  12313. "in": "query"
  12314. },
  12315. {
  12316. "type": "string",
  12317. "description": "交收月(yyyy-mm) 仓单预售填写",
  12318. "name": "deliverymonth",
  12319. "in": "query"
  12320. }
  12321. ],
  12322. "responses": {
  12323. "200": {
  12324. "description": "OK",
  12325. "schema": {
  12326. "type": "array",
  12327. "items": {
  12328. "$ref": "#/definitions/models.WrOrderQuote"
  12329. }
  12330. }
  12331. },
  12332. "500": {
  12333. "description": "Internal Server Error",
  12334. "schema": {
  12335. "$ref": "#/definitions/app.Response"
  12336. }
  12337. }
  12338. }
  12339. }
  12340. },
  12341. "/WrTrade2/QueryOrderQuoteDetail": {
  12342. "get": {
  12343. "security": [
  12344. {
  12345. "ApiKeyAuth": []
  12346. }
  12347. ],
  12348. "produces": [
  12349. "application/json"
  12350. ],
  12351. "tags": [
  12352. "仓单贸易v2"
  12353. ],
  12354. "summary": "查询买卖大厅",
  12355. "parameters": [
  12356. {
  12357. "type": "integer",
  12358. "description": "页码",
  12359. "name": "page",
  12360. "in": "query"
  12361. },
  12362. {
  12363. "type": "integer",
  12364. "description": "每页条数",
  12365. "name": "pagesize",
  12366. "in": "query"
  12367. },
  12368. {
  12369. "type": "integer",
  12370. "description": "仓单贸易市场id",
  12371. "name": "marketid",
  12372. "in": "query"
  12373. },
  12374. {
  12375. "type": "integer",
  12376. "description": "价格方式 - 1:固定价 2-浮动价",
  12377. "name": "wrpricetype",
  12378. "in": "query",
  12379. "required": true
  12380. },
  12381. {
  12382. "type": "integer",
  12383. "description": "0:仓单预售 1:仓单贸易",
  12384. "name": "haswr",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "仓单要素id",
  12390. "name": "wrfactortypeid",
  12391. "in": "query",
  12392. "required": true
  12393. },
  12394. {
  12395. "type": "integer",
  12396. "description": "期货商品id(浮动价方式时填)",
  12397. "name": "goodsid",
  12398. "in": "query"
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "买卖方向 0-买 1-卖",
  12403. "name": "buyorsell",
  12404. "in": "query",
  12405. "required": true
  12406. },
  12407. {
  12408. "type": "string",
  12409. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12410. "name": "deliverymonth",
  12411. "in": "query"
  12412. }
  12413. ],
  12414. "responses": {
  12415. "200": {
  12416. "description": "OK",
  12417. "schema": {
  12418. "type": "array",
  12419. "items": {
  12420. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12421. }
  12422. }
  12423. },
  12424. "500": {
  12425. "description": "Internal Server Error",
  12426. "schema": {
  12427. "$ref": "#/definitions/app.Response"
  12428. }
  12429. }
  12430. }
  12431. }
  12432. },
  12433. "/WrTrade2/QueryOrderQuoteMyq": {
  12434. "get": {
  12435. "security": [
  12436. {
  12437. "ApiKeyAuth": []
  12438. }
  12439. ],
  12440. "produces": [
  12441. "application/json"
  12442. ],
  12443. "tags": [
  12444. "仓单贸易v2"
  12445. ],
  12446. "summary": "查询贸易圈挂牌大厅",
  12447. "parameters": [
  12448. {
  12449. "type": "integer",
  12450. "description": "页码",
  12451. "name": "page",
  12452. "in": "query"
  12453. },
  12454. {
  12455. "type": "integer",
  12456. "description": "每页条数",
  12457. "name": "pagesize",
  12458. "in": "query"
  12459. },
  12460. {
  12461. "type": "integer",
  12462. "description": "用户id",
  12463. "name": "userid",
  12464. "in": "query",
  12465. "required": true
  12466. },
  12467. {
  12468. "type": "integer",
  12469. "description": "仓单贸易市场id",
  12470. "name": "marketid",
  12471. "in": "query"
  12472. },
  12473. {
  12474. "type": "integer",
  12475. "description": "0:仓单预售 1:仓单贸易",
  12476. "name": "haswr",
  12477. "in": "query"
  12478. },
  12479. {
  12480. "type": "integer",
  12481. "description": "买卖方向 0-买 1-卖",
  12482. "name": "buyorsell",
  12483. "in": "query",
  12484. "required": true
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "品种id",
  12489. "name": "deliverygoodsid",
  12490. "in": "query"
  12491. },
  12492. {
  12493. "type": "integer",
  12494. "description": "品类id",
  12495. "name": "wrstandardid",
  12496. "in": "query"
  12497. },
  12498. {
  12499. "type": "string",
  12500. "description": "交收月(yyyy-mm) 仓单预售填写",
  12501. "name": "deliverymonth",
  12502. "in": "query"
  12503. },
  12504. {
  12505. "type": "string",
  12506. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12507. "name": "dgitemname",
  12508. "in": "query"
  12509. }
  12510. ],
  12511. "responses": {
  12512. "200": {
  12513. "description": "OK",
  12514. "schema": {
  12515. "type": "array",
  12516. "items": {
  12517. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12518. }
  12519. }
  12520. },
  12521. "500": {
  12522. "description": "Internal Server Error",
  12523. "schema": {
  12524. "$ref": "#/definitions/app.Response"
  12525. }
  12526. }
  12527. }
  12528. }
  12529. },
  12530. "/WrTrade2/QueryPerformancePlan": {
  12531. "get": {
  12532. "security": [
  12533. {
  12534. "ApiKeyAuth": []
  12535. }
  12536. ],
  12537. "produces": [
  12538. "application/json"
  12539. ],
  12540. "tags": [
  12541. "仓单贸易v2"
  12542. ],
  12543. "summary": "查询履约信息",
  12544. "parameters": [
  12545. {
  12546. "type": "integer",
  12547. "description": "用户id",
  12548. "name": "userid",
  12549. "in": "query",
  12550. "required": true
  12551. },
  12552. {
  12553. "type": "integer",
  12554. "description": "买卖方向 0-买 1-卖",
  12555. "name": "buyorsell",
  12556. "in": "query",
  12557. "required": true
  12558. }
  12559. ],
  12560. "responses": {
  12561. "200": {
  12562. "description": "OK",
  12563. "schema": {
  12564. "type": "array",
  12565. "items": {
  12566. "$ref": "#/definitions/models.WrPerformancePlan"
  12567. }
  12568. }
  12569. },
  12570. "500": {
  12571. "description": "Internal Server Error",
  12572. "schema": {
  12573. "$ref": "#/definitions/app.Response"
  12574. }
  12575. }
  12576. }
  12577. }
  12578. },
  12579. "/WrTrade2/QueryPermancePlanTmp": {
  12580. "get": {
  12581. "security": [
  12582. {
  12583. "ApiKeyAuth": []
  12584. }
  12585. ],
  12586. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12587. "produces": [
  12588. "application/json"
  12589. ],
  12590. "tags": [
  12591. "仓单贸易v2"
  12592. ],
  12593. "summary": "查询履约模板",
  12594. "parameters": [
  12595. {
  12596. "type": "integer",
  12597. "description": "用户id",
  12598. "name": "userid",
  12599. "in": "query"
  12600. },
  12601. {
  12602. "type": "string",
  12603. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12604. "name": "tmptype",
  12605. "in": "query"
  12606. },
  12607. {
  12608. "type": "integer",
  12609. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12610. "name": "includepub",
  12611. "in": "query"
  12612. }
  12613. ],
  12614. "responses": {
  12615. "200": {
  12616. "description": "OK",
  12617. "schema": {
  12618. "type": "array",
  12619. "items": {
  12620. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12621. }
  12622. }
  12623. },
  12624. "500": {
  12625. "description": "Internal Server Error",
  12626. "schema": {
  12627. "$ref": "#/definitions/app.Response"
  12628. }
  12629. }
  12630. }
  12631. }
  12632. },
  12633. "/WrTrade2/QuerySiteColumnDetail": {
  12634. "get": {
  12635. "security": [
  12636. {
  12637. "ApiKeyAuth": []
  12638. }
  12639. ],
  12640. "produces": [
  12641. "application/json"
  12642. ],
  12643. "tags": [
  12644. "仓单贸易v2"
  12645. ],
  12646. "summary": "查询资讯",
  12647. "parameters": [
  12648. {
  12649. "type": "integer",
  12650. "description": "页码",
  12651. "name": "page",
  12652. "in": "query"
  12653. },
  12654. {
  12655. "type": "integer",
  12656. "description": "每页条数",
  12657. "name": "pagesize",
  12658. "in": "query"
  12659. }
  12660. ],
  12661. "responses": {
  12662. "200": {
  12663. "description": "OK",
  12664. "schema": {
  12665. "type": "array",
  12666. "items": {
  12667. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12668. }
  12669. }
  12670. },
  12671. "500": {
  12672. "description": "Internal Server Error",
  12673. "schema": {
  12674. "$ref": "#/definitions/app.Response"
  12675. }
  12676. }
  12677. }
  12678. }
  12679. },
  12680. "/WrTrade2/QuerySpotGroupTradeSum": {
  12681. "get": {
  12682. "security": [
  12683. {
  12684. "ApiKeyAuth": []
  12685. }
  12686. ],
  12687. "produces": [
  12688. "application/json"
  12689. ],
  12690. "tags": [
  12691. "仓单贸易v2"
  12692. ],
  12693. "summary": "查询指数",
  12694. "responses": {
  12695. "200": {
  12696. "description": "OK",
  12697. "schema": {
  12698. "type": "array",
  12699. "items": {
  12700. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12701. }
  12702. }
  12703. },
  12704. "500": {
  12705. "description": "Internal Server Error",
  12706. "schema": {
  12707. "$ref": "#/definitions/app.Response"
  12708. }
  12709. }
  12710. }
  12711. }
  12712. },
  12713. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12714. "get": {
  12715. "security": [
  12716. {
  12717. "ApiKeyAuth": []
  12718. }
  12719. ],
  12720. "description": "查询的结果将会按日期 从小到大 排序",
  12721. "produces": [
  12722. "application/json"
  12723. ],
  12724. "tags": [
  12725. "仓单贸易v2"
  12726. ],
  12727. "summary": "查询指数详细(价格走势图)",
  12728. "parameters": [
  12729. {
  12730. "type": "integer",
  12731. "description": "现货商品id",
  12732. "name": "deliverygoodsid",
  12733. "in": "query",
  12734. "required": true
  12735. },
  12736. {
  12737. "type": "integer",
  12738. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12739. "name": "lastnum",
  12740. "in": "query"
  12741. }
  12742. ],
  12743. "responses": {
  12744. "200": {
  12745. "description": "OK",
  12746. "schema": {
  12747. "type": "array",
  12748. "items": {
  12749. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12750. }
  12751. }
  12752. },
  12753. "500": {
  12754. "description": "Internal Server Error",
  12755. "schema": {
  12756. "$ref": "#/definitions/app.Response"
  12757. }
  12758. }
  12759. }
  12760. }
  12761. },
  12762. "/WrTrade2/QueryWrAverageTradePrice": {
  12763. "get": {
  12764. "security": [
  12765. {
  12766. "ApiKeyAuth": []
  12767. }
  12768. ],
  12769. "produces": [
  12770. "application/json"
  12771. ],
  12772. "tags": [
  12773. "仓单贸易v2"
  12774. ],
  12775. "summary": "查询成交价(历史走势)",
  12776. "parameters": [
  12777. {
  12778. "type": "integer",
  12779. "description": "页码",
  12780. "name": "page",
  12781. "in": "query"
  12782. },
  12783. {
  12784. "type": "integer",
  12785. "description": "每页条数",
  12786. "name": "pagesize",
  12787. "in": "query"
  12788. },
  12789. {
  12790. "type": "integer",
  12791. "description": "0:仓单预售 1:仓单贸易",
  12792. "name": "haswr",
  12793. "in": "query",
  12794. "required": true
  12795. },
  12796. {
  12797. "type": "integer",
  12798. "description": "仓单要素id",
  12799. "name": "wrfactortypeid",
  12800. "in": "query",
  12801. "required": true
  12802. }
  12803. ],
  12804. "responses": {
  12805. "200": {
  12806. "description": "OK",
  12807. "schema": {
  12808. "type": "array",
  12809. "items": {
  12810. "$ref": "#/definitions/models.WrAverageTradePrice"
  12811. }
  12812. }
  12813. },
  12814. "500": {
  12815. "description": "Internal Server Error",
  12816. "schema": {
  12817. "$ref": "#/definitions/app.Response"
  12818. }
  12819. }
  12820. }
  12821. }
  12822. },
  12823. "/WrTrade2/QueryWrBsGoodsInfo": {
  12824. "get": {
  12825. "security": [
  12826. {
  12827. "ApiKeyAuth": []
  12828. }
  12829. ],
  12830. "description": "合约交易/买卖大厅/详情",
  12831. "produces": [
  12832. "application/json"
  12833. ],
  12834. "tags": [
  12835. "仓单贸易v2"
  12836. ],
  12837. "summary": "查询合约交易买卖大厅详情",
  12838. "parameters": [
  12839. {
  12840. "type": "integer",
  12841. "description": "商品id",
  12842. "name": "goodsid",
  12843. "in": "query",
  12844. "required": true
  12845. }
  12846. ],
  12847. "responses": {
  12848. "200": {
  12849. "description": "OK",
  12850. "schema": {
  12851. "type": "array",
  12852. "items": {
  12853. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12854. }
  12855. }
  12856. },
  12857. "500": {
  12858. "description": "Internal Server Error",
  12859. "schema": {
  12860. "$ref": "#/definitions/app.Response"
  12861. }
  12862. }
  12863. }
  12864. }
  12865. },
  12866. "/WrTrade2/QueryWrBuybackDetail": {
  12867. "get": {
  12868. "security": [
  12869. {
  12870. "ApiKeyAuth": []
  12871. }
  12872. ],
  12873. "produces": [
  12874. "application/json"
  12875. ],
  12876. "tags": [
  12877. "仓单贸易v2"
  12878. ],
  12879. "summary": "查询仓单回购明细",
  12880. "parameters": [
  12881. {
  12882. "type": "integer",
  12883. "description": "融资合同id",
  12884. "name": "scfcontractid",
  12885. "in": "query"
  12886. }
  12887. ],
  12888. "responses": {
  12889. "200": {
  12890. "description": "OK",
  12891. "schema": {
  12892. "type": "array",
  12893. "items": {
  12894. "$ref": "#/definitions/models.WrBuybackDetail"
  12895. }
  12896. }
  12897. },
  12898. "500": {
  12899. "description": "Internal Server Error",
  12900. "schema": {
  12901. "$ref": "#/definitions/app.Response"
  12902. }
  12903. }
  12904. }
  12905. }
  12906. },
  12907. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12908. "get": {
  12909. "security": [
  12910. {
  12911. "ApiKeyAuth": []
  12912. }
  12913. ],
  12914. "produces": [
  12915. "application/json"
  12916. ],
  12917. "tags": [
  12918. "仓单贸易v2"
  12919. ],
  12920. "summary": "查询合约交收可点选仓单",
  12921. "parameters": [
  12922. {
  12923. "type": "integer",
  12924. "description": "资金账号",
  12925. "name": "accountid",
  12926. "in": "query",
  12927. "required": true
  12928. },
  12929. {
  12930. "type": "integer",
  12931. "description": "商品id",
  12932. "name": "goodsid",
  12933. "in": "query",
  12934. "required": true
  12935. }
  12936. ],
  12937. "responses": {
  12938. "200": {
  12939. "description": "OK",
  12940. "schema": {
  12941. "type": "array",
  12942. "items": {
  12943. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12944. }
  12945. }
  12946. },
  12947. "500": {
  12948. "description": "Internal Server Error",
  12949. "schema": {
  12950. "$ref": "#/definitions/app.Response"
  12951. }
  12952. }
  12953. }
  12954. }
  12955. },
  12956. "/WrTrade2/QueryWrDeliveryDetail": {
  12957. "get": {
  12958. "security": [
  12959. {
  12960. "ApiKeyAuth": []
  12961. }
  12962. ],
  12963. "produces": [
  12964. "application/json"
  12965. ],
  12966. "tags": [
  12967. "仓单贸易v2"
  12968. ],
  12969. "summary": "查询交收",
  12970. "parameters": [
  12971. {
  12972. "type": "integer",
  12973. "description": "用户id",
  12974. "name": "userid",
  12975. "in": "query",
  12976. "required": true
  12977. },
  12978. {
  12979. "type": "integer",
  12980. "description": "资金账号id",
  12981. "name": "accountid",
  12982. "in": "query"
  12983. },
  12984. {
  12985. "type": "string",
  12986. "description": "开始交易日(yyyymmdd)",
  12987. "name": "begindate",
  12988. "in": "query"
  12989. },
  12990. {
  12991. "type": "string",
  12992. "description": "结束交易日(yyyymmdd)",
  12993. "name": "enddate",
  12994. "in": "query"
  12995. }
  12996. ],
  12997. "responses": {
  12998. "200": {
  12999. "description": "OK",
  13000. "schema": {
  13001. "type": "array",
  13002. "items": {
  13003. "$ref": "#/definitions/models.WrDeliveryDetail"
  13004. }
  13005. }
  13006. },
  13007. "500": {
  13008. "description": "Internal Server Error",
  13009. "schema": {
  13010. "$ref": "#/definitions/app.Response"
  13011. }
  13012. }
  13013. }
  13014. }
  13015. },
  13016. "/WrTrade2/QueryWrFactorTypeInfo": {
  13017. "get": {
  13018. "security": [
  13019. {
  13020. "ApiKeyAuth": []
  13021. }
  13022. ],
  13023. "produces": [
  13024. "application/json"
  13025. ],
  13026. "tags": [
  13027. "仓单贸易v2"
  13028. ],
  13029. "summary": "查询仓单要素详细信息",
  13030. "parameters": [
  13031. {
  13032. "type": "integer",
  13033. "description": "仓单要素id",
  13034. "name": "wrfactortypeid",
  13035. "in": "query",
  13036. "required": true
  13037. }
  13038. ],
  13039. "responses": {
  13040. "200": {
  13041. "description": "OK",
  13042. "schema": {
  13043. "type": "array",
  13044. "items": {
  13045. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13046. }
  13047. }
  13048. },
  13049. "500": {
  13050. "description": "Internal Server Error",
  13051. "schema": {
  13052. "$ref": "#/definitions/app.Response"
  13053. }
  13054. }
  13055. }
  13056. }
  13057. },
  13058. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13059. "get": {
  13060. "security": [
  13061. {
  13062. "ApiKeyAuth": []
  13063. }
  13064. ],
  13065. "produces": [
  13066. "application/json"
  13067. ],
  13068. "tags": [
  13069. "仓单贸易v2"
  13070. ],
  13071. "summary": "查询仓单要素详细信息列表项",
  13072. "parameters": [
  13073. {
  13074. "type": "integer",
  13075. "description": "仓单要素id",
  13076. "name": "wrfactortypeid",
  13077. "in": "query",
  13078. "required": true
  13079. }
  13080. ],
  13081. "responses": {
  13082. "200": {
  13083. "description": "OK",
  13084. "schema": {
  13085. "type": "array",
  13086. "items": {
  13087. "$ref": "#/definitions/models.WrTypeItem"
  13088. }
  13089. }
  13090. },
  13091. "500": {
  13092. "description": "Internal Server Error",
  13093. "schema": {
  13094. "$ref": "#/definitions/app.Response"
  13095. }
  13096. }
  13097. }
  13098. }
  13099. },
  13100. "/WrTrade2/QueryWrFinanceBuyApply": {
  13101. "get": {
  13102. "security": [
  13103. {
  13104. "ApiKeyAuth": []
  13105. }
  13106. ],
  13107. "description": "页面 融资信息+ / 申请单",
  13108. "produces": [
  13109. "application/json"
  13110. ],
  13111. "tags": [
  13112. "仓单贸易v2"
  13113. ],
  13114. "summary": "查询融资购买申请",
  13115. "parameters": [
  13116. {
  13117. "type": "integer",
  13118. "description": "用户id",
  13119. "name": "userid",
  13120. "in": "query",
  13121. "required": true
  13122. }
  13123. ],
  13124. "responses": {
  13125. "200": {
  13126. "description": "OK",
  13127. "schema": {
  13128. "type": "array",
  13129. "items": {
  13130. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13131. }
  13132. }
  13133. },
  13134. "500": {
  13135. "description": "Internal Server Error",
  13136. "schema": {
  13137. "$ref": "#/definitions/app.Response"
  13138. }
  13139. }
  13140. }
  13141. }
  13142. },
  13143. "/WrTrade2/QueryWrFriendApply": {
  13144. "get": {
  13145. "security": [
  13146. {
  13147. "ApiKeyAuth": []
  13148. }
  13149. ],
  13150. "produces": [
  13151. "application/json"
  13152. ],
  13153. "tags": [
  13154. "仓单贸易v2"
  13155. ],
  13156. "summary": "查询好友申请记录",
  13157. "parameters": [
  13158. {
  13159. "type": "integer",
  13160. "description": "用户id",
  13161. "name": "userid",
  13162. "in": "query",
  13163. "required": true
  13164. }
  13165. ],
  13166. "responses": {
  13167. "200": {
  13168. "description": "OK",
  13169. "schema": {
  13170. "type": "array",
  13171. "items": {
  13172. "$ref": "#/definitions/models.WrFriendApply"
  13173. }
  13174. }
  13175. },
  13176. "500": {
  13177. "description": "Internal Server Error",
  13178. "schema": {
  13179. "$ref": "#/definitions/app.Response"
  13180. }
  13181. }
  13182. }
  13183. }
  13184. },
  13185. "/WrTrade2/QueryWrGoodsInfo": {
  13186. "get": {
  13187. "security": [
  13188. {
  13189. "ApiKeyAuth": []
  13190. }
  13191. ],
  13192. "produces": [
  13193. "application/json"
  13194. ],
  13195. "tags": [
  13196. "仓单贸易v2"
  13197. ],
  13198. "summary": "查询仓单商品信息",
  13199. "parameters": [
  13200. {
  13201. "type": "integer",
  13202. "description": "仓单贸易市场id",
  13203. "name": "marketid",
  13204. "in": "query"
  13205. },
  13206. {
  13207. "type": "integer",
  13208. "description": "0:仓单预售 1:仓单贸易",
  13209. "name": "haswr",
  13210. "in": "query",
  13211. "required": true
  13212. },
  13213. {
  13214. "type": "integer",
  13215. "description": "仓单要素id",
  13216. "name": "wrfactortypeid",
  13217. "in": "query",
  13218. "required": true
  13219. },
  13220. {
  13221. "type": "integer",
  13222. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13223. "name": "tmplateid",
  13224. "in": "query"
  13225. }
  13226. ],
  13227. "responses": {
  13228. "200": {
  13229. "description": "OK",
  13230. "schema": {
  13231. "type": "array",
  13232. "items": {
  13233. "$ref": "#/definitions/models.WrGoodsInfo"
  13234. }
  13235. }
  13236. },
  13237. "500": {
  13238. "description": "Internal Server Error",
  13239. "schema": {
  13240. "$ref": "#/definitions/app.Response"
  13241. }
  13242. }
  13243. }
  13244. }
  13245. },
  13246. "/WrTrade2/QueryWrMarketTradeConfig": {
  13247. "get": {
  13248. "security": [
  13249. {
  13250. "ApiKeyAuth": []
  13251. }
  13252. ],
  13253. "produces": [
  13254. "application/json"
  13255. ],
  13256. "tags": [
  13257. "仓单贸易v2"
  13258. ],
  13259. "summary": "查询市场交易参数配置",
  13260. "parameters": [
  13261. {
  13262. "type": "integer",
  13263. "description": "市场id",
  13264. "name": "marketid",
  13265. "in": "query"
  13266. }
  13267. ],
  13268. "responses": {
  13269. "200": {
  13270. "description": "OK",
  13271. "schema": {
  13272. "type": "array",
  13273. "items": {
  13274. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13275. }
  13276. }
  13277. },
  13278. "500": {
  13279. "description": "Internal Server Error",
  13280. "schema": {
  13281. "$ref": "#/definitions/app.Response"
  13282. }
  13283. }
  13284. }
  13285. }
  13286. },
  13287. "/WrTrade2/QueryWrOrderDetail": {
  13288. "get": {
  13289. "security": [
  13290. {
  13291. "ApiKeyAuth": []
  13292. }
  13293. ],
  13294. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13295. "produces": [
  13296. "application/json"
  13297. ],
  13298. "tags": [
  13299. "仓单贸易v2"
  13300. ],
  13301. "summary": "查询仓单委托单(挂单)",
  13302. "parameters": [
  13303. {
  13304. "type": "integer",
  13305. "description": "页码",
  13306. "name": "page",
  13307. "in": "query"
  13308. },
  13309. {
  13310. "type": "integer",
  13311. "description": "每页条数",
  13312. "name": "pagesize",
  13313. "in": "query"
  13314. },
  13315. {
  13316. "type": "integer",
  13317. "description": "用户id",
  13318. "name": "userid",
  13319. "in": "query",
  13320. "required": true
  13321. },
  13322. {
  13323. "type": "integer",
  13324. "description": "仓单贸易市场id",
  13325. "name": "marketid",
  13326. "in": "query"
  13327. },
  13328. {
  13329. "type": "integer",
  13330. "description": "0:仓单预售 1:仓单贸易",
  13331. "name": "haswr",
  13332. "in": "query",
  13333. "required": true
  13334. },
  13335. {
  13336. "type": "string",
  13337. "description": "开始交易日(yyyymmdd)",
  13338. "name": "begindate",
  13339. "in": "query"
  13340. },
  13341. {
  13342. "type": "string",
  13343. "description": "结束交易日(yyyymmdd)",
  13344. "name": "enddate",
  13345. "in": "query"
  13346. }
  13347. ],
  13348. "responses": {
  13349. "200": {
  13350. "description": "OK",
  13351. "schema": {
  13352. "type": "array",
  13353. "items": {
  13354. "$ref": "#/definitions/models.WrOrderDetail"
  13355. }
  13356. }
  13357. },
  13358. "500": {
  13359. "description": "Internal Server Error",
  13360. "schema": {
  13361. "$ref": "#/definitions/app.Response"
  13362. }
  13363. }
  13364. }
  13365. }
  13366. },
  13367. "/WrTrade2/QueryWrOutInApply": {
  13368. "get": {
  13369. "security": [
  13370. {
  13371. "ApiKeyAuth": []
  13372. }
  13373. ],
  13374. "produces": [
  13375. "application/json"
  13376. ],
  13377. "tags": [
  13378. "仓单贸易v2"
  13379. ],
  13380. "summary": "查询提货申请",
  13381. "parameters": [
  13382. {
  13383. "type": "integer",
  13384. "description": "用户id",
  13385. "name": "userid",
  13386. "in": "query",
  13387. "required": true
  13388. },
  13389. {
  13390. "type": "string",
  13391. "description": "开始交易日(yyyymmdd)",
  13392. "name": "begindate",
  13393. "in": "query"
  13394. },
  13395. {
  13396. "type": "string",
  13397. "description": "结束交易日(yyyymmdd)",
  13398. "name": "enddate",
  13399. "in": "query"
  13400. }
  13401. ],
  13402. "responses": {
  13403. "200": {
  13404. "description": "OK",
  13405. "schema": {
  13406. "type": "array",
  13407. "items": {
  13408. "$ref": "#/definitions/models.WrOutInApply"
  13409. }
  13410. }
  13411. },
  13412. "500": {
  13413. "description": "Internal Server Error",
  13414. "schema": {
  13415. "$ref": "#/definitions/app.Response"
  13416. }
  13417. }
  13418. }
  13419. }
  13420. },
  13421. "/WrTrade2/QueryWrPerformancePlanStep": {
  13422. "get": {
  13423. "security": [
  13424. {
  13425. "ApiKeyAuth": []
  13426. }
  13427. ],
  13428. "produces": [
  13429. "application/json"
  13430. ],
  13431. "tags": [
  13432. "仓单贸易v2"
  13433. ],
  13434. "summary": "查询履约信息详情",
  13435. "parameters": [
  13436. {
  13437. "type": "integer",
  13438. "description": "履约计划id(performanceplanid)",
  13439. "name": "planid",
  13440. "in": "query",
  13441. "required": true
  13442. },
  13443. {
  13444. "type": "integer",
  13445. "description": "当前步骤id",
  13446. "name": "curstepid",
  13447. "in": "query"
  13448. }
  13449. ],
  13450. "responses": {
  13451. "200": {
  13452. "description": "OK",
  13453. "schema": {
  13454. "type": "array",
  13455. "items": {
  13456. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13457. }
  13458. }
  13459. },
  13460. "500": {
  13461. "description": "Internal Server Error",
  13462. "schema": {
  13463. "$ref": "#/definitions/app.Response"
  13464. }
  13465. }
  13466. }
  13467. }
  13468. },
  13469. "/WrTrade2/QueryWrPerformanceStepType": {
  13470. "get": {
  13471. "security": [
  13472. {
  13473. "ApiKeyAuth": []
  13474. }
  13475. ],
  13476. "produces": [
  13477. "application/json"
  13478. ],
  13479. "tags": [
  13480. "仓单贸易v2"
  13481. ],
  13482. "summary": "查询履约步骤枚举",
  13483. "responses": {
  13484. "200": {
  13485. "description": "OK",
  13486. "schema": {
  13487. "type": "array",
  13488. "items": {
  13489. "$ref": "#/definitions/models.WrPerformanceStepType"
  13490. }
  13491. }
  13492. },
  13493. "500": {
  13494. "description": "Internal Server Error",
  13495. "schema": {
  13496. "$ref": "#/definitions/app.Response"
  13497. }
  13498. }
  13499. }
  13500. }
  13501. },
  13502. "/WrTrade2/QueryWrPosition": {
  13503. "get": {
  13504. "security": [
  13505. {
  13506. "ApiKeyAuth": []
  13507. }
  13508. ],
  13509. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13510. "produces": [
  13511. "application/json"
  13512. ],
  13513. "tags": [
  13514. "仓单贸易v2"
  13515. ],
  13516. "summary": "查询现货(预售)仓单持仓",
  13517. "parameters": [
  13518. {
  13519. "type": "integer",
  13520. "description": "用户id",
  13521. "name": "userid",
  13522. "in": "query",
  13523. "required": true
  13524. },
  13525. {
  13526. "type": "integer",
  13527. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13528. "name": "querytype",
  13529. "in": "query",
  13530. "required": true
  13531. },
  13532. {
  13533. "type": "integer",
  13534. "description": "0:仓单预售 1:仓单贸易",
  13535. "name": "haswr",
  13536. "in": "query",
  13537. "required": true
  13538. },
  13539. {
  13540. "type": "string",
  13541. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13542. "name": "dgitemname",
  13543. "in": "query"
  13544. },
  13545. {
  13546. "type": "integer",
  13547. "description": "仓库id(筛选条件)",
  13548. "name": "warehouseid",
  13549. "in": "query"
  13550. },
  13551. {
  13552. "type": "integer",
  13553. "description": "品种id",
  13554. "name": "deliverygoodsid",
  13555. "in": "query"
  13556. },
  13557. {
  13558. "type": "integer",
  13559. "description": "品类id",
  13560. "name": "wrstandardid",
  13561. "in": "query"
  13562. }
  13563. ],
  13564. "responses": {
  13565. "200": {
  13566. "description": "OK",
  13567. "schema": {
  13568. "type": "array",
  13569. "items": {
  13570. "$ref": "#/definitions/models.WrPosition"
  13571. }
  13572. }
  13573. },
  13574. "500": {
  13575. "description": "Internal Server Error",
  13576. "schema": {
  13577. "$ref": "#/definitions/app.Response"
  13578. }
  13579. }
  13580. }
  13581. }
  13582. },
  13583. "/WrTrade2/QueryWrScfContract": {
  13584. "get": {
  13585. "security": [
  13586. {
  13587. "ApiKeyAuth": []
  13588. }
  13589. ],
  13590. "produces": [
  13591. "application/json"
  13592. ],
  13593. "tags": [
  13594. "仓单贸易v2"
  13595. ],
  13596. "summary": "查询仓单贸易融资合同",
  13597. "parameters": [
  13598. {
  13599. "type": "integer",
  13600. "description": "用户id",
  13601. "name": "userid",
  13602. "in": "query",
  13603. "required": true
  13604. },
  13605. {
  13606. "type": "integer",
  13607. "description": "融资合同id",
  13608. "name": "scfcontractid",
  13609. "in": "query"
  13610. }
  13611. ],
  13612. "responses": {
  13613. "200": {
  13614. "description": "OK",
  13615. "schema": {
  13616. "type": "array",
  13617. "items": {
  13618. "$ref": "#/definitions/models.WrScfContract"
  13619. }
  13620. }
  13621. },
  13622. "500": {
  13623. "description": "Internal Server Error",
  13624. "schema": {
  13625. "$ref": "#/definitions/app.Response"
  13626. }
  13627. }
  13628. }
  13629. }
  13630. },
  13631. "/WrTrade2/QueryWrScfContractInterest": {
  13632. "get": {
  13633. "security": [
  13634. {
  13635. "ApiKeyAuth": []
  13636. }
  13637. ],
  13638. "produces": [
  13639. "application/json"
  13640. ],
  13641. "tags": [
  13642. "仓单贸易v2"
  13643. ],
  13644. "summary": "查询融资合同费用明细",
  13645. "parameters": [
  13646. {
  13647. "type": "integer",
  13648. "description": "融资合同id",
  13649. "name": "scfcontractid",
  13650. "in": "query"
  13651. }
  13652. ],
  13653. "responses": {
  13654. "200": {
  13655. "description": "OK",
  13656. "schema": {
  13657. "type": "array",
  13658. "items": {
  13659. "$ref": "#/definitions/models.WrScfContractInterest"
  13660. }
  13661. }
  13662. },
  13663. "500": {
  13664. "description": "Internal Server Error",
  13665. "schema": {
  13666. "$ref": "#/definitions/app.Response"
  13667. }
  13668. }
  13669. }
  13670. }
  13671. },
  13672. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13673. "get": {
  13674. "security": [
  13675. {
  13676. "ApiKeyAuth": []
  13677. }
  13678. ],
  13679. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13680. "produces": [
  13681. "application/json"
  13682. ],
  13683. "tags": [
  13684. "仓单贸易v2"
  13685. ],
  13686. "summary": "查询指定成交",
  13687. "parameters": [
  13688. {
  13689. "type": "integer",
  13690. "description": "页码",
  13691. "name": "page",
  13692. "in": "query"
  13693. },
  13694. {
  13695. "type": "integer",
  13696. "description": "每页条数",
  13697. "name": "pagesize",
  13698. "in": "query"
  13699. },
  13700. {
  13701. "type": "integer",
  13702. "description": "用户id",
  13703. "name": "userid",
  13704. "in": "query",
  13705. "required": true
  13706. },
  13707. {
  13708. "type": "integer",
  13709. "description": "仓单贸易市场id",
  13710. "name": "marketid",
  13711. "in": "query"
  13712. },
  13713. {
  13714. "type": "integer",
  13715. "description": "0:仓单预售 1:仓单贸易",
  13716. "name": "haswr",
  13717. "in": "query",
  13718. "required": true
  13719. },
  13720. {
  13721. "type": "integer",
  13722. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13723. "name": "isspecified",
  13724. "in": "query"
  13725. }
  13726. ],
  13727. "responses": {
  13728. "200": {
  13729. "description": "OK",
  13730. "schema": {
  13731. "type": "array",
  13732. "items": {
  13733. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13734. }
  13735. }
  13736. },
  13737. "500": {
  13738. "description": "Internal Server Error",
  13739. "schema": {
  13740. "$ref": "#/definitions/app.Response"
  13741. }
  13742. }
  13743. }
  13744. }
  13745. },
  13746. "/WrTrade2/QueryWrStandardFactoryItem": {
  13747. "get": {
  13748. "security": [
  13749. {
  13750. "ApiKeyAuth": []
  13751. }
  13752. ],
  13753. "produces": [
  13754. "application/json"
  13755. ],
  13756. "tags": [
  13757. "仓单贸易v2"
  13758. ],
  13759. "summary": "查询品类要素定义项",
  13760. "parameters": [
  13761. {
  13762. "type": "integer",
  13763. "description": "品类id",
  13764. "name": "wrstandardid",
  13765. "in": "query",
  13766. "required": true
  13767. }
  13768. ],
  13769. "responses": {
  13770. "200": {
  13771. "description": "OK",
  13772. "schema": {
  13773. "type": "array",
  13774. "items": {
  13775. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13776. }
  13777. }
  13778. },
  13779. "500": {
  13780. "description": "Internal Server Error",
  13781. "schema": {
  13782. "$ref": "#/definitions/app.Response"
  13783. }
  13784. }
  13785. }
  13786. }
  13787. },
  13788. "/WrTrade2/QueryWrTradeBargainApply": {
  13789. "get": {
  13790. "security": [
  13791. {
  13792. "ApiKeyAuth": []
  13793. }
  13794. ],
  13795. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13796. "produces": [
  13797. "application/json"
  13798. ],
  13799. "tags": [
  13800. "仓单贸易v2"
  13801. ],
  13802. "summary": "查询议价单",
  13803. "parameters": [
  13804. {
  13805. "type": "integer",
  13806. "description": "议价人id(摘牌方)",
  13807. "name": "userid",
  13808. "in": "query"
  13809. },
  13810. {
  13811. "type": "integer",
  13812. "description": "挂牌方id(查对方议价时,填写此项)",
  13813. "name": "matchuserid",
  13814. "in": "query"
  13815. },
  13816. {
  13817. "type": "integer",
  13818. "description": "关联委托单id",
  13819. "name": "wrtradeorderid",
  13820. "in": "query"
  13821. },
  13822. {
  13823. "type": "integer",
  13824. "description": "0:仓单预售 1:仓单贸易",
  13825. "name": "haswr",
  13826. "in": "query",
  13827. "required": true
  13828. },
  13829. {
  13830. "type": "string",
  13831. "description": "开始交易日(yyyymmdd)",
  13832. "name": "begindate",
  13833. "in": "query"
  13834. },
  13835. {
  13836. "type": "string",
  13837. "description": "结束交易日(yyyymmdd)",
  13838. "name": "enddate",
  13839. "in": "query"
  13840. }
  13841. ],
  13842. "responses": {
  13843. "200": {
  13844. "description": "OK",
  13845. "schema": {
  13846. "type": "array",
  13847. "items": {
  13848. "$ref": "#/definitions/models.WRTradeBargainApply"
  13849. }
  13850. }
  13851. },
  13852. "500": {
  13853. "description": "Internal Server Error",
  13854. "schema": {
  13855. "$ref": "#/definitions/app.Response"
  13856. }
  13857. }
  13858. }
  13859. }
  13860. },
  13861. "/WrTrade2/QueryWrTradeDetail": {
  13862. "get": {
  13863. "security": [
  13864. {
  13865. "ApiKeyAuth": []
  13866. }
  13867. ],
  13868. "produces": [
  13869. "application/json"
  13870. ],
  13871. "tags": [
  13872. "仓单贸易v2"
  13873. ],
  13874. "summary": "查询仓单成交明细",
  13875. "parameters": [
  13876. {
  13877. "type": "integer",
  13878. "description": "页码",
  13879. "name": "page",
  13880. "in": "query"
  13881. },
  13882. {
  13883. "type": "integer",
  13884. "description": "每页条数",
  13885. "name": "pagesize",
  13886. "in": "query"
  13887. },
  13888. {
  13889. "type": "integer",
  13890. "description": "用户id",
  13891. "name": "userid",
  13892. "in": "query",
  13893. "required": true
  13894. },
  13895. {
  13896. "type": "integer",
  13897. "description": "仓单贸易市场id",
  13898. "name": "marketid",
  13899. "in": "query"
  13900. },
  13901. {
  13902. "type": "integer",
  13903. "description": "0:仓单预售 1:仓单贸易",
  13904. "name": "haswr",
  13905. "in": "query",
  13906. "required": true
  13907. },
  13908. {
  13909. "type": "string",
  13910. "description": "开始交易日(yyyymmdd)",
  13911. "name": "begindate",
  13912. "in": "query"
  13913. },
  13914. {
  13915. "type": "string",
  13916. "description": "结束交易日(yyyymmdd)",
  13917. "name": "enddate",
  13918. "in": "query"
  13919. }
  13920. ],
  13921. "responses": {
  13922. "200": {
  13923. "description": "OK",
  13924. "schema": {
  13925. "type": "array",
  13926. "items": {
  13927. "$ref": "#/definitions/models.WrTradeDetail"
  13928. }
  13929. }
  13930. },
  13931. "500": {
  13932. "description": "Internal Server Error",
  13933. "schema": {
  13934. "$ref": "#/definitions/app.Response"
  13935. }
  13936. }
  13937. }
  13938. }
  13939. },
  13940. "/WrTrade2/QueryWrTradeOrderDetail": {
  13941. "get": {
  13942. "security": [
  13943. {
  13944. "ApiKeyAuth": []
  13945. }
  13946. ],
  13947. "produces": [
  13948. "application/json"
  13949. ],
  13950. "tags": [
  13951. "仓单贸易v2"
  13952. ],
  13953. "summary": "查询合约交易买卖大厅",
  13954. "parameters": [
  13955. {
  13956. "type": "integer",
  13957. "description": "页码",
  13958. "name": "page",
  13959. "in": "query"
  13960. },
  13961. {
  13962. "type": "integer",
  13963. "description": "每页条数",
  13964. "name": "pagesize",
  13965. "in": "query"
  13966. },
  13967. {
  13968. "type": "integer",
  13969. "description": "商品id",
  13970. "name": "goodsid",
  13971. "in": "query",
  13972. "required": true
  13973. },
  13974. {
  13975. "type": "integer",
  13976. "description": "买卖方向 0-买 1-卖",
  13977. "name": "buyorsell",
  13978. "in": "query",
  13979. "required": true
  13980. }
  13981. ],
  13982. "responses": {
  13983. "200": {
  13984. "description": "OK",
  13985. "schema": {
  13986. "type": "array",
  13987. "items": {
  13988. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13989. }
  13990. }
  13991. },
  13992. "500": {
  13993. "description": "Internal Server Error",
  13994. "schema": {
  13995. "$ref": "#/definitions/app.Response"
  13996. }
  13997. }
  13998. }
  13999. }
  14000. },
  14001. "/WrTrade2/QueryWrUserFriend": {
  14002. "get": {
  14003. "security": [
  14004. {
  14005. "ApiKeyAuth": []
  14006. }
  14007. ],
  14008. "produces": [
  14009. "application/json"
  14010. ],
  14011. "tags": [
  14012. "仓单贸易v2"
  14013. ],
  14014. "summary": "查询我的朋友",
  14015. "parameters": [
  14016. {
  14017. "type": "integer",
  14018. "description": "用户id",
  14019. "name": "userid",
  14020. "in": "query",
  14021. "required": true
  14022. },
  14023. {
  14024. "type": "integer",
  14025. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14026. "name": "newuserid",
  14027. "in": "query"
  14028. }
  14029. ],
  14030. "responses": {
  14031. "200": {
  14032. "description": "OK",
  14033. "schema": {
  14034. "type": "array",
  14035. "items": {
  14036. "$ref": "#/definitions/models.WrUserFriend"
  14037. }
  14038. }
  14039. },
  14040. "500": {
  14041. "description": "Internal Server Error",
  14042. "schema": {
  14043. "$ref": "#/definitions/app.Response"
  14044. }
  14045. }
  14046. }
  14047. }
  14048. },
  14049. "/WrTrade2/QueryWrUserReceiptInfo": {
  14050. "get": {
  14051. "security": [
  14052. {
  14053. "ApiKeyAuth": []
  14054. }
  14055. ],
  14056. "produces": [
  14057. "application/json"
  14058. ],
  14059. "tags": [
  14060. "仓单贸易v2"
  14061. ],
  14062. "summary": "查询发票信息",
  14063. "parameters": [
  14064. {
  14065. "type": "integer",
  14066. "description": "用户id",
  14067. "name": "userid",
  14068. "in": "query"
  14069. },
  14070. {
  14071. "type": "integer",
  14072. "description": "发票类型 - 1:个人 2:企业",
  14073. "name": "receipttype",
  14074. "in": "query"
  14075. }
  14076. ],
  14077. "responses": {
  14078. "200": {
  14079. "description": "OK",
  14080. "schema": {
  14081. "type": "array",
  14082. "items": {
  14083. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14084. }
  14085. }
  14086. },
  14087. "500": {
  14088. "description": "Internal Server Error",
  14089. "schema": {
  14090. "$ref": "#/definitions/app.Response"
  14091. }
  14092. }
  14093. }
  14094. }
  14095. },
  14096. "/ZJ/GetBankTip": {
  14097. "get": {
  14098. "produces": [
  14099. "application/json"
  14100. ],
  14101. "tags": [
  14102. "中江"
  14103. ],
  14104. "summary": "获取中江网银端出入金提示信息",
  14105. "responses": {
  14106. "200": {
  14107. "description": "OK",
  14108. "schema": {
  14109. "type": "string"
  14110. }
  14111. },
  14112. "500": {
  14113. "description": "Internal Server Error",
  14114. "schema": {
  14115. "$ref": "#/definitions/app.Response"
  14116. }
  14117. }
  14118. }
  14119. }
  14120. },
  14121. "/ZJ/GetCusBankChannels": {
  14122. "get": {
  14123. "produces": [
  14124. "application/json"
  14125. ],
  14126. "tags": [
  14127. "中江"
  14128. ],
  14129. "summary": "获取中江出入金渠道显示列表",
  14130. "responses": {
  14131. "200": {
  14132. "description": "OK",
  14133. "schema": {
  14134. "type": "array",
  14135. "items": {
  14136. "type": "string"
  14137. }
  14138. }
  14139. },
  14140. "500": {
  14141. "description": "Internal Server Error",
  14142. "schema": {
  14143. "$ref": "#/definitions/app.Response"
  14144. }
  14145. }
  14146. }
  14147. }
  14148. }
  14149. },
  14150. "definitions": {
  14151. "app.Response": {
  14152. "type": "object",
  14153. "properties": {
  14154. "code": {
  14155. "type": "integer"
  14156. },
  14157. "data": {
  14158. "type": "object"
  14159. },
  14160. "msg": {
  14161. "type": "string"
  14162. },
  14163. "page": {
  14164. "description": "页码",
  14165. "type": "integer"
  14166. },
  14167. "pagesize": {
  14168. "description": "每页条数",
  14169. "type": "integer"
  14170. },
  14171. "total": {
  14172. "description": "总条数",
  14173. "type": "integer"
  14174. }
  14175. }
  14176. },
  14177. "common.ClientMenu": {
  14178. "type": "object",
  14179. "properties": {
  14180. "children": {
  14181. "description": "子菜单列表",
  14182. "type": "array",
  14183. "items": {
  14184. "$ref": "#/definitions/common.ClientMenu"
  14185. }
  14186. },
  14187. "code": {
  14188. "description": "ID",
  14189. "type": "string"
  14190. },
  14191. "isshow": {
  14192. "description": "是否显示",
  14193. "type": "boolean"
  14194. },
  14195. "remark": {
  14196. "description": "备注",
  14197. "type": "string"
  14198. },
  14199. "rulekey": {
  14200. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14201. "type": "string"
  14202. },
  14203. "sort": {
  14204. "description": "排序",
  14205. "type": "integer"
  14206. },
  14207. "title": {
  14208. "description": "标题",
  14209. "type": "string"
  14210. },
  14211. "type": {
  14212. "description": "类型,1:菜单 2:按钮",
  14213. "type": "integer"
  14214. },
  14215. "url": {
  14216. "description": "URL",
  14217. "type": "string"
  14218. }
  14219. }
  14220. },
  14221. "common.PCWebMenu": {
  14222. "type": "object",
  14223. "properties": {
  14224. "auth": {
  14225. "description": "页面权限列表",
  14226. "type": "array",
  14227. "items": {
  14228. "$ref": "#/definitions/common.PCWebMenuAuth"
  14229. }
  14230. },
  14231. "children": {
  14232. "description": "子菜单列表",
  14233. "type": "array",
  14234. "items": {
  14235. "$ref": "#/definitions/common.PCWebMenu"
  14236. }
  14237. },
  14238. "code": {
  14239. "description": "ID,新版本中权限KEY也是这个字段",
  14240. "type": "string"
  14241. },
  14242. "component": {
  14243. "description": "路由组件",
  14244. "type": "string"
  14245. },
  14246. "isshow": {
  14247. "description": "是否显示",
  14248. "type": "boolean"
  14249. },
  14250. "path": {
  14251. "description": "路由路径",
  14252. "type": "string"
  14253. },
  14254. "remark": {
  14255. "description": "备注",
  14256. "type": "string"
  14257. },
  14258. "rulekey": {
  14259. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14260. "type": "string"
  14261. },
  14262. "sort": {
  14263. "description": "排序",
  14264. "type": "integer"
  14265. },
  14266. "title": {
  14267. "description": "标题",
  14268. "type": "string"
  14269. },
  14270. "url": {
  14271. "description": "URL",
  14272. "type": "string"
  14273. }
  14274. }
  14275. },
  14276. "common.PCWebMenuAuth": {
  14277. "type": "object",
  14278. "properties": {
  14279. "code": {
  14280. "description": "ID,新版本中权限KEY也是这个字段",
  14281. "type": "string"
  14282. },
  14283. "isshow": {
  14284. "description": "是否显示",
  14285. "type": "boolean"
  14286. },
  14287. "label": {
  14288. "description": "标题",
  14289. "type": "string"
  14290. },
  14291. "remark": {
  14292. "description": "备注",
  14293. "type": "string"
  14294. },
  14295. "rulekey": {
  14296. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14297. "type": "string"
  14298. }
  14299. }
  14300. },
  14301. "common.QueryImageConfigsRsp": {
  14302. "type": "object",
  14303. "required": [
  14304. "configid"
  14305. ],
  14306. "properties": {
  14307. "areauserid": {
  14308. "description": "所属机构ID",
  14309. "type": "integer"
  14310. },
  14311. "configid": {
  14312. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14313. "type": "integer"
  14314. },
  14315. "createdate": {
  14316. "description": "创建时间",
  14317. "type": "string"
  14318. },
  14319. "creatorid": {
  14320. "description": "创建人",
  14321. "type": "integer"
  14322. },
  14323. "imagepath": {
  14324. "description": "图片",
  14325. "type": "string"
  14326. },
  14327. "imagetype": {
  14328. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14329. "type": "integer"
  14330. },
  14331. "isshow": {
  14332. "description": "是否展示 - 0:不展示 1:展示",
  14333. "type": "integer"
  14334. },
  14335. "marketid": {
  14336. "description": "市场ID",
  14337. "type": "integer"
  14338. },
  14339. "modifierid": {
  14340. "description": "操作人",
  14341. "type": "integer"
  14342. },
  14343. "sort": {
  14344. "description": "排序",
  14345. "type": "integer"
  14346. },
  14347. "title": {
  14348. "description": "标题",
  14349. "type": "string"
  14350. },
  14351. "trademode": {
  14352. "description": "交易模式",
  14353. "type": "integer"
  14354. },
  14355. "updatedate": {
  14356. "description": "修改时间",
  14357. "type": "string"
  14358. },
  14359. "url": {
  14360. "description": "链接(地址或商品ID)",
  14361. "type": "string"
  14362. },
  14363. "urltype": {
  14364. "description": "链接类型 - 1:直接地址 2:商品ID",
  14365. "type": "integer"
  14366. }
  14367. }
  14368. },
  14369. "common.QueryNoticeRsp": {
  14370. "type": "object",
  14371. "required": [
  14372. "autoid"
  14373. ],
  14374. "properties": {
  14375. "auditoruserid": {
  14376. "description": "审核人",
  14377. "type": "integer"
  14378. },
  14379. "auditremark": {
  14380. "description": "审核备注",
  14381. "type": "string"
  14382. },
  14383. "audittime": {
  14384. "description": "审核日期",
  14385. "type": "string"
  14386. },
  14387. "autoid": {
  14388. "description": "自增ID",
  14389. "type": "integer"
  14390. },
  14391. "content": {
  14392. "description": "内容",
  14393. "type": "string"
  14394. },
  14395. "createtime": {
  14396. "description": "创建时间",
  14397. "type": "string"
  14398. },
  14399. "creatorid": {
  14400. "description": "建仓人",
  14401. "type": "integer"
  14402. },
  14403. "endtime": {
  14404. "description": "结束时间",
  14405. "type": "string"
  14406. },
  14407. "istop": {
  14408. "description": "是否置顶 - 0:不置顶 1:置顶",
  14409. "type": "integer"
  14410. },
  14411. "msgiconurl": {
  14412. "description": "消息图标Url",
  14413. "type": "string"
  14414. },
  14415. "msgtype": {
  14416. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14417. "type": "integer"
  14418. },
  14419. "publisher": {
  14420. "description": "消息发布者",
  14421. "type": "string"
  14422. },
  14423. "readed": {
  14424. "description": "是否已读",
  14425. "type": "boolean"
  14426. },
  14427. "scheduletime": {
  14428. "description": "计划发送时间",
  14429. "type": "string"
  14430. },
  14431. "sendtype": {
  14432. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14433. "type": "integer"
  14434. },
  14435. "sentstatus": {
  14436. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14437. "type": "integer"
  14438. },
  14439. "title": {
  14440. "description": "标题",
  14441. "type": "string"
  14442. },
  14443. "userid": {
  14444. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14445. "type": "integer"
  14446. }
  14447. }
  14448. },
  14449. "common.QueryProvincesAndCitiesRsp": {
  14450. "type": "object",
  14451. "properties": {
  14452. "cities": {
  14453. "description": "市",
  14454. "type": "array",
  14455. "items": {
  14456. "$ref": "#/definitions/models.Division"
  14457. }
  14458. },
  14459. "province": {
  14460. "description": "省",
  14461. "$ref": "#/definitions/models.Division"
  14462. }
  14463. }
  14464. },
  14465. "common.QueryTableDefineRsp": {
  14466. "type": "object",
  14467. "required": [
  14468. "tablekey"
  14469. ],
  14470. "properties": {
  14471. "columns": {
  14472. "description": "列头信息数组",
  14473. "type": "array",
  14474. "items": {
  14475. "$ref": "#/definitions/models.Tablecolumnconfig"
  14476. }
  14477. },
  14478. "remark": {
  14479. "description": "Remark",
  14480. "type": "string"
  14481. },
  14482. "tabelmenu": {
  14483. "description": "列表菜单",
  14484. "type": "string"
  14485. },
  14486. "tablekey": {
  14487. "description": "列表Key",
  14488. "type": "string"
  14489. },
  14490. "tablename": {
  14491. "description": "列表名称",
  14492. "type": "string"
  14493. },
  14494. "tabletype": {
  14495. "description": "列表类型 - 1:管理端 2:终端",
  14496. "type": "integer"
  14497. }
  14498. }
  14499. },
  14500. "common.QueryTraderMenuRsp": {
  14501. "type": "object",
  14502. "properties": {
  14503. "OperationMenu": {
  14504. "description": "功能菜单",
  14505. "type": "array",
  14506. "items": {
  14507. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14508. }
  14509. },
  14510. "QuoteMenu": {
  14511. "description": "报价牌分类菜单",
  14512. "type": "array",
  14513. "items": {
  14514. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14515. }
  14516. }
  14517. }
  14518. },
  14519. "cptrade.Cptradepositioncancel": {
  14520. "type": "object",
  14521. "required": [
  14522. "cancelid"
  14523. ],
  14524. "properties": {
  14525. "accountid": {
  14526. "description": "申请人账户ID",
  14527. "type": "integer"
  14528. },
  14529. "applystatus": {
  14530. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14531. "type": "integer"
  14532. },
  14533. "applytime": {
  14534. "description": "申请时间",
  14535. "type": "string"
  14536. },
  14537. "cancelid": {
  14538. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14539. "type": "integer"
  14540. },
  14541. "cancelqty": {
  14542. "description": "注销数量",
  14543. "type": "integer"
  14544. },
  14545. "createtime": {
  14546. "description": "创建时间",
  14547. "type": "string"
  14548. },
  14549. "creatorid": {
  14550. "description": "创建人ID",
  14551. "type": "integer"
  14552. },
  14553. "creatorname": {
  14554. "description": "创建人",
  14555. "type": "string"
  14556. },
  14557. "goodscode": {
  14558. "description": "订单商品代码",
  14559. "type": "string"
  14560. },
  14561. "goodsid": {
  14562. "description": "商品ID",
  14563. "type": "integer"
  14564. },
  14565. "goodsname": {
  14566. "description": "订单商品名称",
  14567. "type": "string"
  14568. },
  14569. "goodunit": {
  14570. "description": "报价单位",
  14571. "type": "string"
  14572. },
  14573. "handlestatus": {
  14574. "description": "处理状态",
  14575. "type": "integer"
  14576. },
  14577. "marketid": {
  14578. "description": "市场ID",
  14579. "type": "integer"
  14580. },
  14581. "marketname": {
  14582. "description": "市场名称",
  14583. "type": "string"
  14584. },
  14585. "tradedate": {
  14586. "description": "交易日(yyyyMMdd)",
  14587. "type": "string"
  14588. },
  14589. "userid": {
  14590. "description": "申请人ID",
  14591. "type": "integer"
  14592. }
  14593. }
  14594. },
  14595. "cptrade.Cptradepresaleapply": {
  14596. "type": "object",
  14597. "required": [
  14598. "applyid"
  14599. ],
  14600. "properties": {
  14601. "accountid": {
  14602. "description": "申请人账户ID",
  14603. "type": "integer"
  14604. },
  14605. "applyid": {
  14606. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14607. "type": "integer"
  14608. },
  14609. "applyremark": {
  14610. "description": "申请备注",
  14611. "type": "string"
  14612. },
  14613. "applystatus": {
  14614. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14615. "type": "integer"
  14616. },
  14617. "applytime": {
  14618. "description": "申请时间",
  14619. "type": "string"
  14620. },
  14621. "attachmenturl": {
  14622. "description": "附件地址",
  14623. "type": "string"
  14624. },
  14625. "endtime": {
  14626. "description": "预售结束时间",
  14627. "type": "string"
  14628. },
  14629. "goodscode": {
  14630. "description": "商品代码",
  14631. "type": "string"
  14632. },
  14633. "goodsid": {
  14634. "description": "商品ID",
  14635. "type": "integer"
  14636. },
  14637. "goodsname": {
  14638. "description": "商品名称",
  14639. "type": "string"
  14640. },
  14641. "goodunit": {
  14642. "description": "报价单位",
  14643. "type": "string"
  14644. },
  14645. "handlestatus": {
  14646. "description": "处理状态",
  14647. "type": "integer"
  14648. },
  14649. "marketid": {
  14650. "description": "预售市场ID",
  14651. "type": "integer"
  14652. },
  14653. "marketname": {
  14654. "description": "预售市场名称",
  14655. "type": "string"
  14656. },
  14657. "presaleqty": {
  14658. "description": "预售数量",
  14659. "type": "integer"
  14660. },
  14661. "relatedgoodscode": {
  14662. "description": "关联交易合约代码",
  14663. "type": "string"
  14664. },
  14665. "relatedgoodsid": {
  14666. "description": "关联交易合约ID",
  14667. "type": "integer"
  14668. },
  14669. "relatedgoodsname": {
  14670. "description": "关联交易合约名称",
  14671. "type": "string"
  14672. },
  14673. "starttime": {
  14674. "description": "预售开始时间",
  14675. "type": "string"
  14676. },
  14677. "tradedate": {
  14678. "description": "交易日(yyyyMMdd)",
  14679. "type": "string"
  14680. },
  14681. "trademode": {
  14682. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14683. "type": "integer"
  14684. },
  14685. "userid": {
  14686. "description": "申请人ID",
  14687. "type": "integer"
  14688. }
  14689. }
  14690. },
  14691. "cptrade.Cptradeusergoodsdata": {
  14692. "type": "object",
  14693. "required": [
  14694. "accountid",
  14695. "goodsid"
  14696. ],
  14697. "properties": {
  14698. "EnabledQty": {
  14699. "description": "可用量",
  14700. "type": "integer"
  14701. },
  14702. "GoodsCode": {
  14703. "description": "订单商品代码",
  14704. "type": "string"
  14705. },
  14706. "GoodsName": {
  14707. "description": "订单商品名称",
  14708. "type": "string"
  14709. },
  14710. "WRStandardCode": {
  14711. "description": "仓单标准代码",
  14712. "type": "string"
  14713. },
  14714. "WRStandardName": {
  14715. "description": "仓单标准名称",
  14716. "type": "string"
  14717. },
  14718. "accountid": {
  14719. "description": "账户ID",
  14720. "type": "integer"
  14721. },
  14722. "cancelqty": {
  14723. "description": "注销量",
  14724. "type": "integer"
  14725. },
  14726. "curpresaleqty": {
  14727. "description": "当前预售量",
  14728. "type": "integer"
  14729. },
  14730. "deliveryqty": {
  14731. "description": "交割量",
  14732. "type": "integer"
  14733. },
  14734. "freezeamount": {
  14735. "description": "冻结金额",
  14736. "type": "number"
  14737. },
  14738. "goodsid": {
  14739. "description": "商品ID",
  14740. "type": "integer"
  14741. },
  14742. "goodunit": {
  14743. "description": "报价单位",
  14744. "type": "string"
  14745. },
  14746. "hasspotfreeze": {
  14747. "description": "是否有现货冻结 - 0:否 1:有",
  14748. "type": "integer"
  14749. },
  14750. "inqty": {
  14751. "description": "转入量(总数量)",
  14752. "type": "integer"
  14753. },
  14754. "marketid": {
  14755. "description": "市场ID",
  14756. "type": "integer"
  14757. },
  14758. "presaledamount": {
  14759. "description": "已预售总金额",
  14760. "type": "integer"
  14761. },
  14762. "presaledqty": {
  14763. "description": "已预售量",
  14764. "type": "integer"
  14765. },
  14766. "userid": {
  14767. "description": "用户ID",
  14768. "type": "integer"
  14769. },
  14770. "wrstandardid": {
  14771. "description": "仓单标准ID",
  14772. "type": "integer"
  14773. }
  14774. }
  14775. },
  14776. "cptrade.QueryCPTradeMyBidRsp": {
  14777. "type": "object",
  14778. "required": [
  14779. "accountid",
  14780. "goodsid",
  14781. "marketid",
  14782. "orderid",
  14783. "orderqty",
  14784. "ordertime",
  14785. "tradeprice",
  14786. "tradeqty"
  14787. ],
  14788. "properties": {
  14789. "accountid": {
  14790. "description": "账户ID[报价币种]",
  14791. "type": "integer"
  14792. },
  14793. "goodsid": {
  14794. "description": "商品ID",
  14795. "type": "integer"
  14796. },
  14797. "goodunit": {
  14798. "description": "报价单位",
  14799. "type": "string"
  14800. },
  14801. "marketid": {
  14802. "description": "市场ID",
  14803. "type": "integer"
  14804. },
  14805. "orderid": {
  14806. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14807. "type": "integer"
  14808. },
  14809. "orderprice": {
  14810. "description": "委托价格",
  14811. "type": "number"
  14812. },
  14813. "orderqty": {
  14814. "description": "委托数量",
  14815. "type": "integer"
  14816. },
  14817. "ordertime": {
  14818. "description": "委托时间",
  14819. "type": "string"
  14820. },
  14821. "ordertotalprice": {
  14822. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14823. "type": "number"
  14824. },
  14825. "ordertotalweight": {
  14826. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14827. "type": "integer"
  14828. },
  14829. "totaltotalprice": {
  14830. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14831. "type": "number"
  14832. },
  14833. "tradeprice": {
  14834. "description": "成交价格",
  14835. "type": "number"
  14836. },
  14837. "tradeqty": {
  14838. "description": "成交数量",
  14839. "type": "integer"
  14840. }
  14841. }
  14842. },
  14843. "cptrade.QueryCPTradeOrderDetailRsq": {
  14844. "type": "object",
  14845. "required": [
  14846. "accountid",
  14847. "buildtype",
  14848. "buyorsell",
  14849. "goodsid",
  14850. "marketid",
  14851. "memberuserid",
  14852. "operatetype",
  14853. "orderqty",
  14854. "ordertime",
  14855. "pricemode",
  14856. "strorderid",
  14857. "tradedate",
  14858. "validtype"
  14859. ],
  14860. "properties": {
  14861. "accountid": {
  14862. "description": "账户ID[报价币种]",
  14863. "type": "integer"
  14864. },
  14865. "buildtype": {
  14866. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14867. "type": "integer"
  14868. },
  14869. "buyorsell": {
  14870. "description": "买卖 - 0:买 1:卖",
  14871. "type": "integer"
  14872. },
  14873. "cancelorderid": {
  14874. "description": "撤单单号(撤单时填写)",
  14875. "type": "integer"
  14876. },
  14877. "cancelqty": {
  14878. "description": "撤单数量",
  14879. "type": "integer"
  14880. },
  14881. "clientordertime": {
  14882. "description": "客户端委托时间",
  14883. "type": "string"
  14884. },
  14885. "clientticket": {
  14886. "description": "客户端流水号",
  14887. "type": "string"
  14888. },
  14889. "clienttype": {
  14890. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14891. "type": "integer"
  14892. },
  14893. "closeexchagechargevalue": {
  14894. "description": "平仓交易所手续费设置值",
  14895. "type": "number"
  14896. },
  14897. "closefeealgorithm": {
  14898. "description": "平仓手续费收取方式 1:比率 2:固定",
  14899. "type": "integer"
  14900. },
  14901. "closefreezecharge": {
  14902. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14903. "type": "number"
  14904. },
  14905. "closememberchargevalue": {
  14906. "description": "平仓会员手续费设置值",
  14907. "type": "number"
  14908. },
  14909. "closeqty": {
  14910. "description": "平仓数量(先建后平操作 需要记录)",
  14911. "type": "integer"
  14912. },
  14913. "closetradeqty": {
  14914. "description": "平仓成交数量(先建后平操作,需要记录)",
  14915. "type": "integer"
  14916. },
  14917. "closeunfreezecharge": {
  14918. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14919. "type": "number"
  14920. },
  14921. "delistingtype": {
  14922. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14923. "type": "integer"
  14924. },
  14925. "freezecharge": {
  14926. "description": "冻结手续费",
  14927. "type": "number"
  14928. },
  14929. "freezemargin": {
  14930. "description": "冻结保证金(冻结交易金额)",
  14931. "type": "number"
  14932. },
  14933. "gcaccountid": {
  14934. "description": "账户ID[合约币种]",
  14935. "type": "integer"
  14936. },
  14937. "goodsid": {
  14938. "description": "商品ID",
  14939. "type": "integer"
  14940. },
  14941. "isconfirmexercise": {
  14942. "description": "是否确认行权- 0:否 1:是",
  14943. "type": "integer"
  14944. },
  14945. "ispreexercise": {
  14946. "description": "是否预申报- 0:否 1:是",
  14947. "type": "integer"
  14948. },
  14949. "listingselecttype": {
  14950. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14951. "type": "integer"
  14952. },
  14953. "marginalgorithm": {
  14954. "description": "保证金收取方式 1:比率 2:固定",
  14955. "type": "integer"
  14956. },
  14957. "marginvalue": {
  14958. "description": "即市保证金设置值",
  14959. "type": "number"
  14960. },
  14961. "marketid": {
  14962. "description": "市场ID",
  14963. "type": "integer"
  14964. },
  14965. "marketmaxsub": {
  14966. "description": "市价最大偏移范围",
  14967. "type": "number"
  14968. },
  14969. "memberuserid": {
  14970. "description": "所属会员UserID",
  14971. "type": "integer"
  14972. },
  14973. "openexchagechargevalue": {
  14974. "description": "建仓交易所手续费设置值",
  14975. "type": "number"
  14976. },
  14977. "openfeealgorithm": {
  14978. "description": "建仓手续费收取方式 1:比率 2:固定",
  14979. "type": "integer"
  14980. },
  14981. "openfreezecharge": {
  14982. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14983. "type": "number"
  14984. },
  14985. "openmemberchargevalue": {
  14986. "description": "建仓会员手续费设置值",
  14987. "type": "number"
  14988. },
  14989. "openqty": {
  14990. "description": "开仓数量(先建后平操作,需要记录)",
  14991. "type": "integer"
  14992. },
  14993. "opentradeqty": {
  14994. "description": "开仓成交数量(先建后平操作,需要记录)",
  14995. "type": "integer"
  14996. },
  14997. "openunfreezecharge": {
  14998. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14999. "type": "number"
  15000. },
  15001. "operatetype": {
  15002. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15003. "type": "integer"
  15004. },
  15005. "operatorid": {
  15006. "description": "登录账号(LoginID)",
  15007. "type": "integer"
  15008. },
  15009. "optiontype": {
  15010. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15011. "type": "integer"
  15012. },
  15013. "orderprice": {
  15014. "description": "委托价格",
  15015. "type": "number"
  15016. },
  15017. "orderqty": {
  15018. "description": "委托数量",
  15019. "type": "integer"
  15020. },
  15021. "ordersrc": {
  15022. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15023. "type": "integer"
  15024. },
  15025. "orderstatus": {
  15026. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15027. "type": "integer"
  15028. },
  15029. "ordertime": {
  15030. "description": "委托时间",
  15031. "type": "string"
  15032. },
  15033. "preexerciseprice": {
  15034. "description": "预申报价格",
  15035. "type": "number"
  15036. },
  15037. "premium": {
  15038. "description": "权利金",
  15039. "type": "number"
  15040. },
  15041. "preorderid": {
  15042. "description": "关联预埋单号(止盈止损单时填写)",
  15043. "type": "integer"
  15044. },
  15045. "pricemode": {
  15046. "description": "取价方式 - 1:市价 2: 限价",
  15047. "type": "integer"
  15048. },
  15049. "quoteid": {
  15050. "description": "报价单ID",
  15051. "type": "integer"
  15052. },
  15053. "relatedid": {
  15054. "description": "关联单号(交割单)",
  15055. "type": "integer"
  15056. },
  15057. "retcode": {
  15058. "description": "错误代码",
  15059. "type": "integer"
  15060. },
  15061. "sessionid": {
  15062. "description": "会话ID",
  15063. "type": "integer"
  15064. },
  15065. "strorderid": {
  15066. "description": "委托单号",
  15067. "type": "string"
  15068. },
  15069. "tradedate": {
  15070. "description": "交易日(yyyyMMdd)",
  15071. "type": "string"
  15072. },
  15073. "tradeproperty": {
  15074. "description": "交易属性",
  15075. "type": "integer"
  15076. },
  15077. "tradeqty": {
  15078. "description": "成交数量",
  15079. "type": "integer"
  15080. },
  15081. "unfreezecharge": {
  15082. "description": "解冻手续费",
  15083. "type": "number"
  15084. },
  15085. "unfreezemargin": {
  15086. "description": "解冻保证金",
  15087. "type": "number"
  15088. },
  15089. "updatetime": {
  15090. "description": "更新时间",
  15091. "type": "string"
  15092. },
  15093. "uuid": {
  15094. "description": "发起端唯一id",
  15095. "type": "string"
  15096. },
  15097. "validtime": {
  15098. "description": "有效期限",
  15099. "type": "string"
  15100. },
  15101. "validtype": {
  15102. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15103. "type": "integer"
  15104. },
  15105. "volumetype": {
  15106. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15107. "type": "integer"
  15108. }
  15109. }
  15110. },
  15111. "cptrade.QueryMyCPTradeGoodsRsp": {
  15112. "type": "object",
  15113. "required": [
  15114. "goodscode",
  15115. "goodsid",
  15116. "goodsname",
  15117. "marketid",
  15118. "relatedgoodscode",
  15119. "relatedgoodsname"
  15120. ],
  15121. "properties": {
  15122. "accountid": {
  15123. "description": "卖方账户ID",
  15124. "type": "integer"
  15125. },
  15126. "agreeunit": {
  15127. "description": "合约单位",
  15128. "type": "number"
  15129. },
  15130. "applyid": {
  15131. "description": "关联申请ID",
  15132. "type": "integer"
  15133. },
  15134. "attachmenturl": {
  15135. "description": "附件地址",
  15136. "type": "string"
  15137. },
  15138. "createtime": {
  15139. "description": "创建时间",
  15140. "type": "string"
  15141. },
  15142. "currencyid": {
  15143. "description": "报价货币ID",
  15144. "type": "integer"
  15145. },
  15146. "decimalplace": {
  15147. "description": "报价小数位",
  15148. "type": "integer"
  15149. },
  15150. "endtime": {
  15151. "description": "预售结束时间",
  15152. "type": "string"
  15153. },
  15154. "floorprice": {
  15155. "description": "底价[大宗式竞拍]",
  15156. "type": "number"
  15157. },
  15158. "goodscode": {
  15159. "description": "商品代码(预售)",
  15160. "type": "string"
  15161. },
  15162. "goodsdetail": {
  15163. "description": "详情[大宗]",
  15164. "type": "string"
  15165. },
  15166. "goodsid": {
  15167. "description": "商品ID(自增ID SEQ_GOODS)",
  15168. "type": "integer"
  15169. },
  15170. "goodsname": {
  15171. "description": "商品名称(预售)",
  15172. "type": "string"
  15173. },
  15174. "goodunit": {
  15175. "description": "报价单位",
  15176. "type": "string"
  15177. },
  15178. "goodunitid": {
  15179. "description": "报价单位ID",
  15180. "type": "integer"
  15181. },
  15182. "marketid": {
  15183. "description": "所属市场ID",
  15184. "type": "integer"
  15185. },
  15186. "marketname": {
  15187. "description": "预售市场名称",
  15188. "type": "string"
  15189. },
  15190. "presaledamount": {
  15191. "description": "已预售总金额(预售结束时更新)",
  15192. "type": "number"
  15193. },
  15194. "presaledqty": {
  15195. "description": "已预售量(预售结束时更新)",
  15196. "type": "integer"
  15197. },
  15198. "presalemode": {
  15199. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15200. "type": "integer"
  15201. },
  15202. "presaleqty": {
  15203. "description": "预售数量",
  15204. "type": "integer"
  15205. },
  15206. "refprice": {
  15207. "description": "参考价格[一口价]",
  15208. "type": "number"
  15209. },
  15210. "relatedgoodscode": {
  15211. "description": "商品代码(订单)",
  15212. "type": "string"
  15213. },
  15214. "relatedgoodsid": {
  15215. "description": "关联交易合约ID",
  15216. "type": "integer"
  15217. },
  15218. "relatedgoodsname": {
  15219. "description": "商品名称(订单)",
  15220. "type": "string"
  15221. },
  15222. "relatedmarketid": {
  15223. "description": "关联交易合约市场ID",
  15224. "type": "integer"
  15225. },
  15226. "sellstatus": {
  15227. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15228. "type": "integer"
  15229. },
  15230. "startprice": {
  15231. "description": "起拍价[大宗式竞拍]",
  15232. "type": "number"
  15233. },
  15234. "starttime": {
  15235. "description": "预售开始时间",
  15236. "type": "string"
  15237. },
  15238. "tradedate": {
  15239. "description": "交易日(yyyyMMdd)",
  15240. "type": "string"
  15241. },
  15242. "tradeprice": {
  15243. "description": "成交价[大宗]",
  15244. "type": "number"
  15245. },
  15246. "userid": {
  15247. "description": "卖方用户ID",
  15248. "type": "integer"
  15249. }
  15250. }
  15251. },
  15252. "cptrade.QueryPresaleGoodsExRsp": {
  15253. "type": "object",
  15254. "required": [
  15255. "goodsid"
  15256. ],
  15257. "properties": {
  15258. "attachmenturl": {
  15259. "description": "附件地址",
  15260. "type": "string"
  15261. },
  15262. "createtime": {
  15263. "description": "创建时间",
  15264. "type": "string"
  15265. },
  15266. "endtime": {
  15267. "description": "预售结束时间",
  15268. "type": "string"
  15269. },
  15270. "floorprice": {
  15271. "description": "底价[大宗式竞拍]",
  15272. "type": "number"
  15273. },
  15274. "goodsdetail": {
  15275. "description": "详情[大宗]",
  15276. "type": "string"
  15277. },
  15278. "goodsid": {
  15279. "description": "商品ID(预售)",
  15280. "type": "integer"
  15281. },
  15282. "goodunit": {
  15283. "description": "报价单位",
  15284. "type": "string"
  15285. },
  15286. "marketid": {
  15287. "description": "预售市场ID - 根据预售模式选择市场",
  15288. "type": "integer"
  15289. },
  15290. "presaledamount": {
  15291. "description": "已预售总金额(预售结束时更新)",
  15292. "type": "number"
  15293. },
  15294. "presaledqty": {
  15295. "description": "已预售量(预售结束时更新)",
  15296. "type": "integer"
  15297. },
  15298. "presalemode": {
  15299. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15300. "type": "integer"
  15301. },
  15302. "presaleqty": {
  15303. "description": "预售数量",
  15304. "type": "integer"
  15305. },
  15306. "refprice": {
  15307. "description": "参考价格[一口价]",
  15308. "type": "number"
  15309. },
  15310. "relatedgoodsid": {
  15311. "description": "关联交易合约ID",
  15312. "type": "integer"
  15313. },
  15314. "relatedmarketid": {
  15315. "description": "关联交易合约市场ID",
  15316. "type": "integer"
  15317. },
  15318. "sellstatus": {
  15319. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15320. "type": "integer"
  15321. },
  15322. "startprice": {
  15323. "description": "起拍价[大宗式竞拍]",
  15324. "type": "number"
  15325. },
  15326. "starttime": {
  15327. "description": "预售开始时间",
  15328. "type": "string"
  15329. },
  15330. "tradedate": {
  15331. "description": "交易日(yyyyMMdd)",
  15332. "type": "string"
  15333. },
  15334. "tradeprice": {
  15335. "description": "成交价[大宗]",
  15336. "type": "number"
  15337. }
  15338. }
  15339. },
  15340. "delivery.QueryDeliveryRelationRsp": {
  15341. "type": "object",
  15342. "required": [
  15343. "begindate",
  15344. "enddate",
  15345. "goodsid",
  15346. "mindeliveryqty",
  15347. "xdeliveryratio"
  15348. ],
  15349. "properties": {
  15350. "begindate": {
  15351. "description": "起始日期(yyyyMMdd)",
  15352. "type": "string"
  15353. },
  15354. "buytemplateid": {
  15355. "description": "买履约计划模板ID",
  15356. "type": "integer"
  15357. },
  15358. "deliverygoodscode": {
  15359. "description": "品种代码",
  15360. "type": "string"
  15361. },
  15362. "deliverygoodsid": {
  15363. "description": "交割商品",
  15364. "type": "integer"
  15365. },
  15366. "deliverygoodsname": {
  15367. "description": "品种名称",
  15368. "type": "string"
  15369. },
  15370. "deliverymode": {
  15371. "description": "交割方式 - 1:点选式 2:申报式",
  15372. "type": "integer"
  15373. },
  15374. "deliverypricerule": {
  15375. "description": "交割价规则- 1:行情价 2:建仓价",
  15376. "type": "integer"
  15377. },
  15378. "deliverytype": {
  15379. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15380. "type": "integer"
  15381. },
  15382. "enddate": {
  15383. "description": "结束日期(yyyyMMdd)",
  15384. "type": "string"
  15385. },
  15386. "enumdicname": {
  15387. "description": "品类单位名称",
  15388. "type": "string"
  15389. },
  15390. "goodscode": {
  15391. "description": "商品代码",
  15392. "type": "string"
  15393. },
  15394. "goodsid": {
  15395. "description": "交易合约ID",
  15396. "type": "integer"
  15397. },
  15398. "goodsname": {
  15399. "description": "商品名称",
  15400. "type": "string"
  15401. },
  15402. "marketid": {
  15403. "description": "市场ID",
  15404. "type": "integer"
  15405. },
  15406. "mindeliveryqty": {
  15407. "description": "最小交割系数(K)",
  15408. "type": "integer"
  15409. },
  15410. "p2deliveryprice": {
  15411. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15412. "type": "number"
  15413. },
  15414. "p2deliveryratio": {
  15415. "description": "P2合约系数(p)",
  15416. "type": "integer"
  15417. },
  15418. "p2goodsid": {
  15419. "description": "P2合约ID",
  15420. "type": "integer"
  15421. },
  15422. "p2pricemode": {
  15423. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15424. "type": "integer"
  15425. },
  15426. "pdeliveryprice": {
  15427. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15428. "type": "number"
  15429. },
  15430. "pdeliveryratio": {
  15431. "description": "P合约系数(n)",
  15432. "type": "integer"
  15433. },
  15434. "pgoodscode": {
  15435. "description": "p合约代码",
  15436. "type": "string"
  15437. },
  15438. "pgoodsid": {
  15439. "description": "P合约ID",
  15440. "type": "integer"
  15441. },
  15442. "ppricemode": {
  15443. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15444. "type": "integer"
  15445. },
  15446. "rratio": {
  15447. "description": "兑换系数(R)",
  15448. "type": "integer"
  15449. },
  15450. "rratio1": {
  15451. "description": "兑换系数(交易合约)(R1)",
  15452. "type": "integer"
  15453. },
  15454. "rratio2": {
  15455. "description": "兑换系数(仓单标准)(R2)",
  15456. "type": "integer"
  15457. },
  15458. "selltemplateid": {
  15459. "description": "卖履约计划模板ID",
  15460. "type": "integer"
  15461. },
  15462. "wrstandardid": {
  15463. "description": "仓单标准ID",
  15464. "type": "integer"
  15465. },
  15466. "xdeliveryratio": {
  15467. "description": "交易合约系数(m)",
  15468. "type": "integer"
  15469. }
  15470. }
  15471. },
  15472. "ermcp.ExposureDetailRsp": {
  15473. "type": "object",
  15474. "properties": {
  15475. "areauserid": {
  15476. "description": "机构ID",
  15477. "type": "integer"
  15478. },
  15479. "changeQty": {
  15480. "description": "套保变动量",
  15481. "type": "number"
  15482. },
  15483. "contracttype": {
  15484. "description": "现货合同类型 - 1:采购 -1:销售",
  15485. "type": "integer"
  15486. },
  15487. "convertfactor": {
  15488. "description": "标仓系数",
  15489. "type": "number"
  15490. },
  15491. "convertratio": {
  15492. "description": "套保系数",
  15493. "type": "number"
  15494. },
  15495. "createtime": {
  15496. "description": "时间",
  15497. "type": "string"
  15498. },
  15499. "enumdicname": {
  15500. "description": "现货商品单位名称",
  15501. "type": "string"
  15502. },
  15503. "logtype": {
  15504. "description": "类型 - 1:套保计划 2:现货合同",
  15505. "type": "integer"
  15506. },
  15507. "middlegoodsId": {
  15508. "description": "套保商品id",
  15509. "type": "integer"
  15510. },
  15511. "middlegoodscode": {
  15512. "description": "套保商品代码",
  15513. "type": "string"
  15514. },
  15515. "middlegoodsname": {
  15516. "description": "套保商品名称",
  15517. "type": "string"
  15518. },
  15519. "qty": {
  15520. "description": "数量",
  15521. "type": "number"
  15522. },
  15523. "relateNo": {
  15524. "description": "现货合同/套保计划编号",
  15525. "type": "string"
  15526. },
  15527. "wrstandardcode": {
  15528. "description": "现货商品代码",
  15529. "type": "string"
  15530. },
  15531. "wrstandardid": {
  15532. "description": "现货商品ID",
  15533. "type": "integer"
  15534. },
  15535. "wrstandardname": {
  15536. "description": "现货商品名称",
  15537. "type": "string"
  15538. }
  15539. }
  15540. },
  15541. "ermcp.ExposureHedgePosDetailRsp": {
  15542. "type": "object",
  15543. "properties": {
  15544. "buyorsell": {
  15545. "description": "买卖方向 0-买 1-卖",
  15546. "type": "integer"
  15547. },
  15548. "channelbuildtype": {
  15549. "description": "开平方向 1-建仓 2-平仓",
  15550. "type": "integer"
  15551. },
  15552. "goodscode": {
  15553. "description": "商品代码",
  15554. "type": "string"
  15555. },
  15556. "goodsname": {
  15557. "description": "商品名称",
  15558. "type": "string"
  15559. },
  15560. "hedgegoodsid": {
  15561. "description": "商品id",
  15562. "type": "integer"
  15563. },
  15564. "tradeqty": {
  15565. "description": "数量(成交数量)",
  15566. "type": "integer"
  15567. },
  15568. "tradetime": {
  15569. "description": "时间(成交时间)",
  15570. "type": "string"
  15571. }
  15572. }
  15573. },
  15574. "ermcp.ExposureHedgePositionRsp": {
  15575. "type": "object",
  15576. "properties": {
  15577. "accountid": {
  15578. "description": "资金账号[外部母账户]",
  15579. "type": "integer"
  15580. },
  15581. "curbuyposition": {
  15582. "description": "期末买头寸",
  15583. "type": "integer"
  15584. },
  15585. "cursellposition": {
  15586. "description": "期末卖头寸",
  15587. "type": "integer"
  15588. },
  15589. "curtdbuyposition": {
  15590. "description": "期末今日买头寸",
  15591. "type": "integer"
  15592. },
  15593. "curtdsellposition": {
  15594. "description": "期末今日卖头寸",
  15595. "type": "integer"
  15596. },
  15597. "curydbuyposition": {
  15598. "description": "期末上日买头寸",
  15599. "type": "integer"
  15600. },
  15601. "curydsellposition": {
  15602. "description": "期末上日卖头寸",
  15603. "type": "integer"
  15604. },
  15605. "decreaseqty": {
  15606. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15607. "type": "integer"
  15608. },
  15609. "fretdbuyposition": {
  15610. "description": "冻结今日买头寸",
  15611. "type": "integer"
  15612. },
  15613. "fretdsellposition": {
  15614. "description": "冻结今日卖头寸",
  15615. "type": "integer"
  15616. },
  15617. "freydbuyposition": {
  15618. "description": "冻结上日买头寸",
  15619. "type": "integer"
  15620. },
  15621. "freydsellposition": {
  15622. "description": "冻结上日卖头寸",
  15623. "type": "integer"
  15624. },
  15625. "goodscode": {
  15626. "description": "商品代码",
  15627. "type": "string"
  15628. },
  15629. "goodsid": {
  15630. "description": "商品id",
  15631. "type": "integer"
  15632. },
  15633. "goodsname": {
  15634. "description": "商品名称",
  15635. "type": "string"
  15636. },
  15637. "hedgeaccountcode": {
  15638. "description": "对冲账号",
  15639. "type": "string"
  15640. },
  15641. "hedgegoodsid": {
  15642. "description": "对冲合约ID",
  15643. "type": "integer"
  15644. },
  15645. "increaseqty": {
  15646. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15647. "type": "integer"
  15648. },
  15649. "marketid": {
  15650. "description": "市场ID",
  15651. "type": "integer"
  15652. },
  15653. "relateduserid": {
  15654. "description": "关联用户id",
  15655. "type": "integer"
  15656. },
  15657. "totalcurqty": {
  15658. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15659. "type": "integer"
  15660. },
  15661. "totalydqty": {
  15662. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15663. "type": "integer"
  15664. },
  15665. "tradedate": {
  15666. "description": "交易日(yyyyMMdd)",
  15667. "type": "string"
  15668. },
  15669. "ydbuyposition": {
  15670. "description": "期初买头寸",
  15671. "type": "integer"
  15672. },
  15673. "ydsellposition": {
  15674. "description": "期初卖头寸",
  15675. "type": "integer"
  15676. }
  15677. }
  15678. },
  15679. "ermcp.ExposureSpotDetailRsp": {
  15680. "type": "object",
  15681. "properties": {
  15682. "contracttype": {
  15683. "description": "合同类型 1-采购 -1-销售",
  15684. "type": "integer"
  15685. },
  15686. "createtime": {
  15687. "description": "创建时间",
  15688. "type": "string"
  15689. },
  15690. "enumdicname": {
  15691. "description": "现货商品单位名称",
  15692. "type": "string"
  15693. },
  15694. "logtype": {
  15695. "description": "记录类型 1-套保 2-现货合同",
  15696. "type": "integer"
  15697. },
  15698. "qty": {
  15699. "description": "数量",
  15700. "type": "number"
  15701. },
  15702. "recordname": {
  15703. "description": "类型名称",
  15704. "type": "string"
  15705. },
  15706. "relatedid": {
  15707. "description": "套保计划ID/现货合同ID",
  15708. "type": "string"
  15709. },
  15710. "relatedno": {
  15711. "description": "编号",
  15712. "type": "string"
  15713. },
  15714. "strtime": {
  15715. "description": "时间",
  15716. "type": "string"
  15717. },
  15718. "wrstandardcode": {
  15719. "description": "现货商品代码",
  15720. "type": "string"
  15721. },
  15722. "wrstandardname": {
  15723. "description": "现货商品名称",
  15724. "type": "string"
  15725. }
  15726. }
  15727. },
  15728. "ermcp.ExposureSpotRsp": {
  15729. "type": "object",
  15730. "properties": {
  15731. "areauserid": {
  15732. "description": "所属机构",
  15733. "type": "integer"
  15734. },
  15735. "decreaseqty": {
  15736. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15737. "type": "number"
  15738. },
  15739. "increaseqty": {
  15740. "description": "增加数量=销售计划数量+采购已定价数量",
  15741. "type": "number"
  15742. },
  15743. "oritoalspotqty": {
  15744. "description": "昨日数量",
  15745. "type": "number"
  15746. },
  15747. "totalspotqty": {
  15748. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15749. "type": "number"
  15750. },
  15751. "updatetime": {
  15752. "description": "更新时间",
  15753. "type": "string"
  15754. },
  15755. "wrstandardcode": {
  15756. "description": "现货品种代码",
  15757. "type": "string"
  15758. },
  15759. "wrstandardid": {
  15760. "description": "现货商品ID",
  15761. "type": "integer"
  15762. },
  15763. "wrstandardname": {
  15764. "description": "现货品种",
  15765. "type": "string"
  15766. }
  15767. }
  15768. },
  15769. "ermcp.HisExposureRsp": {
  15770. "type": "object",
  15771. "properties": {
  15772. "data": {
  15773. "description": "历史敞口",
  15774. "type": "array",
  15775. "items": {
  15776. "$ref": "#/definitions/models.ErmcpHisExposure"
  15777. }
  15778. },
  15779. "enumdicname": {
  15780. "description": "单位名称",
  15781. "type": "string"
  15782. },
  15783. "middlegoodscode": {
  15784. "description": "套保品种代码",
  15785. "type": "string"
  15786. },
  15787. "middlegoodsid": {
  15788. "description": "套保品种ID",
  15789. "type": "integer"
  15790. },
  15791. "middlegoodsname": {
  15792. "description": "套保品种名称",
  15793. "type": "string"
  15794. }
  15795. }
  15796. },
  15797. "ermcp.PendingAuditCntRsp": {
  15798. "type": "object",
  15799. "properties": {
  15800. "areastockqty": {
  15801. "description": "待审核数量: 库存申请",
  15802. "type": "integer"
  15803. },
  15804. "businessdjqty": {
  15805. "description": "待审核数量: 点价",
  15806. "type": "integer"
  15807. },
  15808. "businessfpqty": {
  15809. "description": "待审核数量: 发票",
  15810. "type": "integer"
  15811. },
  15812. "businessjsqty": {
  15813. "description": "待审核数量: 结算",
  15814. "type": "integer"
  15815. },
  15816. "businesskxqty": {
  15817. "description": "待审核数量: 款项",
  15818. "type": "integer"
  15819. },
  15820. "hedgeplanqty": {
  15821. "description": "待审核数量: 套保计划",
  15822. "type": "integer"
  15823. },
  15824. "spotcontractqty": {
  15825. "description": "待审核数量: 现货合同",
  15826. "type": "integer"
  15827. },
  15828. "userqty": {
  15829. "description": "待审核数量: 用户",
  15830. "type": "integer"
  15831. }
  15832. }
  15833. },
  15834. "ermcp.QryAvalidGPRsp": {
  15835. "type": "object",
  15836. "properties": {
  15837. "goodsgroupid": {
  15838. "description": "期货品种id",
  15839. "type": "integer"
  15840. },
  15841. "goodsgroupname": {
  15842. "description": "期货品种名称",
  15843. "type": "string"
  15844. },
  15845. "goodunitid": {
  15846. "description": "品种单位id",
  15847. "type": "integer"
  15848. },
  15849. "goodunitname": {
  15850. "description": "品种单位名称",
  15851. "type": "string"
  15852. },
  15853. "outergroupcode": {
  15854. "description": "期货品种代码",
  15855. "type": "string"
  15856. }
  15857. }
  15858. },
  15859. "ermcp.QryBusinessDjRsp": {
  15860. "type": "object",
  15861. "properties": {
  15862. "amount": {
  15863. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15864. "type": "number"
  15865. },
  15866. "applyid": {
  15867. "description": "申请人",
  15868. "type": "string"
  15869. },
  15870. "applyname": {
  15871. "description": "申请人名称",
  15872. "type": "string"
  15873. },
  15874. "applystatus": {
  15875. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15876. "type": "integer"
  15877. },
  15878. "applytime": {
  15879. "description": "申请时间",
  15880. "type": "string"
  15881. },
  15882. "attachurl": {
  15883. "description": "附件",
  15884. "type": "string"
  15885. },
  15886. "auditid": {
  15887. "description": "审核人ID",
  15888. "type": "string"
  15889. },
  15890. "auditname": {
  15891. "description": "审核人名称",
  15892. "type": "string"
  15893. },
  15894. "auditremark": {
  15895. "description": "审核备注",
  15896. "type": "string"
  15897. },
  15898. "audittime": {
  15899. "description": "审核时间",
  15900. "type": "string"
  15901. },
  15902. "buyusername": {
  15903. "description": "采购方名称",
  15904. "type": "string"
  15905. },
  15906. "contractno": {
  15907. "description": "合同编号",
  15908. "type": "string"
  15909. },
  15910. "contractstatus": {
  15911. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15912. "type": "integer"
  15913. },
  15914. "contracttype": {
  15915. "description": "现货合同类型 - 1:采购 -1:销售",
  15916. "type": "integer"
  15917. },
  15918. "deliverygoodscode": {
  15919. "description": "现货品种代码",
  15920. "type": "string"
  15921. },
  15922. "deliverygoodsid": {
  15923. "description": "现货商品ID",
  15924. "type": "integer"
  15925. },
  15926. "deliverygoodsname": {
  15927. "description": "现货品种名称",
  15928. "type": "string"
  15929. },
  15930. "enumdicname": {
  15931. "description": "单位名称",
  15932. "type": "string"
  15933. },
  15934. "goodscode": {
  15935. "description": "点价合约",
  15936. "type": "string"
  15937. },
  15938. "goodsname": {
  15939. "description": "商品名称",
  15940. "type": "string"
  15941. },
  15942. "operateapplyid": {
  15943. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15944. "type": "string"
  15945. },
  15946. "operateapplytype": {
  15947. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15948. "type": "integer"
  15949. },
  15950. "pricedPrice": {
  15951. "description": "点价价格(非必填)",
  15952. "type": "number"
  15953. },
  15954. "pricedQty": {
  15955. "description": "点价数量(非必填)",
  15956. "type": "number"
  15957. },
  15958. "pricemove": {
  15959. "description": "升贴水",
  15960. "type": "number"
  15961. },
  15962. "pricetype": {
  15963. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15964. "type": "integer"
  15965. },
  15966. "relatedid": {
  15967. "description": "现货合同ID",
  15968. "type": "string"
  15969. },
  15970. "sellusername": {
  15971. "description": "销售方名字",
  15972. "type": "string"
  15973. },
  15974. "userid": {
  15975. "description": "用户ID",
  15976. "type": "integer"
  15977. },
  15978. "wrstandardcode": {
  15979. "description": "品类代码",
  15980. "type": "string"
  15981. },
  15982. "wrstandardid": {
  15983. "description": "品类id",
  15984. "type": "integer"
  15985. },
  15986. "wrstandardname": {
  15987. "description": "品类名称",
  15988. "type": "string"
  15989. }
  15990. }
  15991. },
  15992. "ermcp.QryBussinessFpRsp": {
  15993. "type": "object",
  15994. "properties": {
  15995. "applyid": {
  15996. "description": "申请人",
  15997. "type": "string"
  15998. },
  15999. "applyname": {
  16000. "description": "申请人名称",
  16001. "type": "string"
  16002. },
  16003. "applystatus": {
  16004. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16005. "type": "integer"
  16006. },
  16007. "applytime": {
  16008. "description": "申请时间",
  16009. "type": "string"
  16010. },
  16011. "attachurl": {
  16012. "description": "附件",
  16013. "type": "string"
  16014. },
  16015. "auditid": {
  16016. "description": "审核人ID",
  16017. "type": "string"
  16018. },
  16019. "auditname": {
  16020. "description": "审核人名称",
  16021. "type": "string"
  16022. },
  16023. "auditremark": {
  16024. "description": "审核备注",
  16025. "type": "string"
  16026. },
  16027. "audittime": {
  16028. "description": "审核时间",
  16029. "type": "string"
  16030. },
  16031. "buyusername": {
  16032. "description": "采购方名称",
  16033. "type": "string"
  16034. },
  16035. "contractno": {
  16036. "description": "合同编号",
  16037. "type": "string"
  16038. },
  16039. "contractstatus": {
  16040. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16041. "type": "integer"
  16042. },
  16043. "contracttype": {
  16044. "description": "现货合同类型 - 1:采购 -1:销售",
  16045. "type": "integer"
  16046. },
  16047. "deliverygoodscode": {
  16048. "description": "现货品种代码",
  16049. "type": "string"
  16050. },
  16051. "deliverygoodsid": {
  16052. "description": "现货商品ID",
  16053. "type": "integer"
  16054. },
  16055. "deliverygoodsname": {
  16056. "description": "现货品种名称",
  16057. "type": "string"
  16058. },
  16059. "enumdicname": {
  16060. "description": "单位名称",
  16061. "type": "string"
  16062. },
  16063. "goodscode": {
  16064. "description": "点价合约",
  16065. "type": "string"
  16066. },
  16067. "goodsname": {
  16068. "description": "商品名称",
  16069. "type": "string"
  16070. },
  16071. "invoiceAmount": {
  16072. "description": "已开收票金额(销售为开票,采购为收票)",
  16073. "type": "number"
  16074. },
  16075. "operateapplyid": {
  16076. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16077. "type": "string"
  16078. },
  16079. "operateapplytype": {
  16080. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16081. "type": "integer"
  16082. },
  16083. "pricemove": {
  16084. "description": "升贴水",
  16085. "type": "number"
  16086. },
  16087. "pricetype": {
  16088. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16089. "type": "integer"
  16090. },
  16091. "relatedid": {
  16092. "description": "现货合同ID",
  16093. "type": "string"
  16094. },
  16095. "sellusername": {
  16096. "description": "销售方名字",
  16097. "type": "string"
  16098. },
  16099. "userid": {
  16100. "description": "用户ID",
  16101. "type": "integer"
  16102. },
  16103. "wrstandardcode": {
  16104. "description": "品类代码",
  16105. "type": "string"
  16106. },
  16107. "wrstandardid": {
  16108. "description": "品类id",
  16109. "type": "integer"
  16110. },
  16111. "wrstandardname": {
  16112. "description": "品类名称",
  16113. "type": "string"
  16114. }
  16115. }
  16116. },
  16117. "ermcp.QryBussinessJsExRsp": {
  16118. "type": "object",
  16119. "properties": {
  16120. "applyid": {
  16121. "description": "申请人",
  16122. "type": "string"
  16123. },
  16124. "applyname": {
  16125. "description": "申请人名称",
  16126. "type": "string"
  16127. },
  16128. "applystatus": {
  16129. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16130. "type": "integer"
  16131. },
  16132. "applytime": {
  16133. "description": "申请时间",
  16134. "type": "string"
  16135. },
  16136. "attachurl": {
  16137. "description": "附件",
  16138. "type": "string"
  16139. },
  16140. "auditid": {
  16141. "description": "审核人ID",
  16142. "type": "string"
  16143. },
  16144. "auditname": {
  16145. "description": "审核人名称",
  16146. "type": "string"
  16147. },
  16148. "auditremark": {
  16149. "description": "审核备注",
  16150. "type": "string"
  16151. },
  16152. "audittime": {
  16153. "description": "审核时间",
  16154. "type": "string"
  16155. },
  16156. "buyusername": {
  16157. "description": "采购方名称",
  16158. "type": "string"
  16159. },
  16160. "contractno": {
  16161. "description": "合同编号",
  16162. "type": "string"
  16163. },
  16164. "contractstatus": {
  16165. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16166. "type": "integer"
  16167. },
  16168. "contracttype": {
  16169. "description": "现货合同类型 - 1:采购 -1:销售",
  16170. "type": "integer"
  16171. },
  16172. "deliverygoodscode": {
  16173. "description": "现货品种代码",
  16174. "type": "string"
  16175. },
  16176. "deliverygoodsid": {
  16177. "description": "现货商品ID",
  16178. "type": "integer"
  16179. },
  16180. "deliverygoodsname": {
  16181. "description": "现货品种名称",
  16182. "type": "string"
  16183. },
  16184. "enumdicname": {
  16185. "description": "单位名称",
  16186. "type": "string"
  16187. },
  16188. "goodscode": {
  16189. "description": "点价合约",
  16190. "type": "string"
  16191. },
  16192. "goodsname": {
  16193. "description": "商品名称",
  16194. "type": "string"
  16195. },
  16196. "operateapplyid": {
  16197. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16198. "type": "string"
  16199. },
  16200. "operateapplytype": {
  16201. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16202. "type": "integer"
  16203. },
  16204. "pricemove": {
  16205. "description": "升贴水",
  16206. "type": "number"
  16207. },
  16208. "pricetype": {
  16209. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16210. "type": "integer"
  16211. },
  16212. "reckontype": {
  16213. "description": "结算类型",
  16214. "type": "string"
  16215. },
  16216. "reckonvalue": {
  16217. "description": "值",
  16218. "type": "number"
  16219. },
  16220. "relatedid": {
  16221. "description": "现货合同ID",
  16222. "type": "string"
  16223. },
  16224. "sellusername": {
  16225. "description": "销售方名字",
  16226. "type": "string"
  16227. },
  16228. "userid": {
  16229. "description": "用户ID",
  16230. "type": "integer"
  16231. },
  16232. "wrstandardcode": {
  16233. "description": "品类代码",
  16234. "type": "string"
  16235. },
  16236. "wrstandardid": {
  16237. "description": "品类id",
  16238. "type": "integer"
  16239. },
  16240. "wrstandardname": {
  16241. "description": "品类名称",
  16242. "type": "string"
  16243. }
  16244. }
  16245. },
  16246. "ermcp.QryBussinessJsRsp": {
  16247. "type": "object",
  16248. "properties": {
  16249. "addmargin": {
  16250. "description": "追加保证金(非必填)",
  16251. "type": "number"
  16252. },
  16253. "applyid": {
  16254. "description": "申请人",
  16255. "type": "string"
  16256. },
  16257. "applyname": {
  16258. "description": "申请人名称",
  16259. "type": "string"
  16260. },
  16261. "applystatus": {
  16262. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16263. "type": "integer"
  16264. },
  16265. "applytime": {
  16266. "description": "申请时间",
  16267. "type": "string"
  16268. },
  16269. "attachurl": {
  16270. "description": "附件",
  16271. "type": "string"
  16272. },
  16273. "auditid": {
  16274. "description": "审核人ID",
  16275. "type": "string"
  16276. },
  16277. "auditname": {
  16278. "description": "审核人名称",
  16279. "type": "string"
  16280. },
  16281. "auditremark": {
  16282. "description": "审核备注",
  16283. "type": "string"
  16284. },
  16285. "audittime": {
  16286. "description": "审核时间",
  16287. "type": "string"
  16288. },
  16289. "buyusername": {
  16290. "description": "采购方名称",
  16291. "type": "string"
  16292. },
  16293. "contractno": {
  16294. "description": "合同编号",
  16295. "type": "string"
  16296. },
  16297. "contractstatus": {
  16298. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16299. "type": "integer"
  16300. },
  16301. "contracttype": {
  16302. "description": "现货合同类型 - 1:采购 -1:销售",
  16303. "type": "integer"
  16304. },
  16305. "decmargin": {
  16306. "description": "减少保证金(非必填)",
  16307. "type": "number"
  16308. },
  16309. "deliverygoodscode": {
  16310. "description": "现货品种代码",
  16311. "type": "string"
  16312. },
  16313. "deliverygoodsid": {
  16314. "description": "现货商品ID",
  16315. "type": "integer"
  16316. },
  16317. "deliverygoodsname": {
  16318. "description": "现货品种名称",
  16319. "type": "string"
  16320. },
  16321. "enumdicname": {
  16322. "description": "单位名称",
  16323. "type": "string"
  16324. },
  16325. "goodscode": {
  16326. "description": "点价合约",
  16327. "type": "string"
  16328. },
  16329. "goodsname": {
  16330. "description": "商品名称",
  16331. "type": "string"
  16332. },
  16333. "operateapplyid": {
  16334. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16335. "type": "string"
  16336. },
  16337. "operateapplytype": {
  16338. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16339. "type": "integer"
  16340. },
  16341. "pricemove": {
  16342. "description": "升贴水",
  16343. "type": "number"
  16344. },
  16345. "pricetype": {
  16346. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16347. "type": "integer"
  16348. },
  16349. "reckonadjustamount": {
  16350. "description": "结算调整金额(非必填)",
  16351. "type": "number"
  16352. },
  16353. "reckonosamount": {
  16354. "description": "结算溢短金额(非必填)",
  16355. "type": "number"
  16356. },
  16357. "reckonotheramount": {
  16358. "description": "结算其他费用(非必填)",
  16359. "type": "number"
  16360. },
  16361. "reckonrealqty": {
  16362. "description": "结算实际数量(非必填)",
  16363. "type": "number"
  16364. },
  16365. "relatedid": {
  16366. "description": "现货合同ID",
  16367. "type": "string"
  16368. },
  16369. "sellusername": {
  16370. "description": "销售方名字",
  16371. "type": "string"
  16372. },
  16373. "userid": {
  16374. "description": "用户ID",
  16375. "type": "integer"
  16376. },
  16377. "wrstandardcode": {
  16378. "description": "品类代码",
  16379. "type": "string"
  16380. },
  16381. "wrstandardid": {
  16382. "description": "品类id",
  16383. "type": "integer"
  16384. },
  16385. "wrstandardname": {
  16386. "description": "品类名称",
  16387. "type": "string"
  16388. }
  16389. }
  16390. },
  16391. "ermcp.QryBussinessKxRsp": {
  16392. "type": "object",
  16393. "properties": {
  16394. "applyid": {
  16395. "description": "申请人",
  16396. "type": "string"
  16397. },
  16398. "applyname": {
  16399. "description": "申请人名称",
  16400. "type": "string"
  16401. },
  16402. "applystatus": {
  16403. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16404. "type": "integer"
  16405. },
  16406. "applytime": {
  16407. "description": "申请时间",
  16408. "type": "string"
  16409. },
  16410. "attachurl": {
  16411. "description": "附件",
  16412. "type": "string"
  16413. },
  16414. "auditid": {
  16415. "description": "审核人ID",
  16416. "type": "string"
  16417. },
  16418. "auditname": {
  16419. "description": "审核人名称",
  16420. "type": "string"
  16421. },
  16422. "auditremark": {
  16423. "description": "审核备注",
  16424. "type": "string"
  16425. },
  16426. "audittime": {
  16427. "description": "审核时间",
  16428. "type": "string"
  16429. },
  16430. "buyusername": {
  16431. "description": "采购方名称",
  16432. "type": "string"
  16433. },
  16434. "contractno": {
  16435. "description": "合同编号",
  16436. "type": "string"
  16437. },
  16438. "contractstatus": {
  16439. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16440. "type": "integer"
  16441. },
  16442. "contracttype": {
  16443. "description": "现货合同类型 - 1:采购 -1:销售",
  16444. "type": "integer"
  16445. },
  16446. "deductamount": {
  16447. "description": "退款(非必填)",
  16448. "type": "number"
  16449. },
  16450. "deliverygoodscode": {
  16451. "description": "现货品种代码",
  16452. "type": "string"
  16453. },
  16454. "deliverygoodsid": {
  16455. "description": "现货商品ID",
  16456. "type": "integer"
  16457. },
  16458. "deliverygoodsname": {
  16459. "description": "现货品种名称",
  16460. "type": "string"
  16461. },
  16462. "enumdicname": {
  16463. "description": "单位名称",
  16464. "type": "string"
  16465. },
  16466. "goodscode": {
  16467. "description": "点价合约",
  16468. "type": "string"
  16469. },
  16470. "goodsname": {
  16471. "description": "商品名称",
  16472. "type": "string"
  16473. },
  16474. "kxtype": {
  16475. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16476. "type": "integer"
  16477. },
  16478. "operateapplyid": {
  16479. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16480. "type": "string"
  16481. },
  16482. "operateapplytype": {
  16483. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16484. "type": "integer"
  16485. },
  16486. "payamount": {
  16487. "description": "收付款(非必填)",
  16488. "type": "number"
  16489. },
  16490. "pricemove": {
  16491. "description": "升贴水",
  16492. "type": "number"
  16493. },
  16494. "pricetype": {
  16495. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16496. "type": "integer"
  16497. },
  16498. "relatedid": {
  16499. "description": "现货合同ID",
  16500. "type": "string"
  16501. },
  16502. "sellusername": {
  16503. "description": "销售方名字",
  16504. "type": "string"
  16505. },
  16506. "userid": {
  16507. "description": "用户ID",
  16508. "type": "integer"
  16509. },
  16510. "wrstandardcode": {
  16511. "description": "品类代码",
  16512. "type": "string"
  16513. },
  16514. "wrstandardid": {
  16515. "description": "品类id",
  16516. "type": "integer"
  16517. },
  16518. "wrstandardname": {
  16519. "description": "品类名称",
  16520. "type": "string"
  16521. }
  16522. }
  16523. },
  16524. "ermcp.QryGGCovertCfgRsp": {
  16525. "type": "object",
  16526. "properties": {
  16527. "convertratio": {
  16528. "description": "折算系数",
  16529. "type": "number"
  16530. },
  16531. "destgoodsgroupid": {
  16532. "description": "目标品种ID",
  16533. "type": "integer"
  16534. },
  16535. "dstcode": {
  16536. "description": "目录品种代码",
  16537. "type": "string"
  16538. },
  16539. "dstexchangecode": {
  16540. "description": "目标期货交易所",
  16541. "type": "string"
  16542. },
  16543. "dstname": {
  16544. "description": "目标品种名称",
  16545. "type": "string"
  16546. },
  16547. "dstunitid": {
  16548. "description": "目标品种单位ID",
  16549. "type": "integer"
  16550. },
  16551. "dstunitidname": {
  16552. "description": "目标品种单位名称",
  16553. "type": "string"
  16554. },
  16555. "modifytime": {
  16556. "description": "修改时间",
  16557. "type": "string"
  16558. },
  16559. "srccode": {
  16560. "description": "源品种代码",
  16561. "type": "string"
  16562. },
  16563. "srcexchangecode": {
  16564. "description": "源期货交易所",
  16565. "type": "string"
  16566. },
  16567. "srcgoodsgroupid": {
  16568. "description": "源品种ID",
  16569. "type": "integer"
  16570. },
  16571. "srcname": {
  16572. "description": "源品种名称",
  16573. "type": "string"
  16574. },
  16575. "srcunitid": {
  16576. "description": "源品种单位ID",
  16577. "type": "integer"
  16578. },
  16579. "srcunitidname": {
  16580. "description": "源品种单位名称",
  16581. "type": "string"
  16582. }
  16583. }
  16584. },
  16585. "ermcp.QryMGChangeLogRsp": {
  16586. "type": "object",
  16587. "properties": {
  16588. "aftervalue": {
  16589. "description": "变更后",
  16590. "type": "number"
  16591. },
  16592. "applyid": {
  16593. "description": "操作人",
  16594. "type": "integer"
  16595. },
  16596. "applyname": {
  16597. "description": "操作人名称",
  16598. "type": "string"
  16599. },
  16600. "applysrc": {
  16601. "description": "操作来源 - 1:管理端 2:终端",
  16602. "type": "integer"
  16603. },
  16604. "beforevalue": {
  16605. "description": "变更前",
  16606. "type": "number"
  16607. },
  16608. "changelogtype": {
  16609. "description": "变更流水类型 - 1:套保比率变更",
  16610. "type": "integer"
  16611. },
  16612. "handlestatus": {
  16613. "description": "处理状态",
  16614. "type": "integer"
  16615. },
  16616. "logdatetime": {
  16617. "description": "流水日期",
  16618. "type": "string"
  16619. },
  16620. "logid": {
  16621. "description": "流水ID",
  16622. "type": "integer"
  16623. },
  16624. "logremark": {
  16625. "description": "流水备注",
  16626. "type": "string"
  16627. },
  16628. "middlegoodsid": {
  16629. "description": "套保品种ID",
  16630. "type": "integer"
  16631. },
  16632. "tradedate": {
  16633. "description": "交易日(yyyyMMdd)",
  16634. "type": "string"
  16635. },
  16636. "updatetime": {
  16637. "description": "更新时间",
  16638. "type": "string"
  16639. }
  16640. }
  16641. },
  16642. "ermcp.QryMiddleGoodsDetailRsp": {
  16643. "type": "object",
  16644. "properties": {
  16645. "cvList": {
  16646. "description": "期货品种折算列表",
  16647. "type": "array",
  16648. "items": {
  16649. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16650. }
  16651. },
  16652. "mg": {
  16653. "description": "套保品种基本信息",
  16654. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16655. },
  16656. "wrcList": {
  16657. "description": "现货品种列表(现货商品折算配置)",
  16658. "type": "array",
  16659. "items": {
  16660. "$ref": "#/definitions/models.WRSConverTDetail"
  16661. }
  16662. }
  16663. }
  16664. },
  16665. "ermcp.QryMiddleGoodsRsp": {
  16666. "type": "object",
  16667. "properties": {
  16668. "areauserid": {
  16669. "description": "机构用户ID",
  16670. "type": "integer"
  16671. },
  16672. "createtime": {
  16673. "description": "修改时间",
  16674. "type": "string"
  16675. },
  16676. "enumdicname": {
  16677. "description": "单位名称",
  16678. "type": "string"
  16679. },
  16680. "evaluateratio": {
  16681. "description": "估价系数",
  16682. "type": "number"
  16683. },
  16684. "goodsgroupid": {
  16685. "description": "关联期货品种ID",
  16686. "type": "integer"
  16687. },
  16688. "goodsunitid": {
  16689. "description": "单位ID",
  16690. "type": "integer"
  16691. },
  16692. "isvalid": {
  16693. "description": "状态 0-无效(停用) 1-有效(正常)",
  16694. "type": "integer"
  16695. },
  16696. "middlegoodscode": {
  16697. "description": "套保品种代码",
  16698. "type": "string"
  16699. },
  16700. "middlegoodsid": {
  16701. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16702. "type": "integer"
  16703. },
  16704. "middlegoodsname": {
  16705. "description": "套保品种名称",
  16706. "type": "string"
  16707. },
  16708. "modifytime": {
  16709. "description": "修改时间",
  16710. "type": "string"
  16711. },
  16712. "needarbitrageratio": {
  16713. "description": "套利比例",
  16714. "type": "number"
  16715. },
  16716. "needhedgeratio": {
  16717. "description": "套保比率",
  16718. "type": "number"
  16719. },
  16720. "qtydecimalplace": {
  16721. "description": "数量小数位",
  16722. "type": "integer"
  16723. },
  16724. "relatedgoodsid": {
  16725. "description": "关联交易商品ID",
  16726. "type": "integer"
  16727. },
  16728. "relatedgoodstype": {
  16729. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16730. "type": "integer"
  16731. },
  16732. "remark": {
  16733. "description": "备注",
  16734. "type": "string"
  16735. }
  16736. }
  16737. },
  16738. "ermcp.QryOPLogRsp": {
  16739. "type": "object",
  16740. "properties": {
  16741. "aftervalue": {
  16742. "description": "变更后",
  16743. "type": "number"
  16744. },
  16745. "applyid": {
  16746. "description": "操作人ID",
  16747. "type": "string"
  16748. },
  16749. "applyname": {
  16750. "description": "操作人名称",
  16751. "type": "string"
  16752. },
  16753. "beforevalue": {
  16754. "description": "变更前",
  16755. "type": "number"
  16756. },
  16757. "biztype": {
  16758. "description": "业务类型 - 1:套保计划 2:现货合同",
  16759. "type": "integer"
  16760. },
  16761. "contracttype": {
  16762. "description": "现货合同类型 - 1:采购 -1:销售",
  16763. "type": "integer"
  16764. },
  16765. "logvalue": {
  16766. "description": "数值",
  16767. "type": "number"
  16768. },
  16769. "operatelogtype": {
  16770. "description": "操作流水类型",
  16771. "type": "integer"
  16772. },
  16773. "operatelogtypedesc": {
  16774. "description": "操作流水类型名称",
  16775. "type": "string"
  16776. },
  16777. "relatedid": {
  16778. "description": "现货合同ID\\套保计划",
  16779. "type": "string"
  16780. },
  16781. "updatetime": {
  16782. "description": "更新时间",
  16783. "type": "string"
  16784. }
  16785. }
  16786. },
  16787. "ermcp.QryUserInfoRsp": {
  16788. "type": "object",
  16789. "properties": {
  16790. "address": {
  16791. "description": "通讯地址",
  16792. "type": "string"
  16793. },
  16794. "attachment1": {
  16795. "description": "附件1",
  16796. "type": "string"
  16797. },
  16798. "audittime": {
  16799. "description": "审核时间",
  16800. "type": "string"
  16801. },
  16802. "cardbackphotourl": {
  16803. "description": "证件反面图片地址",
  16804. "type": "string"
  16805. },
  16806. "cardfrontphotourl": {
  16807. "description": "证件正面图片地址",
  16808. "type": "string"
  16809. },
  16810. "cardnum": {
  16811. "description": "证件号码",
  16812. "type": "string"
  16813. },
  16814. "cardtype": {
  16815. "description": "证件类型",
  16816. "type": "integer"
  16817. },
  16818. "cardtypename": {
  16819. "description": "证件类型名称",
  16820. "type": "string"
  16821. },
  16822. "cityid": {
  16823. "description": "市",
  16824. "type": "integer"
  16825. },
  16826. "contactname": {
  16827. "description": "联系人",
  16828. "type": "string"
  16829. },
  16830. "countryid": {
  16831. "description": "国家",
  16832. "type": "integer"
  16833. },
  16834. "createtime": {
  16835. "description": "创建时间",
  16836. "type": "string"
  16837. },
  16838. "customername": {
  16839. "description": "企业名称",
  16840. "type": "string"
  16841. },
  16842. "districtid": {
  16843. "description": "区域",
  16844. "type": "integer"
  16845. },
  16846. "email": {
  16847. "description": "邮件",
  16848. "type": "string"
  16849. },
  16850. "legalpersonname": {
  16851. "description": "法人姓名(企业)",
  16852. "type": "string"
  16853. },
  16854. "memberuserid": {
  16855. "description": "所属机构ID",
  16856. "type": "integer"
  16857. },
  16858. "mobile": {
  16859. "description": "手机号码",
  16860. "type": "string"
  16861. },
  16862. "modifytime": {
  16863. "description": "修改时间",
  16864. "type": "string"
  16865. },
  16866. "nickname": {
  16867. "description": "昵称",
  16868. "type": "string"
  16869. },
  16870. "provinceid": {
  16871. "description": "省",
  16872. "type": "integer"
  16873. },
  16874. "remark": {
  16875. "description": "备注",
  16876. "type": "string"
  16877. },
  16878. "status": {
  16879. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16880. "type": "integer"
  16881. },
  16882. "statusdesc": {
  16883. "description": "账户状态中文描述",
  16884. "type": "string"
  16885. },
  16886. "taxpayernum": {
  16887. "description": "纳税人识别号",
  16888. "type": "string"
  16889. },
  16890. "telphone": {
  16891. "description": "联系电话",
  16892. "type": "string"
  16893. },
  16894. "userid": {
  16895. "description": "用户ID",
  16896. "type": "integer"
  16897. },
  16898. "userinfotype": {
  16899. "description": "客户类型",
  16900. "type": "string"
  16901. }
  16902. }
  16903. },
  16904. "ermcp.QryWarehouseRsp": {
  16905. "type": "object",
  16906. "properties": {
  16907. "address": {
  16908. "description": "详细地址",
  16909. "type": "string"
  16910. },
  16911. "areauserid": {
  16912. "description": "所属机构",
  16913. "type": "integer"
  16914. },
  16915. "autoid": {
  16916. "description": "自增ID(仓库ID)",
  16917. "type": "integer"
  16918. },
  16919. "cityid": {
  16920. "description": "市",
  16921. "type": "integer"
  16922. },
  16923. "contactname": {
  16924. "description": "联系人",
  16925. "type": "string"
  16926. },
  16927. "contactnum": {
  16928. "description": "联系电话",
  16929. "type": "string"
  16930. },
  16931. "countryid": {
  16932. "description": "国家",
  16933. "type": "integer"
  16934. },
  16935. "createtime": {
  16936. "description": "创建时间",
  16937. "type": "string"
  16938. },
  16939. "districtid": {
  16940. "description": "区",
  16941. "type": "integer"
  16942. },
  16943. "hasvideo": {
  16944. "description": "是否有视频 - 0:无 1:有",
  16945. "type": "integer"
  16946. },
  16947. "provinceid": {
  16948. "description": "省",
  16949. "type": "integer"
  16950. },
  16951. "remark": {
  16952. "description": "审核备注",
  16953. "type": "string"
  16954. },
  16955. "videourl": {
  16956. "description": "视频地址",
  16957. "type": "string"
  16958. },
  16959. "warehousecode": {
  16960. "description": "仓库代码",
  16961. "type": "string"
  16962. },
  16963. "warehousename": {
  16964. "description": "仓库名称",
  16965. "type": "string"
  16966. },
  16967. "warehousestatus": {
  16968. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16969. "type": "integer"
  16970. },
  16971. "warehousetype": {
  16972. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16973. "type": "integer"
  16974. }
  16975. }
  16976. },
  16977. "ermcp.QueryErmcpTradePositionRsp": {
  16978. "type": "object",
  16979. "properties": {
  16980. "agreeunit": {
  16981. "description": "合约单位",
  16982. "type": "number"
  16983. },
  16984. "buyorsell": {
  16985. "description": "方向 - 0:买 1:卖",
  16986. "type": "integer"
  16987. },
  16988. "curpositionqty": {
  16989. "description": "持仓(总仓数量, 期末头寸)",
  16990. "type": "integer"
  16991. },
  16992. "curtdposition": {
  16993. "description": "今仓数量(期末今日头寸)",
  16994. "type": "integer"
  16995. },
  16996. "curtdpositionenabled": {
  16997. "description": "今仓可用",
  16998. "type": "integer"
  16999. },
  17000. "decimalplace": {
  17001. "description": "报价小数位",
  17002. "type": "integer"
  17003. },
  17004. "enableqty": {
  17005. "description": "可用(总仓可用)",
  17006. "type": "integer"
  17007. },
  17008. "exexchangename": {
  17009. "description": "外部交易所名称",
  17010. "type": "string"
  17011. },
  17012. "goodscode": {
  17013. "description": "商品代码(内部)",
  17014. "type": "string"
  17015. },
  17016. "goodsid": {
  17017. "description": "商品ID(自增ID SEQ_GOODS)",
  17018. "type": "integer"
  17019. },
  17020. "goodsname": {
  17021. "description": "商品名称",
  17022. "type": "string"
  17023. },
  17024. "last": {
  17025. "description": "现价",
  17026. "type": "number"
  17027. },
  17028. "marketid": {
  17029. "description": "所属市场ID",
  17030. "type": "integer"
  17031. },
  17032. "openaverageprice": {
  17033. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17034. "type": "number"
  17035. },
  17036. "opencost": {
  17037. "description": "开仓成本",
  17038. "type": "number"
  17039. },
  17040. "openpl": {
  17041. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17042. "type": "number"
  17043. },
  17044. "outgoodscode": {
  17045. "description": "商品代码(外部)",
  17046. "type": "string"
  17047. },
  17048. "positionaverageprice": {
  17049. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17050. "type": "number"
  17051. },
  17052. "positioncost": {
  17053. "description": "持仓成本",
  17054. "type": "number"
  17055. },
  17056. "positionpl": {
  17057. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17058. "type": "number"
  17059. },
  17060. "positionplrate": {
  17061. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17062. "type": "number"
  17063. },
  17064. "usedmargin": {
  17065. "description": "占用保证金",
  17066. "type": "number"
  17067. }
  17068. }
  17069. },
  17070. "ermcp.RealtimeExposurePositionRsp": {
  17071. "type": "object",
  17072. "properties": {
  17073. "agreeunit": {
  17074. "description": "合约单位",
  17075. "type": "string"
  17076. },
  17077. "areauserid": {
  17078. "description": "所属机构id",
  17079. "type": "integer"
  17080. },
  17081. "convertratio": {
  17082. "description": "期货品种系数(折算系数)",
  17083. "type": "number"
  17084. },
  17085. "curqty": {
  17086. "description": "当前持仓",
  17087. "type": "integer"
  17088. },
  17089. "diffhedgeqty": {
  17090. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17091. "type": "number"
  17092. },
  17093. "diffqty": {
  17094. "description": "持仓变动量=当前持仓-昨日持仓",
  17095. "type": "integer"
  17096. },
  17097. "goodscode": {
  17098. "description": "商品代码",
  17099. "type": "string"
  17100. },
  17101. "goodsid": {
  17102. "description": "商品id",
  17103. "type": "integer"
  17104. },
  17105. "goodsname": {
  17106. "description": "商品名称",
  17107. "type": "string"
  17108. },
  17109. "middlegoodsid": {
  17110. "description": "套保商品id",
  17111. "type": "integer"
  17112. },
  17113. "ydqty": {
  17114. "description": "昨日持仓",
  17115. "type": "integer"
  17116. }
  17117. }
  17118. },
  17119. "ermcp.RealtimeExposureRsp": {
  17120. "type": "object",
  17121. "properties": {
  17122. "AreaUserID": {
  17123. "description": "所属机构",
  17124. "type": "integer"
  17125. },
  17126. "BuyFutureQty": {
  17127. "description": "买入期货数量",
  17128. "type": "number"
  17129. },
  17130. "BuyPlanQty": {
  17131. "description": "采购计划数量",
  17132. "type": "number"
  17133. },
  17134. "BuyPricedQty": {
  17135. "description": "采购合同已定价数量",
  17136. "type": "number"
  17137. },
  17138. "MiddleGoodsCode": {
  17139. "description": "套保品种代码",
  17140. "type": "string"
  17141. },
  17142. "MiddleGoodsHedgeRatio": {
  17143. "description": "套保比例",
  17144. "type": "number"
  17145. },
  17146. "MiddleGoodsID": {
  17147. "description": "套保品种",
  17148. "type": "integer"
  17149. },
  17150. "MiddleGoodsName": {
  17151. "description": "套保品种名称",
  17152. "type": "string"
  17153. },
  17154. "NeedHedgeExposoure": {
  17155. "description": "应套保敞口(套保敞口)",
  17156. "type": "number"
  17157. },
  17158. "NeedHedgeRatio": {
  17159. "description": "应套保敞口比例",
  17160. "type": "number"
  17161. },
  17162. "OriBuyFutureQty": {
  17163. "description": "期初买入期货数量",
  17164. "type": "number"
  17165. },
  17166. "OriBuyPlanQty": {
  17167. "description": "期初采购计划数量",
  17168. "type": "number"
  17169. },
  17170. "OriBuyPricedQty": {
  17171. "description": "期初采购合同已定价数量",
  17172. "type": "number"
  17173. },
  17174. "OriSellFutureQty": {
  17175. "description": "期初卖出期货数量",
  17176. "type": "number"
  17177. },
  17178. "OriSellPlanQty": {
  17179. "description": "期初销售计划数量",
  17180. "type": "number"
  17181. },
  17182. "OriSellPricedQty": {
  17183. "description": "期初销售合同已定价数量",
  17184. "type": "number"
  17185. },
  17186. "SellFutureQty": {
  17187. "description": "卖出期货数量",
  17188. "type": "number"
  17189. },
  17190. "SellPlanQty": {
  17191. "description": "销售计划数量",
  17192. "type": "number"
  17193. },
  17194. "SellPricedQty": {
  17195. "description": "销售合同已定价数量",
  17196. "type": "number"
  17197. },
  17198. "TotalExposure": {
  17199. "description": "总敞口 平安:净敞口",
  17200. "type": "number"
  17201. },
  17202. "TotalFutureQty": {
  17203. "description": "期货总量 平安:保值净持仓量",
  17204. "type": "number"
  17205. },
  17206. "TotalHedgeRatio": {
  17207. "description": "敞口比例",
  17208. "type": "number"
  17209. },
  17210. "TotalNeedHedgeQty": {
  17211. "description": "应套保总量(现货应套保总量)",
  17212. "type": "number"
  17213. },
  17214. "TotalSpotQty": {
  17215. "description": "现货总量 平安:采销定价净值",
  17216. "type": "number"
  17217. },
  17218. "arbitrageqty": {
  17219. "description": "套利量",
  17220. "type": "number"
  17221. },
  17222. "diffArbitrageQty": {
  17223. "description": "套利变动量",
  17224. "type": "number"
  17225. },
  17226. "diffExposoureQty": {
  17227. "description": "变动量(套保敞口)",
  17228. "type": "number"
  17229. },
  17230. "diffFutuQty": {
  17231. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17232. "type": "number"
  17233. },
  17234. "diffHedgeQty": {
  17235. "description": "套保变动量",
  17236. "type": "number"
  17237. },
  17238. "diffQty": {
  17239. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17240. "type": "number"
  17241. },
  17242. "diffSpotHedgeQty": {
  17243. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17244. "type": "number"
  17245. },
  17246. "diffSpotQty": {
  17247. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17248. "type": "number"
  17249. },
  17250. "enumdicname": {
  17251. "description": "单位名称",
  17252. "type": "string"
  17253. },
  17254. "hedgeqty": {
  17255. "description": "套保量",
  17256. "type": "number"
  17257. },
  17258. "needarbitrageqty": {
  17259. "description": "应套利量",
  17260. "type": "number"
  17261. },
  17262. "needarbitrageratio": {
  17263. "description": "套利比例",
  17264. "type": "number"
  17265. },
  17266. "needhedgeqty": {
  17267. "description": "应套保量",
  17268. "type": "number"
  17269. },
  17270. "oriTotalFutuQty": {
  17271. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17272. "type": "number"
  17273. },
  17274. "oriTotalSpotQty": {
  17275. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17276. "type": "number"
  17277. },
  17278. "oriarbitrageqty": {
  17279. "description": "期初套利量",
  17280. "type": "number"
  17281. },
  17282. "orihedgeqty": {
  17283. "description": "期初套保量",
  17284. "type": "number"
  17285. },
  17286. "orineedhedgeexposoure": {
  17287. "description": "期初套保敞口",
  17288. "type": "number"
  17289. },
  17290. "oritotalexposure": {
  17291. "description": "期初总敞口",
  17292. "type": "number"
  17293. },
  17294. "oritotalfutureqty": {
  17295. "description": "期初期货总量",
  17296. "type": "number"
  17297. },
  17298. "oritotalneedhedgeqty": {
  17299. "description": "期初现货应套保量",
  17300. "type": "number"
  17301. }
  17302. }
  17303. },
  17304. "erms2.QueryArbitrageStrategyRsp": {
  17305. "type": "object",
  17306. "required": [
  17307. "asapplyid"
  17308. ],
  17309. "properties": {
  17310. "applybasis": {
  17311. "description": "申请基差",
  17312. "type": "number"
  17313. },
  17314. "asapplyid": {
  17315. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17316. "type": "string"
  17317. },
  17318. "asname": {
  17319. "description": "策略名称",
  17320. "type": "string"
  17321. },
  17322. "asno": {
  17323. "description": "策略编号",
  17324. "type": "string"
  17325. },
  17326. "basischangepl": {
  17327. "description": "基差变动损益[结算更新]",
  17328. "type": "number"
  17329. },
  17330. "biztype": {
  17331. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17332. "type": "integer"
  17333. },
  17334. "closetradedate": {
  17335. "description": "完结交易日(yyyyMMdd)",
  17336. "type": "string"
  17337. },
  17338. "curbasis": {
  17339. "description": "当前基差[结算更新]",
  17340. "type": "number"
  17341. },
  17342. "deliverygoodsid": {
  17343. "description": "现货品种ID",
  17344. "type": "integer"
  17345. },
  17346. "futureavgprice": {
  17347. "description": "期货建仓均价",
  17348. "type": "number"
  17349. },
  17350. "futurecloseamount": {
  17351. "description": "期货平仓金额",
  17352. "type": "number"
  17353. },
  17354. "futurecloseqty": {
  17355. "description": "期货平仓数量",
  17356. "type": "number"
  17357. },
  17358. "futureopenamount": {
  17359. "description": "期货开仓金额",
  17360. "type": "number"
  17361. },
  17362. "futureopenqty": {
  17363. "description": "期货开仓数量",
  17364. "type": "number"
  17365. },
  17366. "futurepl": {
  17367. "description": "期货总盈亏[结算更新]",
  17368. "type": "number"
  17369. },
  17370. "futureqty": {
  17371. "description": "期货持仓数量",
  17372. "type": "number"
  17373. },
  17374. "futurequote": {
  17375. "description": "期货额度",
  17376. "type": "number"
  17377. },
  17378. "goodsgroupid": {
  17379. "description": "期货品种ID",
  17380. "type": "integer"
  17381. },
  17382. "marketid": {
  17383. "description": "市场ID",
  17384. "type": "integer"
  17385. },
  17386. "netexposure": {
  17387. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17388. "type": "number"
  17389. },
  17390. "netexposurepl": {
  17391. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17392. "type": "number"
  17393. },
  17394. "netexposurerate": {
  17395. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17396. "type": "number"
  17397. },
  17398. "openbasis": {
  17399. "description": "建仓基差",
  17400. "type": "number"
  17401. },
  17402. "pricedspotqty": {
  17403. "description": "已定价现货数量",
  17404. "type": "number"
  17405. },
  17406. "pricedspotqtynotax": {
  17407. "description": "已定价现货不含税数量",
  17408. "type": "number"
  17409. },
  17410. "remark": {
  17411. "description": "备注",
  17412. "type": "string"
  17413. },
  17414. "spotavgprice": {
  17415. "description": "现货均价",
  17416. "type": "number"
  17417. },
  17418. "spotbuyamount": {
  17419. "description": "现货采购金额",
  17420. "type": "number"
  17421. },
  17422. "spotbuyqty": {
  17423. "description": "现货采购数量",
  17424. "type": "number"
  17425. },
  17426. "spotpl": {
  17427. "description": "现货总盈亏[结算更新]",
  17428. "type": "number"
  17429. },
  17430. "spotquota": {
  17431. "description": "现货额度",
  17432. "type": "number"
  17433. },
  17434. "spotsellamount": {
  17435. "description": "现货销售金额",
  17436. "type": "number"
  17437. },
  17438. "spotsellqty": {
  17439. "description": "现货销售数量",
  17440. "type": "number"
  17441. },
  17442. "spotusedquota": {
  17443. "description": "现货占用资金",
  17444. "type": "number"
  17445. },
  17446. "strategystatus": {
  17447. "description": "策略状态 - 0:未结束 1:已结束",
  17448. "type": "integer"
  17449. },
  17450. "totalpl": {
  17451. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17452. "type": "number"
  17453. },
  17454. "tradedate": {
  17455. "description": "交易日(yyyyMMdd)",
  17456. "type": "string"
  17457. },
  17458. "updatetime": {
  17459. "description": "更新时间",
  17460. "type": "string"
  17461. },
  17462. "usedquota": {
  17463. "description": "已占用资金",
  17464. "type": "number"
  17465. },
  17466. "userid": {
  17467. "description": "所属机构",
  17468. "type": "integer"
  17469. }
  17470. }
  17471. },
  17472. "erms2.QueryInnerTradeDetailRsp": {
  17473. "type": "object",
  17474. "required": [
  17475. "asapplyid",
  17476. "buyorsell",
  17477. "goodscode",
  17478. "goodsgroupid",
  17479. "goodsgroupname",
  17480. "goodsname",
  17481. "tradeid"
  17482. ],
  17483. "properties": {
  17484. "accountid": {
  17485. "description": "账号ID",
  17486. "type": "integer"
  17487. },
  17488. "agreeunit": {
  17489. "description": "合约单位",
  17490. "type": "number"
  17491. },
  17492. "asapplyid": {
  17493. "description": "策略申请ID",
  17494. "type": "integer"
  17495. },
  17496. "asname": {
  17497. "description": "策略名称",
  17498. "type": "string"
  17499. },
  17500. "asno": {
  17501. "description": "策略编号",
  17502. "type": "string"
  17503. },
  17504. "buyorsell": {
  17505. "description": "方向 - 0:买 1:卖",
  17506. "type": "integer"
  17507. },
  17508. "channelbuildtype": {
  17509. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17510. "type": "integer"
  17511. },
  17512. "closetype": {
  17513. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17514. "type": "integer"
  17515. },
  17516. "decimalplace": {
  17517. "description": "报价小数位",
  17518. "type": "integer"
  17519. },
  17520. "detailtype": {
  17521. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17522. "type": "integer"
  17523. },
  17524. "exexchangecode": {
  17525. "description": "外部交易所代码",
  17526. "type": "string"
  17527. },
  17528. "exexchangename": {
  17529. "description": "外部交易所名称",
  17530. "type": "string"
  17531. },
  17532. "goodscode": {
  17533. "description": "商品代码(合约)",
  17534. "type": "string"
  17535. },
  17536. "goodsgroupid": {
  17537. "description": "商品组ID(品种ID)",
  17538. "type": "integer"
  17539. },
  17540. "goodsgroupname": {
  17541. "description": "商品组名称(品种)",
  17542. "type": "string"
  17543. },
  17544. "goodsid": {
  17545. "description": "商品ID",
  17546. "type": "integer"
  17547. },
  17548. "goodsname": {
  17549. "description": "商品名称(合约)",
  17550. "type": "string"
  17551. },
  17552. "goodunit": {
  17553. "description": "报价单位",
  17554. "type": "string"
  17555. },
  17556. "marketid": {
  17557. "description": "市场ID",
  17558. "type": "integer"
  17559. },
  17560. "orderid": {
  17561. "description": "委托单号",
  17562. "type": "string"
  17563. },
  17564. "outgoodscode": {
  17565. "description": "商品代码(外部)",
  17566. "type": "string"
  17567. },
  17568. "relatedouttradeid": {
  17569. "description": "关联外部成交单ID",
  17570. "type": "string"
  17571. },
  17572. "remark": {
  17573. "description": "备注",
  17574. "type": "string"
  17575. },
  17576. "spotcontractid": {
  17577. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17578. "type": "integer"
  17579. },
  17580. "spotcontractno": {
  17581. "description": "现货合同编号",
  17582. "type": "string"
  17583. },
  17584. "tradeid": {
  17585. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17586. "type": "string"
  17587. },
  17588. "tradeprice": {
  17589. "description": "成交价格",
  17590. "type": "number"
  17591. },
  17592. "tradeqty": {
  17593. "description": "成交数量",
  17594. "type": "integer"
  17595. },
  17596. "tradetime": {
  17597. "description": "成交时间",
  17598. "type": "string"
  17599. },
  17600. "updatetime": {
  17601. "description": "更新时间",
  17602. "type": "string"
  17603. }
  17604. }
  17605. },
  17606. "erms2.QuerySpotContractRsp": {
  17607. "type": "object",
  17608. "required": [
  17609. "spotcontractid"
  17610. ],
  17611. "properties": {
  17612. "accountid": {
  17613. "description": "资金账户ID",
  17614. "type": "integer"
  17615. },
  17616. "areauserid": {
  17617. "description": "所属机构",
  17618. "type": "integer"
  17619. },
  17620. "closedate": {
  17621. "description": "终止日期",
  17622. "type": "string"
  17623. },
  17624. "closeremark": {
  17625. "description": "结束备注",
  17626. "type": "string"
  17627. },
  17628. "closetradedate": {
  17629. "description": "完结交易日(yyyyMMdd)",
  17630. "type": "string"
  17631. },
  17632. "closetype": {
  17633. "description": "终止类型 - 1:违约 2:提前终止",
  17634. "type": "integer"
  17635. },
  17636. "contractamount": {
  17637. "description": "合同金额",
  17638. "type": "number"
  17639. },
  17640. "contractattachment": {
  17641. "description": "合同附件",
  17642. "type": "string"
  17643. },
  17644. "contractno": {
  17645. "description": "现货合同编号",
  17646. "type": "string"
  17647. },
  17648. "contractqty": {
  17649. "description": "合同数量(数值) (用于计算)",
  17650. "type": "number"
  17651. },
  17652. "contractqtychar": {
  17653. "description": "合同数量\\已订价数量 (用于显示)",
  17654. "type": "string"
  17655. },
  17656. "contractstatus": {
  17657. "description": "合同状态 - 0:未结束 1:已结束",
  17658. "type": "integer"
  17659. },
  17660. "contracttype": {
  17661. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17662. "type": "integer"
  17663. },
  17664. "customeraccountid": {
  17665. "description": "客户资金账户ID",
  17666. "type": "integer"
  17667. },
  17668. "customeruserid": {
  17669. "description": "客户ID",
  17670. "type": "integer"
  17671. },
  17672. "deliverygoodsdesc": {
  17673. "description": "品种说明",
  17674. "type": "string"
  17675. },
  17676. "deliverygoodsid": {
  17677. "description": "现货品种ID",
  17678. "type": "integer"
  17679. },
  17680. "handlestatus": {
  17681. "description": "处理状态",
  17682. "type": "integer"
  17683. },
  17684. "invoiceatt": {
  17685. "description": "发票附件",
  17686. "type": "string"
  17687. },
  17688. "invoicedatetime": {
  17689. "description": "开收票更新时间",
  17690. "type": "string"
  17691. },
  17692. "invoiceopentime": {
  17693. "description": "开票时间",
  17694. "type": "string"
  17695. },
  17696. "invoiceremark": {
  17697. "description": "发票备注",
  17698. "type": "string"
  17699. },
  17700. "invoicestatus": {
  17701. "description": "开收票状态 - 0:未开票 1:已开票",
  17702. "type": "integer"
  17703. },
  17704. "lastdate": {
  17705. "description": "交货时间",
  17706. "type": "string"
  17707. },
  17708. "marketid": {
  17709. "description": "市场ID",
  17710. "type": "integer"
  17711. },
  17712. "paydatetime": {
  17713. "description": "收付款更新时间",
  17714. "type": "string"
  17715. },
  17716. "payremark": {
  17717. "description": "收付款备注",
  17718. "type": "string"
  17719. },
  17720. "paystatus": {
  17721. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17722. "type": "integer"
  17723. },
  17724. "positionqty": {
  17725. "description": "头寸数量 - 合同数量去小数部分",
  17726. "type": "integer"
  17727. },
  17728. "producttype": {
  17729. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17730. "type": "integer"
  17731. },
  17732. "relatedqty": {
  17733. "description": "已关联数量",
  17734. "type": "number"
  17735. },
  17736. "relatedstatus": {
  17737. "description": "关联完结状态 - 0:未结束 1:已结束",
  17738. "type": "integer"
  17739. },
  17740. "remark": {
  17741. "description": "备注",
  17742. "type": "string"
  17743. },
  17744. "signdate": {
  17745. "description": "签订日期",
  17746. "type": "string"
  17747. },
  17748. "spotcontractid": {
  17749. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17750. "type": "string"
  17751. },
  17752. "spotdatetime": {
  17753. "description": "收发货更新时间",
  17754. "type": "string"
  17755. },
  17756. "spotprice": {
  17757. "description": "价格",
  17758. "type": "number"
  17759. },
  17760. "spotremark": {
  17761. "description": "收发货备注",
  17762. "type": "string"
  17763. },
  17764. "spotstatus": {
  17765. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17766. "type": "integer"
  17767. },
  17768. "tradedate": {
  17769. "description": "交易日(yyyyMMdd)",
  17770. "type": "string"
  17771. },
  17772. "userid": {
  17773. "description": "业务员用户ID",
  17774. "type": "integer"
  17775. },
  17776. "warehouseid": {
  17777. "description": "仓库ID",
  17778. "type": "integer"
  17779. },
  17780. "wrfactortypeid": {
  17781. "description": "仓单要素类型ID",
  17782. "type": "integer"
  17783. },
  17784. "wrstandardid": {
  17785. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17786. "type": "integer"
  17787. }
  17788. }
  17789. },
  17790. "erms3.AddErms2ASApplyReq": {
  17791. "type": "object",
  17792. "required": [
  17793. "asapplyid"
  17794. ],
  17795. "properties": {
  17796. "applybasis": {
  17797. "description": "申请基差",
  17798. "type": "number"
  17799. },
  17800. "applystatus": {
  17801. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17802. "type": "integer"
  17803. },
  17804. "asapplyid": {
  17805. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17806. "type": "integer"
  17807. },
  17808. "asname": {
  17809. "description": "策略名称",
  17810. "type": "string"
  17811. },
  17812. "asno": {
  17813. "description": "策略编号",
  17814. "type": "string"
  17815. },
  17816. "auditid": {
  17817. "description": "审核人",
  17818. "type": "integer"
  17819. },
  17820. "auditremark": {
  17821. "description": "审核备注",
  17822. "type": "string"
  17823. },
  17824. "audittime": {
  17825. "description": "审核时间",
  17826. "type": "string"
  17827. },
  17828. "biztype": {
  17829. "description": "业务类型 - 1:正向套利 2:反向套利",
  17830. "type": "integer"
  17831. },
  17832. "createtime": {
  17833. "description": "创建时间",
  17834. "type": "string"
  17835. },
  17836. "creatorid": {
  17837. "description": "创建人",
  17838. "type": "integer"
  17839. },
  17840. "deliverygoodsid": {
  17841. "description": "现货品种ID",
  17842. "type": "integer"
  17843. },
  17844. "futurequote": {
  17845. "description": "期货额度",
  17846. "type": "number"
  17847. },
  17848. "goodsgroupid": {
  17849. "description": "期货品种ID",
  17850. "type": "integer"
  17851. },
  17852. "marketid": {
  17853. "description": "市场ID",
  17854. "type": "integer"
  17855. },
  17856. "remark": {
  17857. "description": "备注",
  17858. "type": "string"
  17859. },
  17860. "spotquota": {
  17861. "description": "现货额度",
  17862. "type": "number"
  17863. },
  17864. "tradedate": {
  17865. "description": "交易日(yyyyMMdd)",
  17866. "type": "string"
  17867. },
  17868. "userid": {
  17869. "description": "所属机构",
  17870. "type": "integer"
  17871. }
  17872. }
  17873. },
  17874. "erms3.AddErms2SpotTradeApplyReq": {
  17875. "type": "object",
  17876. "required": [
  17877. "spottradeid"
  17878. ],
  17879. "properties": {
  17880. "applyjsondetail": {
  17881. "description": "申请明细(JSON)",
  17882. "type": "string"
  17883. },
  17884. "applystatus": {
  17885. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17886. "type": "integer"
  17887. },
  17888. "areauserid": {
  17889. "description": "所属机构",
  17890. "type": "integer"
  17891. },
  17892. "auditid": {
  17893. "description": "审核人",
  17894. "type": "integer"
  17895. },
  17896. "auditremark": {
  17897. "description": "审核备注",
  17898. "type": "string"
  17899. },
  17900. "audittime": {
  17901. "description": "审核时间",
  17902. "type": "string"
  17903. },
  17904. "createtime": {
  17905. "description": "创建时间",
  17906. "type": "string"
  17907. },
  17908. "creatorid": {
  17909. "description": "创建人",
  17910. "type": "integer"
  17911. },
  17912. "deliverygoodsid": {
  17913. "description": "现货品种ID",
  17914. "type": "integer"
  17915. },
  17916. "futureaccountid": {
  17917. "description": "期货资金账户",
  17918. "type": "integer"
  17919. },
  17920. "goodsgroupid": {
  17921. "description": "期货品种",
  17922. "type": "integer"
  17923. },
  17924. "marketid": {
  17925. "description": "市场ID",
  17926. "type": "integer"
  17927. },
  17928. "remark": {
  17929. "description": "备注",
  17930. "type": "string"
  17931. },
  17932. "spotaccountid": {
  17933. "description": "现货资金账户",
  17934. "type": "integer"
  17935. },
  17936. "spottradeid": {
  17937. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17938. "type": "integer"
  17939. },
  17940. "spottradename": {
  17941. "description": "业务名称",
  17942. "type": "string"
  17943. },
  17944. "spottradeno": {
  17945. "description": "业务编号",
  17946. "type": "string"
  17947. },
  17948. "tradedate": {
  17949. "description": "交易日(yyyyMMdd)",
  17950. "type": "string"
  17951. },
  17952. "wrstandardid": {
  17953. "description": "仓单标准ID",
  17954. "type": "integer"
  17955. }
  17956. }
  17957. },
  17958. "erms3.AddSpotContractApplyReq": {
  17959. "type": "object",
  17960. "required": [
  17961. "accountid",
  17962. "areauserid",
  17963. "contractno",
  17964. "contracttype",
  17965. "customeraccountid",
  17966. "customeruserid",
  17967. "details",
  17968. "orimargin",
  17969. "signdate"
  17970. ],
  17971. "properties": {
  17972. "accountid": {
  17973. "description": "资金账户ID",
  17974. "type": "integer"
  17975. },
  17976. "areauserid": {
  17977. "description": "所属机构",
  17978. "type": "integer"
  17979. },
  17980. "contractattachment": {
  17981. "description": "合同附件",
  17982. "type": "string"
  17983. },
  17984. "contractno": {
  17985. "description": "现货合同编号",
  17986. "type": "string"
  17987. },
  17988. "contracttype": {
  17989. "description": "现货合同类型 - 1:采购 -1:销售",
  17990. "type": "integer"
  17991. },
  17992. "creatorid": {
  17993. "description": "申请人",
  17994. "type": "integer"
  17995. },
  17996. "customeraccountid": {
  17997. "description": "客户资金账户ID",
  17998. "type": "integer"
  17999. },
  18000. "customeruserid": {
  18001. "description": "客户ID",
  18002. "type": "integer"
  18003. },
  18004. "details": {
  18005. "description": "明细",
  18006. "type": "array",
  18007. "items": {
  18008. "$ref": "#/definitions/erms3.SoptContractDetail"
  18009. }
  18010. },
  18011. "orimargin": {
  18012. "description": "初始保证金",
  18013. "type": "number"
  18014. },
  18015. "remark": {
  18016. "description": "备注",
  18017. "type": "string"
  18018. },
  18019. "signdate": {
  18020. "description": "签订日期",
  18021. "type": "string"
  18022. }
  18023. }
  18024. },
  18025. "erms3.AddSpotContractApplyRsp": {
  18026. "type": "object",
  18027. "required": [
  18028. "contractno"
  18029. ],
  18030. "properties": {
  18031. "contractno": {
  18032. "description": "现货合同编号",
  18033. "type": "string"
  18034. },
  18035. "spotcontractid": {
  18036. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18037. "type": "integer"
  18038. }
  18039. }
  18040. },
  18041. "erms3.AddUserInfoApplyReq": {
  18042. "type": "object",
  18043. "required": [
  18044. "userid"
  18045. ],
  18046. "properties": {
  18047. "accountid": {
  18048. "description": "交易系统帐号Id (加密存储)",
  18049. "type": "integer"
  18050. },
  18051. "areacode": {
  18052. "description": "机构代码",
  18053. "type": "string"
  18054. },
  18055. "areaid": {
  18056. "description": "机构Id",
  18057. "type": "integer"
  18058. },
  18059. "attachment1": {
  18060. "description": "附件1",
  18061. "type": "string"
  18062. },
  18063. "attachment2": {
  18064. "description": "附件2",
  18065. "type": "string"
  18066. },
  18067. "attachment3": {
  18068. "description": "附件3",
  18069. "type": "string"
  18070. },
  18071. "attachment4": {
  18072. "description": "附件4",
  18073. "type": "string"
  18074. },
  18075. "attachment5": {
  18076. "description": "附件5",
  18077. "type": "string"
  18078. },
  18079. "auditedby": {
  18080. "description": "审核人",
  18081. "type": "string"
  18082. },
  18083. "auditime": {
  18084. "description": "审核时间",
  18085. "type": "string"
  18086. },
  18087. "auditsrc": {
  18088. "description": "审核来源 - 1:管理端 2:终端",
  18089. "type": "integer"
  18090. },
  18091. "bankaccount": {
  18092. "description": "银行帐号 (加密存储)",
  18093. "type": "string"
  18094. },
  18095. "bankaccountname": {
  18096. "description": "收款人名称",
  18097. "type": "string"
  18098. },
  18099. "bankcardbackphotourl": {
  18100. "description": "银行卡背面照地址",
  18101. "type": "string"
  18102. },
  18103. "bankcardfrontphotourl": {
  18104. "description": "银行卡正面照地址",
  18105. "type": "string"
  18106. },
  18107. "bankid": {
  18108. "description": "银行编码",
  18109. "type": "string"
  18110. },
  18111. "bankname": {
  18112. "description": "银行名称",
  18113. "type": "string"
  18114. },
  18115. "bankpictureurl": {
  18116. "description": "银行卡正面地址",
  18117. "type": "string"
  18118. },
  18119. "biznature": {
  18120. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18121. "type": "integer"
  18122. },
  18123. "bizscope": {
  18124. "description": "企业经营范围(企业)",
  18125. "type": "string"
  18126. },
  18127. "biztype": {
  18128. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18129. "type": "integer"
  18130. },
  18131. "brokerid": {
  18132. "description": "经纪人ID(加密存储)",
  18133. "type": "string"
  18134. },
  18135. "cardaddress": {
  18136. "description": "证件地址 (加密存储)",
  18137. "type": "string"
  18138. },
  18139. "cardbackphotourl": {
  18140. "description": "背面证件照地址",
  18141. "type": "string"
  18142. },
  18143. "cardfrontphotourl": {
  18144. "description": "正面证件照地址",
  18145. "type": "string"
  18146. },
  18147. "cardnum": {
  18148. "description": "证件号码 (加密存储)",
  18149. "type": "string"
  18150. },
  18151. "cardtype": {
  18152. "description": "证件类型",
  18153. "type": "integer"
  18154. },
  18155. "cityid": {
  18156. "description": "市",
  18157. "type": "integer"
  18158. },
  18159. "company": {
  18160. "description": "公司(个人)",
  18161. "type": "string"
  18162. },
  18163. "contactcardbackphotourl": {
  18164. "description": "联系人证件背面图片地址",
  18165. "type": "string"
  18166. },
  18167. "contactcardfrontphotourl": {
  18168. "description": "联系人证件正面图片地址",
  18169. "type": "string"
  18170. },
  18171. "contactname": {
  18172. "description": "联系人",
  18173. "type": "string"
  18174. },
  18175. "countryid": {
  18176. "description": "国家",
  18177. "type": "integer"
  18178. },
  18179. "createtime": {
  18180. "description": "开户申请时间",
  18181. "type": "string"
  18182. },
  18183. "cusbankid": {
  18184. "description": "签约类型",
  18185. "type": "string"
  18186. },
  18187. "cusbankname": {
  18188. "description": "签约类型名称",
  18189. "type": "string"
  18190. },
  18191. "customername": {
  18192. "description": "客户名称(企业名称)",
  18193. "type": "string"
  18194. },
  18195. "districtid": {
  18196. "description": "地区",
  18197. "type": "integer"
  18198. },
  18199. "email": {
  18200. "description": "Email地址(加密存储)",
  18201. "type": "string"
  18202. },
  18203. "halfbodyphotourl": {
  18204. "description": "半身照地址",
  18205. "type": "string"
  18206. },
  18207. "headurl": {
  18208. "description": "头像地址",
  18209. "type": "string"
  18210. },
  18211. "ipaddress": {
  18212. "description": "IP地址",
  18213. "type": "string"
  18214. },
  18215. "isvalidate": {
  18216. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18217. "type": "string"
  18218. },
  18219. "legalcardbackphotourl": {
  18220. "description": "法人身份证背面照地址",
  18221. "type": "string"
  18222. },
  18223. "legalcardfrontphotourl": {
  18224. "description": "法人身份证正面照地址",
  18225. "type": "string"
  18226. },
  18227. "legalpersonname": {
  18228. "description": "法人姓名(企业)",
  18229. "type": "string"
  18230. },
  18231. "logincode": {
  18232. "description": "登录帐号 (加密存储)",
  18233. "type": "string"
  18234. },
  18235. "memberareaid": {
  18236. "description": "所属会员ID",
  18237. "type": "integer"
  18238. },
  18239. "mobile2": {
  18240. "description": "手机号码[明文-尚志]",
  18241. "type": "string"
  18242. },
  18243. "mobilephone": {
  18244. "description": "手机号码 (加密存储)",
  18245. "type": "string"
  18246. },
  18247. "modifiedby": {
  18248. "description": "修改人帐号",
  18249. "type": "integer"
  18250. },
  18251. "modifiedtime": {
  18252. "description": "修改时间",
  18253. "type": "string"
  18254. },
  18255. "nickname": {
  18256. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18257. "type": "string"
  18258. },
  18259. "openmode": {
  18260. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18261. "type": "integer"
  18262. },
  18263. "otherurl": {
  18264. "description": "其它图片地址[使用分号分隔]",
  18265. "type": "string"
  18266. },
  18267. "postalcode": {
  18268. "description": "邮政编码",
  18269. "type": "string"
  18270. },
  18271. "provinceid": {
  18272. "description": "省",
  18273. "type": "integer"
  18274. },
  18275. "proxystatementurl": {
  18276. "description": "授权委托书",
  18277. "type": "string"
  18278. },
  18279. "qq": {
  18280. "description": "QQ(加密存储",
  18281. "type": "string"
  18282. },
  18283. "referral": {
  18284. "description": "推荐人编码",
  18285. "type": "string"
  18286. },
  18287. "remark": {
  18288. "description": "备注",
  18289. "type": "string"
  18290. },
  18291. "removebeforestatus": {
  18292. "description": "REMOVEBEFORESTATUS",
  18293. "type": "integer"
  18294. },
  18295. "sex": {
  18296. "description": "性别 - 0:女 1:男",
  18297. "type": "integer"
  18298. },
  18299. "signedstatus": {
  18300. "description": "账户一号签签约状态",
  18301. "type": "integer"
  18302. },
  18303. "signpdfurl": {
  18304. "description": "签约pdf文件",
  18305. "type": "string"
  18306. },
  18307. "subbranch": {
  18308. "description": "开户支行",
  18309. "type": "string"
  18310. },
  18311. "taxpayernum": {
  18312. "description": "纳税人识别号",
  18313. "type": "string"
  18314. },
  18315. "telphone": {
  18316. "description": "联系电话(加密存储)",
  18317. "type": "string"
  18318. },
  18319. "userid": {
  18320. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18321. "type": "integer"
  18322. },
  18323. "userinfotype": {
  18324. "description": "用户信息类型 - 1:个人 2:企业",
  18325. "type": "integer"
  18326. },
  18327. "username": {
  18328. "description": "用户姓名",
  18329. "type": "string"
  18330. },
  18331. "userstate": {
  18332. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18333. "type": "integer"
  18334. },
  18335. "usertype": {
  18336. "description": "用户类型 - 1:投资者 2:机构",
  18337. "type": "integer"
  18338. },
  18339. "videourl": {
  18340. "description": "视频地址",
  18341. "type": "string"
  18342. },
  18343. "wechat": {
  18344. "description": "微信号 (加密存储)",
  18345. "type": "string"
  18346. }
  18347. }
  18348. },
  18349. "erms3.CustomerInfo": {
  18350. "type": "object",
  18351. "required": [
  18352. "userid"
  18353. ],
  18354. "properties": {
  18355. "accountids": {
  18356. "description": "资金账户ID列表",
  18357. "type": "array",
  18358. "items": {
  18359. "type": "integer"
  18360. }
  18361. },
  18362. "customername": {
  18363. "description": "名称(企业名称)",
  18364. "type": "string"
  18365. },
  18366. "mobile": {
  18367. "description": "手机号码",
  18368. "type": "string"
  18369. },
  18370. "userid": {
  18371. "description": "用户ID",
  18372. "type": "integer"
  18373. }
  18374. }
  18375. },
  18376. "erms3.ModifyUserInfoApplyReq": {
  18377. "type": "object",
  18378. "required": [
  18379. "userid"
  18380. ],
  18381. "properties": {
  18382. "accountid": {
  18383. "description": "交易系统帐号Id (加密存储)",
  18384. "type": "integer"
  18385. },
  18386. "areacode": {
  18387. "description": "机构代码",
  18388. "type": "string"
  18389. },
  18390. "areaid": {
  18391. "description": "机构Id",
  18392. "type": "integer"
  18393. },
  18394. "attachment1": {
  18395. "description": "附件1",
  18396. "type": "string"
  18397. },
  18398. "attachment2": {
  18399. "description": "附件2",
  18400. "type": "string"
  18401. },
  18402. "attachment3": {
  18403. "description": "附件3",
  18404. "type": "string"
  18405. },
  18406. "attachment4": {
  18407. "description": "附件4",
  18408. "type": "string"
  18409. },
  18410. "attachment5": {
  18411. "description": "附件5",
  18412. "type": "string"
  18413. },
  18414. "auditedby": {
  18415. "description": "审核人",
  18416. "type": "string"
  18417. },
  18418. "auditime": {
  18419. "description": "审核时间",
  18420. "type": "string"
  18421. },
  18422. "auditsrc": {
  18423. "description": "审核来源 - 1:管理端 2:终端",
  18424. "type": "integer"
  18425. },
  18426. "bankaccount": {
  18427. "description": "银行帐号 (加密存储)",
  18428. "type": "string"
  18429. },
  18430. "bankaccountname": {
  18431. "description": "收款人名称",
  18432. "type": "string"
  18433. },
  18434. "bankcardbackphotourl": {
  18435. "description": "银行卡背面照地址",
  18436. "type": "string"
  18437. },
  18438. "bankcardfrontphotourl": {
  18439. "description": "银行卡正面照地址",
  18440. "type": "string"
  18441. },
  18442. "bankid": {
  18443. "description": "银行编码",
  18444. "type": "string"
  18445. },
  18446. "bankname": {
  18447. "description": "银行名称",
  18448. "type": "string"
  18449. },
  18450. "bankpictureurl": {
  18451. "description": "银行卡正面地址",
  18452. "type": "string"
  18453. },
  18454. "biznature": {
  18455. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18456. "type": "integer"
  18457. },
  18458. "bizscope": {
  18459. "description": "企业经营范围(企业)",
  18460. "type": "string"
  18461. },
  18462. "biztype": {
  18463. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18464. "type": "integer"
  18465. },
  18466. "brokerid": {
  18467. "description": "经纪人ID(加密存储)",
  18468. "type": "string"
  18469. },
  18470. "cardaddress": {
  18471. "description": "证件地址 (加密存储)",
  18472. "type": "string"
  18473. },
  18474. "cardbackphotourl": {
  18475. "description": "背面证件照地址",
  18476. "type": "string"
  18477. },
  18478. "cardfrontphotourl": {
  18479. "description": "正面证件照地址",
  18480. "type": "string"
  18481. },
  18482. "cardnum": {
  18483. "description": "证件号码 (加密存储)",
  18484. "type": "string"
  18485. },
  18486. "cardtype": {
  18487. "description": "证件类型",
  18488. "type": "integer"
  18489. },
  18490. "cityid": {
  18491. "description": "市",
  18492. "type": "integer"
  18493. },
  18494. "company": {
  18495. "description": "公司(个人)",
  18496. "type": "string"
  18497. },
  18498. "contactcardbackphotourl": {
  18499. "description": "联系人证件背面图片地址",
  18500. "type": "string"
  18501. },
  18502. "contactcardfrontphotourl": {
  18503. "description": "联系人证件正面图片地址",
  18504. "type": "string"
  18505. },
  18506. "contactname": {
  18507. "description": "联系人",
  18508. "type": "string"
  18509. },
  18510. "countryid": {
  18511. "description": "国家",
  18512. "type": "integer"
  18513. },
  18514. "createtime": {
  18515. "description": "开户申请时间",
  18516. "type": "string"
  18517. },
  18518. "cusbankid": {
  18519. "description": "签约类型",
  18520. "type": "string"
  18521. },
  18522. "cusbankname": {
  18523. "description": "签约类型名称",
  18524. "type": "string"
  18525. },
  18526. "customername": {
  18527. "description": "客户名称(企业名称)",
  18528. "type": "string"
  18529. },
  18530. "districtid": {
  18531. "description": "地区",
  18532. "type": "integer"
  18533. },
  18534. "email": {
  18535. "description": "Email地址(加密存储)",
  18536. "type": "string"
  18537. },
  18538. "halfbodyphotourl": {
  18539. "description": "半身照地址",
  18540. "type": "string"
  18541. },
  18542. "headurl": {
  18543. "description": "头像地址",
  18544. "type": "string"
  18545. },
  18546. "ipaddress": {
  18547. "description": "IP地址",
  18548. "type": "string"
  18549. },
  18550. "isvalidate": {
  18551. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18552. "type": "string"
  18553. },
  18554. "legalcardbackphotourl": {
  18555. "description": "法人身份证背面照地址",
  18556. "type": "string"
  18557. },
  18558. "legalcardfrontphotourl": {
  18559. "description": "法人身份证正面照地址",
  18560. "type": "string"
  18561. },
  18562. "legalpersonname": {
  18563. "description": "法人姓名(企业)",
  18564. "type": "string"
  18565. },
  18566. "logincode": {
  18567. "description": "登录帐号 (加密存储)",
  18568. "type": "string"
  18569. },
  18570. "memberareaid": {
  18571. "description": "所属会员ID",
  18572. "type": "integer"
  18573. },
  18574. "mobile2": {
  18575. "description": "手机号码[明文-尚志]",
  18576. "type": "string"
  18577. },
  18578. "mobilephone": {
  18579. "description": "手机号码 (加密存储)",
  18580. "type": "string"
  18581. },
  18582. "modifiedby": {
  18583. "description": "修改人帐号",
  18584. "type": "integer"
  18585. },
  18586. "modifiedtime": {
  18587. "description": "修改时间",
  18588. "type": "string"
  18589. },
  18590. "nickname": {
  18591. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18592. "type": "string"
  18593. },
  18594. "openmode": {
  18595. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18596. "type": "integer"
  18597. },
  18598. "otherurl": {
  18599. "description": "其它图片地址[使用分号分隔]",
  18600. "type": "string"
  18601. },
  18602. "postalcode": {
  18603. "description": "邮政编码",
  18604. "type": "string"
  18605. },
  18606. "provinceid": {
  18607. "description": "省",
  18608. "type": "integer"
  18609. },
  18610. "proxystatementurl": {
  18611. "description": "授权委托书",
  18612. "type": "string"
  18613. },
  18614. "qq": {
  18615. "description": "QQ(加密存储",
  18616. "type": "string"
  18617. },
  18618. "referral": {
  18619. "description": "推荐人编码",
  18620. "type": "string"
  18621. },
  18622. "remark": {
  18623. "description": "备注",
  18624. "type": "string"
  18625. },
  18626. "removebeforestatus": {
  18627. "description": "REMOVEBEFORESTATUS",
  18628. "type": "integer"
  18629. },
  18630. "sex": {
  18631. "description": "性别 - 0:女 1:男",
  18632. "type": "integer"
  18633. },
  18634. "signedstatus": {
  18635. "description": "账户一号签签约状态",
  18636. "type": "integer"
  18637. },
  18638. "signpdfurl": {
  18639. "description": "签约pdf文件",
  18640. "type": "string"
  18641. },
  18642. "subbranch": {
  18643. "description": "开户支行",
  18644. "type": "string"
  18645. },
  18646. "taxpayernum": {
  18647. "description": "纳税人识别号",
  18648. "type": "string"
  18649. },
  18650. "telphone": {
  18651. "description": "联系电话(加密存储)",
  18652. "type": "string"
  18653. },
  18654. "userid": {
  18655. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18656. "type": "integer"
  18657. },
  18658. "userinfotype": {
  18659. "description": "用户信息类型 - 1:个人 2:企业",
  18660. "type": "integer"
  18661. },
  18662. "username": {
  18663. "description": "用户姓名",
  18664. "type": "string"
  18665. },
  18666. "userstate": {
  18667. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18668. "type": "integer"
  18669. },
  18670. "usertype": {
  18671. "description": "用户类型 - 1:投资者 2:机构",
  18672. "type": "integer"
  18673. },
  18674. "videourl": {
  18675. "description": "视频地址",
  18676. "type": "string"
  18677. },
  18678. "wechat": {
  18679. "description": "微信号 (加密存储)",
  18680. "type": "string"
  18681. }
  18682. }
  18683. },
  18684. "erms3.QryAuditContractRsp": {
  18685. "type": "object",
  18686. "required": [
  18687. "matchcustomername",
  18688. "spotcontractid"
  18689. ],
  18690. "properties": {
  18691. "accountid": {
  18692. "description": "交易员ID",
  18693. "type": "string"
  18694. },
  18695. "applystatus": {
  18696. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18697. "type": "integer"
  18698. },
  18699. "curdeliveryqty": {
  18700. "description": "未交收量",
  18701. "type": "integer"
  18702. },
  18703. "customername": {
  18704. "description": "采购方ID",
  18705. "type": "string"
  18706. },
  18707. "deliverygoodsid": {
  18708. "description": "品种ID",
  18709. "type": "string"
  18710. },
  18711. "deliveryqty": {
  18712. "description": "交收量",
  18713. "type": "integer"
  18714. },
  18715. "enumdicname": {
  18716. "description": "单位名称",
  18717. "type": "string"
  18718. },
  18719. "matchaccountid": {
  18720. "description": "业务员ID",
  18721. "type": "string"
  18722. },
  18723. "matchcustomername": {
  18724. "description": "销售方ID",
  18725. "type": "string"
  18726. },
  18727. "pricedqty": {
  18728. "description": "定价量",
  18729. "type": "number"
  18730. },
  18731. "signdate": {
  18732. "description": "签订日期",
  18733. "type": "string"
  18734. },
  18735. "spotcontractid": {
  18736. "description": "合同ID",
  18737. "type": "string"
  18738. },
  18739. "totaldqty": {
  18740. "description": "合同量",
  18741. "type": "number"
  18742. },
  18743. "unpricedqty": {
  18744. "description": "未定价量",
  18745. "type": "number"
  18746. },
  18747. "wrstandardname": {
  18748. "description": "商品名称",
  18749. "type": "string"
  18750. }
  18751. }
  18752. },
  18753. "erms3.QryPendingBizRsp": {
  18754. "type": "object",
  18755. "properties": {
  18756. "accountid": {
  18757. "description": "现货账户",
  18758. "type": "string"
  18759. },
  18760. "areaname": {
  18761. "description": "所属部门",
  18762. "type": "string"
  18763. },
  18764. "bizid": {
  18765. "description": "业务ID",
  18766. "type": "string"
  18767. },
  18768. "bizname": {
  18769. "description": "业务名称",
  18770. "type": "string"
  18771. },
  18772. "status": {
  18773. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18774. "type": "integer"
  18775. },
  18776. "type": {
  18777. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18778. "type": "integer"
  18779. }
  18780. }
  18781. },
  18782. "erms3.QueryBusinessInfoRsp": {
  18783. "type": "object",
  18784. "properties": {
  18785. "businessid": {
  18786. "description": "业务ID.",
  18787. "type": "integer"
  18788. },
  18789. "buyamount": {
  18790. "description": "采购额.",
  18791. "type": "number"
  18792. },
  18793. "buyqty": {
  18794. "description": "采购量.",
  18795. "type": "string"
  18796. },
  18797. "futurepl": {
  18798. "description": "期货盈亏.",
  18799. "type": "number"
  18800. },
  18801. "futureqty": {
  18802. "description": "期货敞口.",
  18803. "type": "string"
  18804. },
  18805. "goodsid": {
  18806. "description": "商品名称/商品代码.",
  18807. "type": "string"
  18808. },
  18809. "hedgingqty": {
  18810. "description": "套保量.",
  18811. "type": "string"
  18812. },
  18813. "sellamount": {
  18814. "description": "销售额.",
  18815. "type": "number"
  18816. },
  18817. "sellqty": {
  18818. "description": "销售量.",
  18819. "type": "string"
  18820. },
  18821. "spotmarketvalue": {
  18822. "description": "现货市值.",
  18823. "type": "number"
  18824. },
  18825. "spotpl": {
  18826. "description": "浮动权益.",
  18827. "type": "number"
  18828. },
  18829. "spotqty": {
  18830. "description": "现货量.",
  18831. "type": "string"
  18832. },
  18833. "statu": {
  18834. "description": "状态,0-未结束 1-已结束.",
  18835. "type": "integer"
  18836. },
  18837. "totalpl": {
  18838. "description": "总盈亏.",
  18839. "type": "number"
  18840. },
  18841. "totalqty": {
  18842. "description": "总敞口.",
  18843. "type": "string"
  18844. },
  18845. "type": {
  18846. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18847. "type": "integer"
  18848. }
  18849. }
  18850. },
  18851. "erms3.QuerySpotContractAppleFormRsp": {
  18852. "type": "object",
  18853. "properties": {
  18854. "goodses": {
  18855. "description": "合约列表",
  18856. "type": "array",
  18857. "items": {
  18858. "$ref": "#/definitions/models.GoodsIDAndName"
  18859. }
  18860. },
  18861. "oppositeusers": {
  18862. "description": "对方账号列表",
  18863. "type": "array",
  18864. "items": {
  18865. "$ref": "#/definitions/erms3.CustomerInfo"
  18866. }
  18867. },
  18868. "ouruser": {
  18869. "description": "我方账号",
  18870. "$ref": "#/definitions/erms3.CustomerInfo"
  18871. },
  18872. "warehouseinfos": {
  18873. "description": "仓库信息列表",
  18874. "type": "array",
  18875. "items": {
  18876. "$ref": "#/definitions/models.Warehouseinfo"
  18877. }
  18878. },
  18879. "wrstandards": {
  18880. "description": "仓单标准列表",
  18881. "type": "array",
  18882. "items": {
  18883. "$ref": "#/definitions/models.WRStandardInfo"
  18884. }
  18885. }
  18886. }
  18887. },
  18888. "erms3.QuerySpotContractInfoRsp": {
  18889. "type": "object",
  18890. "properties": {
  18891. "accountid": {
  18892. "description": "表示交易员ID.",
  18893. "type": "integer"
  18894. },
  18895. "curdeliveryqty": {
  18896. "description": "表示未交收量.",
  18897. "type": "number"
  18898. },
  18899. "customername": {
  18900. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18901. "type": "string"
  18902. },
  18903. "deliverygoodsid": {
  18904. "description": "表示品种ID.",
  18905. "type": "string"
  18906. },
  18907. "deliveryqty": {
  18908. "description": "表示交收量.",
  18909. "type": "number"
  18910. },
  18911. "matchaccountid": {
  18912. "description": "表示业务员ID.",
  18913. "type": "integer"
  18914. },
  18915. "matchcustomername": {
  18916. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18917. "type": "string"
  18918. },
  18919. "priceqty": {
  18920. "description": "表示定价量.",
  18921. "type": "number"
  18922. },
  18923. "relatedbizid": {
  18924. "description": "表示业务ID.",
  18925. "type": "string"
  18926. },
  18927. "signdate": {
  18928. "description": "表示签订日期.",
  18929. "type": "string"
  18930. },
  18931. "spotcontractid": {
  18932. "description": "合同ID",
  18933. "type": "string"
  18934. },
  18935. "status": {
  18936. "description": "表示状态,0-履约中 1-已完成.",
  18937. "type": "integer"
  18938. },
  18939. "totalqty": {
  18940. "description": "表示合同量.",
  18941. "type": "number"
  18942. },
  18943. "unpricedqty": {
  18944. "description": "表示未定价量.",
  18945. "type": "number"
  18946. },
  18947. "wrstandardname": {
  18948. "description": "表示商品ID.",
  18949. "type": "string"
  18950. }
  18951. }
  18952. },
  18953. "erms3.QueryUserInfoAppliesRsp": {
  18954. "type": "object",
  18955. "required": [
  18956. "userid"
  18957. ],
  18958. "properties": {
  18959. "biznature": {
  18960. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18961. "type": "integer"
  18962. },
  18963. "contactname": {
  18964. "description": "联系人",
  18965. "type": "string"
  18966. },
  18967. "createtime": {
  18968. "description": "开户申请时间",
  18969. "type": "string"
  18970. },
  18971. "userid": {
  18972. "description": "用户ID(自增ID)",
  18973. "type": "integer"
  18974. },
  18975. "userinfotype": {
  18976. "description": "用户信息类型 - 1:个人 2:企业",
  18977. "type": "integer"
  18978. },
  18979. "username": {
  18980. "description": "用户姓名",
  18981. "type": "string"
  18982. },
  18983. "userstate": {
  18984. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18985. "type": "integer"
  18986. }
  18987. }
  18988. },
  18989. "erms3.QueryUserInfosRsp": {
  18990. "type": "object",
  18991. "required": [
  18992. "userid"
  18993. ],
  18994. "properties": {
  18995. "biznature": {
  18996. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18997. "type": "integer"
  18998. },
  18999. "contactname": {
  19000. "description": "联系人",
  19001. "type": "string"
  19002. },
  19003. "customername": {
  19004. "description": "客户名称(企业名称)",
  19005. "type": "string"
  19006. },
  19007. "userid": {
  19008. "description": "用户ID",
  19009. "type": "integer"
  19010. },
  19011. "userinfotype": {
  19012. "description": "用户信息类型 - 1:个人 2:企业",
  19013. "type": "integer"
  19014. },
  19015. "userstatus": {
  19016. "description": "用户状态 - 1:正常 2:注销",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "erms3.SoptContractDetail": {
  19022. "type": "object",
  19023. "required": [
  19024. "deliverygoodsid",
  19025. "producttype",
  19026. "unitname",
  19027. "warehouseid",
  19028. "wrstandardid",
  19029. "wrstandardname"
  19030. ],
  19031. "properties": {
  19032. "deliverygoodsdesc": {
  19033. "description": "现货品种说明",
  19034. "type": "string"
  19035. },
  19036. "deliverygoodsid": {
  19037. "description": "现货品种ID",
  19038. "type": "integer"
  19039. },
  19040. "deliverygoodsname": {
  19041. "description": "现货品种名称",
  19042. "type": "string"
  19043. },
  19044. "pointdesc": {
  19045. "description": "点价描述",
  19046. "type": "string"
  19047. },
  19048. "producttype": {
  19049. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19050. "type": "integer"
  19051. },
  19052. "producttypename": {
  19053. "description": "产品类型名称",
  19054. "type": "string"
  19055. },
  19056. "spotPointOrderVoList": {
  19057. "description": "点价列表",
  19058. "type": "array",
  19059. "items": {
  19060. "$ref": "#/definitions/erms3.SpotPointOrder"
  19061. }
  19062. },
  19063. "spotPriceOrderList": {
  19064. "description": "定价列表",
  19065. "type": "array",
  19066. "items": {
  19067. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19068. }
  19069. },
  19070. "unitname": {
  19071. "description": "单位名称",
  19072. "type": "string"
  19073. },
  19074. "warehouseid": {
  19075. "description": "仓库ID",
  19076. "type": "integer"
  19077. },
  19078. "warehousename": {
  19079. "description": "仓库名称",
  19080. "type": "string"
  19081. },
  19082. "wrstandardid": {
  19083. "description": "交易标的ID",
  19084. "type": "integer"
  19085. },
  19086. "wrstandardname": {
  19087. "description": "交易标的名称",
  19088. "type": "string"
  19089. }
  19090. }
  19091. },
  19092. "erms3.SpotPointOrder": {
  19093. "type": "object",
  19094. "required": [
  19095. "basic",
  19096. "goodsid",
  19097. "qty"
  19098. ],
  19099. "properties": {
  19100. "basic": {
  19101. "description": "基差",
  19102. "type": "number"
  19103. },
  19104. "deliveryenddate": {
  19105. "description": "交收结束日期",
  19106. "type": "string"
  19107. },
  19108. "deliverystartdate": {
  19109. "description": "交收开始日期",
  19110. "type": "string"
  19111. },
  19112. "enddate": {
  19113. "description": "点价结束日期",
  19114. "type": "string"
  19115. },
  19116. "goodsid": {
  19117. "description": "商品ID",
  19118. "type": "integer"
  19119. },
  19120. "goodsname": {
  19121. "description": "商品名称",
  19122. "type": "string"
  19123. },
  19124. "qty": {
  19125. "description": "数量",
  19126. "type": "number"
  19127. },
  19128. "startdate": {
  19129. "description": "点价开始日期",
  19130. "type": "string"
  19131. }
  19132. }
  19133. },
  19134. "erms3.SpotPriceOrder": {
  19135. "type": "object",
  19136. "required": [
  19137. "amount",
  19138. "price",
  19139. "qty"
  19140. ],
  19141. "properties": {
  19142. "amount": {
  19143. "description": "金额",
  19144. "type": "number"
  19145. },
  19146. "deliveryenddate": {
  19147. "description": "交收结束日期",
  19148. "type": "string"
  19149. },
  19150. "deliverystartdate": {
  19151. "description": "交收开始日期",
  19152. "type": "string"
  19153. },
  19154. "price": {
  19155. "description": "价格",
  19156. "type": "number"
  19157. },
  19158. "qty": {
  19159. "description": "数量",
  19160. "type": "number"
  19161. }
  19162. }
  19163. },
  19164. "hsby.GetHsbyMyCountRsp": {
  19165. "type": "object",
  19166. "properties": {
  19167. "myCouponCount": {
  19168. "description": "我的优惠卷数量",
  19169. "type": "integer"
  19170. },
  19171. "myOrderDetailListingCount": {
  19172. "description": "我的订单求购中数量",
  19173. "type": "integer"
  19174. },
  19175. "myOrderDetailPreCount": {
  19176. "description": "我的订单抢购中数量",
  19177. "type": "integer"
  19178. },
  19179. "myPackageUnReceiveCount": {
  19180. "description": "我的包裹待收货数量",
  19181. "type": "integer"
  19182. },
  19183. "myPackageUnSendCount": {
  19184. "description": "我的包裹待发货数量",
  19185. "type": "integer"
  19186. },
  19187. "myPayOrderCount": {
  19188. "description": "我的订单待付款数量",
  19189. "type": "integer"
  19190. }
  19191. }
  19192. },
  19193. "hsby.QueryProvincesAndCitiesRsp": {
  19194. "type": "object",
  19195. "properties": {
  19196. "cities": {
  19197. "description": "市",
  19198. "type": "array",
  19199. "items": {
  19200. "$ref": "#/definitions/models.Division"
  19201. }
  19202. },
  19203. "province": {
  19204. "description": "省",
  19205. "$ref": "#/definitions/models.Division"
  19206. }
  19207. }
  19208. },
  19209. "models.Arearole": {
  19210. "type": "object",
  19211. "required": [
  19212. "roletype",
  19213. "userid"
  19214. ],
  19215. "properties": {
  19216. "createtime": {
  19217. "description": "创建时间",
  19218. "type": "string"
  19219. },
  19220. "creatorid": {
  19221. "description": "创建人ID",
  19222. "type": "integer"
  19223. },
  19224. "fromuserid": {
  19225. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19226. "type": "integer"
  19227. },
  19228. "isreturnscore": {
  19229. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19230. "type": "integer"
  19231. },
  19232. "modifierid": {
  19233. "description": "修改人ID",
  19234. "type": "integer"
  19235. },
  19236. "modifytime": {
  19237. "description": "修改时间",
  19238. "type": "string"
  19239. },
  19240. "orgtype": {
  19241. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19242. "type": "integer"
  19243. },
  19244. "outuserid": {
  19245. "description": "外部账户[场外期权做市商]",
  19246. "type": "string"
  19247. },
  19248. "parentuserid": {
  19249. "description": "上级组织机构(组织机构)",
  19250. "type": "integer"
  19251. },
  19252. "roletype": {
  19253. "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:门店",
  19254. "type": "integer"
  19255. },
  19256. "rootuserid": {
  19257. "description": "顶级组织机构用户ID(组织机构)",
  19258. "type": "integer"
  19259. },
  19260. "shoppassword": {
  19261. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19262. "type": "string"
  19263. },
  19264. "sublevelpath": {
  19265. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19266. "type": "string"
  19267. },
  19268. "suborgtype": {
  19269. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19270. "type": "integer"
  19271. },
  19272. "tradeaccountid": {
  19273. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19274. "type": "integer"
  19275. },
  19276. "transurl": {
  19277. "description": "物流地址(物流机构)",
  19278. "type": "string"
  19279. },
  19280. "userid": {
  19281. "description": "机构用户ID其他做市关系,都设置为 1",
  19282. "type": "integer"
  19283. }
  19284. }
  19285. },
  19286. "models.Clientfixedadconfig": {
  19287. "type": "object",
  19288. "required": [
  19289. "adsort",
  19290. "adtype"
  19291. ],
  19292. "properties": {
  19293. "adsort": {
  19294. "description": "排序",
  19295. "type": "integer"
  19296. },
  19297. "adtype": {
  19298. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19299. "type": "integer"
  19300. },
  19301. "areauserid": {
  19302. "description": "所属机构ID",
  19303. "type": "integer"
  19304. },
  19305. "createdate": {
  19306. "description": "创建时间",
  19307. "type": "string"
  19308. },
  19309. "creatorid": {
  19310. "description": "创建人",
  19311. "type": "integer"
  19312. },
  19313. "imagepath": {
  19314. "description": "图片",
  19315. "type": "string"
  19316. },
  19317. "isshow": {
  19318. "description": "是否展示 - 0:不展示 1:展示",
  19319. "type": "integer"
  19320. },
  19321. "modifierid": {
  19322. "description": "操作人",
  19323. "type": "integer"
  19324. },
  19325. "recsize": {
  19326. "description": "推荐尺寸",
  19327. "type": "string"
  19328. },
  19329. "title": {
  19330. "description": "标题",
  19331. "type": "string"
  19332. },
  19333. "updatedate": {
  19334. "description": "更新时间",
  19335. "type": "string"
  19336. },
  19337. "urlcontent": {
  19338. "description": "链接(地址或商品ID)",
  19339. "type": "string"
  19340. },
  19341. "urltype": {
  19342. "description": "链接类型 - 1:直接地址 2:商品ID",
  19343. "type": "integer"
  19344. }
  19345. }
  19346. },
  19347. "models.Division": {
  19348. "type": "object",
  19349. "required": [
  19350. "autoid",
  19351. "divisioncode"
  19352. ],
  19353. "properties": {
  19354. "autoid": {
  19355. "description": "自增ID",
  19356. "type": "integer"
  19357. },
  19358. "divisioncode": {
  19359. "description": "行政代码",
  19360. "type": "string"
  19361. },
  19362. "divisionlevel": {
  19363. "description": "行政级别",
  19364. "type": "string"
  19365. },
  19366. "divisionname": {
  19367. "description": "行政名称",
  19368. "type": "string"
  19369. },
  19370. "modifierid": {
  19371. "description": "修改人",
  19372. "type": "integer"
  19373. },
  19374. "modifytime": {
  19375. "description": "修改时间",
  19376. "type": "string"
  19377. },
  19378. "parentcode": {
  19379. "description": "上级行政代码",
  19380. "type": "string"
  19381. },
  19382. "pathname": {
  19383. "description": "路径名称",
  19384. "type": "string"
  19385. },
  19386. "postcode": {
  19387. "description": "邮政编码",
  19388. "type": "string"
  19389. },
  19390. "separablename": {
  19391. "description": "可拆分的全称",
  19392. "type": "string"
  19393. },
  19394. "shortcode": {
  19395. "description": "地区简码",
  19396. "type": "string"
  19397. }
  19398. }
  19399. },
  19400. "models.Enumdicitem": {
  19401. "type": "object",
  19402. "required": [
  19403. "autoid",
  19404. "enumdiccode",
  19405. "enumdicid",
  19406. "enumitemname"
  19407. ],
  19408. "properties": {
  19409. "autoid": {
  19410. "description": "自增ID",
  19411. "type": "integer"
  19412. },
  19413. "bankmappedvalue": {
  19414. "description": "银行服务对应值",
  19415. "type": "string"
  19416. },
  19417. "enumdiccode": {
  19418. "description": "所属枚举代码",
  19419. "type": "string"
  19420. },
  19421. "enumdicid": {
  19422. "description": "所属枚举ID",
  19423. "type": "integer"
  19424. },
  19425. "enumdicname": {
  19426. "description": "枚举项名称",
  19427. "type": "string"
  19428. },
  19429. "enumitemname": {
  19430. "description": "枚举项值",
  19431. "type": "integer"
  19432. },
  19433. "enumitemstatus": {
  19434. "description": "枚举项状态 - 1.启用 2.不启用",
  19435. "type": "integer"
  19436. },
  19437. "enumitemvalue": {
  19438. "description": "通用值 - [币种通用简写]",
  19439. "type": "string"
  19440. },
  19441. "param1": {
  19442. "description": "参数1[币种:币种小数位]",
  19443. "type": "string"
  19444. },
  19445. "param2": {
  19446. "description": "参数1[币种:币种显示单位]",
  19447. "type": "string"
  19448. },
  19449. "remark": {
  19450. "description": "备注",
  19451. "type": "string"
  19452. }
  19453. }
  19454. },
  19455. "models.Ermcp3AreaSpot": {
  19456. "type": "object",
  19457. "properties": {
  19458. "areauserid": {
  19459. "description": "所属机构",
  19460. "type": "integer"
  19461. },
  19462. "convertratio": {
  19463. "description": "套保系数",
  19464. "type": "number"
  19465. },
  19466. "decreaseqty": {
  19467. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19468. "type": "number"
  19469. },
  19470. "enumdicname": {
  19471. "description": "单位名称",
  19472. "type": "string"
  19473. },
  19474. "increaseqty": {
  19475. "description": "增加数量=销售计划数量+采购已定价数量",
  19476. "type": "number"
  19477. },
  19478. "oritoalspotqty": {
  19479. "description": "昨日数量",
  19480. "type": "number"
  19481. },
  19482. "totalspotqty": {
  19483. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19484. "type": "number"
  19485. },
  19486. "unitid": {
  19487. "description": "现货商品单位id",
  19488. "type": "integer"
  19489. },
  19490. "updatetime": {
  19491. "description": "更新时间",
  19492. "type": "string"
  19493. },
  19494. "wrstandardcode": {
  19495. "description": "现货商品代码",
  19496. "type": "string"
  19497. },
  19498. "wrstandardid": {
  19499. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19500. "type": "integer"
  19501. },
  19502. "wrstandardname": {
  19503. "description": "现货商品名称",
  19504. "type": "string"
  19505. }
  19506. }
  19507. },
  19508. "models.Ermcp3AreaSpotDetail": {
  19509. "type": "object",
  19510. "properties": {
  19511. "contracttype": {
  19512. "description": "合同类型 1-采购 -1-销售",
  19513. "type": "integer"
  19514. },
  19515. "createtime": {
  19516. "description": "创建时间",
  19517. "type": "string"
  19518. },
  19519. "enumdicname": {
  19520. "description": "现货商品单位名称",
  19521. "type": "string"
  19522. },
  19523. "logtype": {
  19524. "description": "记录类型 1-套保 2-现货合同",
  19525. "type": "integer"
  19526. },
  19527. "qty": {
  19528. "description": "数量",
  19529. "type": "number"
  19530. },
  19531. "recordname": {
  19532. "description": "类型名称",
  19533. "type": "string"
  19534. },
  19535. "relatedid": {
  19536. "description": "套保计划ID/现货合同ID",
  19537. "type": "string"
  19538. },
  19539. "relatedno": {
  19540. "description": "编号",
  19541. "type": "string"
  19542. },
  19543. "strtime": {
  19544. "description": "时间",
  19545. "type": "string"
  19546. },
  19547. "wrstandardcode": {
  19548. "description": "现货商品代码",
  19549. "type": "string"
  19550. },
  19551. "wrstandardid": {
  19552. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19553. "type": "integer"
  19554. },
  19555. "wrstandardname": {
  19556. "description": "现货商品名称",
  19557. "type": "string"
  19558. }
  19559. }
  19560. },
  19561. "models.Ermcp3AreaSpotPLReport": {
  19562. "type": "object",
  19563. "properties": {
  19564. "accountid": {
  19565. "description": "期货账户ID (作废, 默认为0)",
  19566. "type": "integer"
  19567. },
  19568. "accountname": {
  19569. "description": "机构名称",
  19570. "type": "string"
  19571. },
  19572. "actualpl": {
  19573. "description": "现货损益",
  19574. "type": "number"
  19575. },
  19576. "areauserid": {
  19577. "description": "所属机构\\交易用户ID",
  19578. "type": "integer"
  19579. },
  19580. "begindate": {
  19581. "description": "开始交易日",
  19582. "type": "string"
  19583. },
  19584. "biztype": {
  19585. "description": "业务类型 - 1:套保 2:套利",
  19586. "type": "integer"
  19587. },
  19588. "brandname": {
  19589. "description": "品牌名称",
  19590. "type": "string"
  19591. },
  19592. "curamount": {
  19593. "description": "期末额",
  19594. "type": "number"
  19595. },
  19596. "curaverageprice": {
  19597. "description": "期末均价",
  19598. "type": "number"
  19599. },
  19600. "curbuyamount": {
  19601. "description": "期末采购总额",
  19602. "type": "number"
  19603. },
  19604. "curbuyqty": {
  19605. "description": "期末采购总量",
  19606. "type": "number"
  19607. },
  19608. "curmarketvalue": {
  19609. "description": "参考市值(期末市值)",
  19610. "type": "number"
  19611. },
  19612. "curqty": {
  19613. "description": "期末量",
  19614. "type": "number"
  19615. },
  19616. "currencyid": {
  19617. "description": "结算币种ID【原值】",
  19618. "type": "integer"
  19619. },
  19620. "currencyname": {
  19621. "description": "币种名称",
  19622. "type": "string"
  19623. },
  19624. "cursellamount": {
  19625. "description": "期末销售总额",
  19626. "type": "number"
  19627. },
  19628. "cursellqty": {
  19629. "description": "期末销售总量",
  19630. "type": "number"
  19631. },
  19632. "curspotprice": {
  19633. "description": "参考市价(最新价)",
  19634. "type": "number"
  19635. },
  19636. "cycletime": {
  19637. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19638. "type": "string"
  19639. },
  19640. "cycletype": {
  19641. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19642. "type": "integer"
  19643. },
  19644. "deliverygoodscode": {
  19645. "description": "现货商品代码",
  19646. "type": "string"
  19647. },
  19648. "deliverygoodsid": {
  19649. "description": "现货品种ID",
  19650. "type": "integer"
  19651. },
  19652. "deliverygoodsname": {
  19653. "description": "现货商品名称",
  19654. "type": "string"
  19655. },
  19656. "enddate": {
  19657. "description": "结束交易日",
  19658. "type": "string"
  19659. },
  19660. "enumdicname": {
  19661. "description": "现货商品单位名称",
  19662. "type": "string"
  19663. },
  19664. "floatpl": {
  19665. "description": "浮动损益",
  19666. "type": "number"
  19667. },
  19668. "goodsunitid": {
  19669. "description": "现货商品单位id",
  19670. "type": "integer"
  19671. },
  19672. "oriamount": {
  19673. "description": "期初额",
  19674. "type": "number"
  19675. },
  19676. "oriaverageprice": {
  19677. "description": "期初均价",
  19678. "type": "number"
  19679. },
  19680. "oribuyamount": {
  19681. "description": "期初采购总额",
  19682. "type": "number"
  19683. },
  19684. "oribuyqty": {
  19685. "description": "期初采购总量",
  19686. "type": "number"
  19687. },
  19688. "oriqty": {
  19689. "description": "期初量",
  19690. "type": "number"
  19691. },
  19692. "orisellamount": {
  19693. "description": "期初销售总额",
  19694. "type": "number"
  19695. },
  19696. "orisellqty": {
  19697. "description": "期初销售总量",
  19698. "type": "number"
  19699. },
  19700. "reckondate": {
  19701. "description": "日照时期(yyyyMMdd)",
  19702. "type": "string"
  19703. },
  19704. "spotgoodsbrandid": {
  19705. "description": "现货品牌ID",
  19706. "type": "integer"
  19707. },
  19708. "todaybuyamount": {
  19709. "description": "今日采购额(今采购额)",
  19710. "type": "number"
  19711. },
  19712. "todaybuyaverageprice": {
  19713. "description": "今日采购均价",
  19714. "type": "number"
  19715. },
  19716. "todaybuyqty": {
  19717. "description": "今日采购量(今采购量)",
  19718. "type": "number"
  19719. },
  19720. "todayinqty": {
  19721. "description": "今日入库量(今入库量)",
  19722. "type": "number"
  19723. },
  19724. "todayoutqty": {
  19725. "description": "今日出库量(今出库量)",
  19726. "type": "number"
  19727. },
  19728. "todaysellamount": {
  19729. "description": "今日销售额(今销售额)",
  19730. "type": "number"
  19731. },
  19732. "todaysellaverageprice": {
  19733. "description": "今日销售均价",
  19734. "type": "number"
  19735. },
  19736. "todaysellqty": {
  19737. "description": "今日销售量(今销售量)",
  19738. "type": "number"
  19739. },
  19740. "unitid": {
  19741. "description": "品类单位id",
  19742. "type": "integer"
  19743. },
  19744. "unitidname": {
  19745. "description": "品类单位名称",
  19746. "type": "string"
  19747. },
  19748. "updatetime": {
  19749. "description": "更新时间",
  19750. "type": "string"
  19751. },
  19752. "wrfactortypeid": {
  19753. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19754. "type": "integer"
  19755. },
  19756. "wrstandardcode": {
  19757. "description": "品类代码",
  19758. "type": "string"
  19759. },
  19760. "wrstandardid": {
  19761. "description": "现货品类ID",
  19762. "type": "integer"
  19763. },
  19764. "wrstandardname": {
  19765. "description": "品类名称",
  19766. "type": "string"
  19767. }
  19768. }
  19769. },
  19770. "models.Ermcp3AreaStock": {
  19771. "type": "object",
  19772. "required": [
  19773. "userid"
  19774. ],
  19775. "properties": {
  19776. "brandname": {
  19777. "description": "品牌名称",
  19778. "type": "string"
  19779. },
  19780. "curstock": {
  19781. "description": "期末库存量(今日量)",
  19782. "type": "number"
  19783. },
  19784. "deliverygoodscode": {
  19785. "description": "现货品种代码",
  19786. "type": "string"
  19787. },
  19788. "deliverygoodsid": {
  19789. "description": "现货品种id",
  19790. "type": "integer"
  19791. },
  19792. "deliverygoodsname": {
  19793. "description": "现货品种名称",
  19794. "type": "string"
  19795. },
  19796. "enumdicname": {
  19797. "description": "单位名称",
  19798. "type": "string"
  19799. },
  19800. "goodsunitid": {
  19801. "description": "现货商品单位id",
  19802. "type": "integer"
  19803. },
  19804. "oristock": {
  19805. "description": "期初库存量(昨日量)",
  19806. "type": "number"
  19807. },
  19808. "spotgoodsbrandid": {
  19809. "description": "现货品牌ID",
  19810. "type": "integer"
  19811. },
  19812. "todaybuyinqty": {
  19813. "description": "今日采购入库量",
  19814. "type": "number"
  19815. },
  19816. "todayproduceinqty": {
  19817. "description": "今日生产入库量",
  19818. "type": "number"
  19819. },
  19820. "todayproduceoutqty": {
  19821. "description": "今日生产出库量",
  19822. "type": "number"
  19823. },
  19824. "todayselloutqty": {
  19825. "description": "今日销售出库量",
  19826. "type": "number"
  19827. },
  19828. "unitid": {
  19829. "description": "单位id",
  19830. "type": "integer"
  19831. },
  19832. "updatetime": {
  19833. "description": "更新时间",
  19834. "type": "string"
  19835. },
  19836. "userid": {
  19837. "description": "机构ID",
  19838. "type": "integer"
  19839. },
  19840. "username": {
  19841. "description": "机构名称",
  19842. "type": "string"
  19843. },
  19844. "warehousecode": {
  19845. "description": "仓库代码",
  19846. "type": "string"
  19847. },
  19848. "warehouseinfoid": {
  19849. "description": "仓库ID",
  19850. "type": "string"
  19851. },
  19852. "warehousename": {
  19853. "description": "仓库名称",
  19854. "type": "string"
  19855. },
  19856. "warehousetype": {
  19857. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19858. "type": "integer"
  19859. },
  19860. "wrstandardcode": {
  19861. "description": "品类代码",
  19862. "type": "string"
  19863. },
  19864. "wrstandardid": {
  19865. "description": "品类ID",
  19866. "type": "string"
  19867. },
  19868. "wrstandardname": {
  19869. "description": "品类名称",
  19870. "type": "string"
  19871. }
  19872. }
  19873. },
  19874. "models.Ermcp3AreaStockApply": {
  19875. "type": "object",
  19876. "properties": {
  19877. "applyid": {
  19878. "description": "申请人",
  19879. "type": "integer"
  19880. },
  19881. "applyname": {
  19882. "description": "申请人名称",
  19883. "type": "string"
  19884. },
  19885. "applyremark": {
  19886. "description": "申请备注",
  19887. "type": "string"
  19888. },
  19889. "applysrc": {
  19890. "description": "申请来源 - 1:管理端 2:终端",
  19891. "type": "integer"
  19892. },
  19893. "applystatus": {
  19894. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19895. "type": "integer"
  19896. },
  19897. "applytime": {
  19898. "description": "申请时间",
  19899. "type": "string"
  19900. },
  19901. "auditid": {
  19902. "description": "审核人",
  19903. "type": "integer"
  19904. },
  19905. "auditname": {
  19906. "description": "审核人名称",
  19907. "type": "string"
  19908. },
  19909. "auditremark": {
  19910. "description": "审核备注",
  19911. "type": "string"
  19912. },
  19913. "auditsrc": {
  19914. "description": "审核来源 - 1:管理端 2:终端",
  19915. "type": "integer"
  19916. },
  19917. "audittime": {
  19918. "description": "审核时间",
  19919. "type": "string"
  19920. },
  19921. "audittradedate": {
  19922. "description": "审核交易日(yyyyMMdd)",
  19923. "type": "string"
  19924. },
  19925. "brandname": {
  19926. "description": "品牌名称",
  19927. "type": "string"
  19928. },
  19929. "buynickname": {
  19930. "description": "采购方昵称",
  19931. "type": "string"
  19932. },
  19933. "buyuserid": {
  19934. "description": "采购方userid",
  19935. "type": "integer"
  19936. },
  19937. "buyusername": {
  19938. "description": "采购方名称",
  19939. "type": "string"
  19940. },
  19941. "contractno": {
  19942. "description": "合同编号",
  19943. "type": "string"
  19944. },
  19945. "contractqty": {
  19946. "description": "合同量",
  19947. "type": "number"
  19948. },
  19949. "contracttype": {
  19950. "description": "现货合同类型 - 1:采购 -1:销售",
  19951. "type": "integer"
  19952. },
  19953. "deliverygoodscode": {
  19954. "description": "现货品种代码",
  19955. "type": "string"
  19956. },
  19957. "deliverygoodsid": {
  19958. "description": "现货品种id",
  19959. "type": "integer"
  19960. },
  19961. "deliverygoodsname": {
  19962. "description": "现货品种名称",
  19963. "type": "string"
  19964. },
  19965. "detailjson": {
  19966. "description": "明细数据",
  19967. "type": "string"
  19968. },
  19969. "enumdicname": {
  19970. "description": "现货商品单位名称",
  19971. "type": "string"
  19972. },
  19973. "inoutapplyid": {
  19974. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19975. "type": "string"
  19976. },
  19977. "inouttype": {
  19978. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19979. "type": "integer"
  19980. },
  19981. "pricetype": {
  19982. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19983. "type": "integer"
  19984. },
  19985. "qty": {
  19986. "description": "数量",
  19987. "type": "number"
  19988. },
  19989. "sellnickname": {
  19990. "description": "销售方昵称",
  19991. "type": "string"
  19992. },
  19993. "selluserid": {
  19994. "description": "销售方userid",
  19995. "type": "integer"
  19996. },
  19997. "sellusername": {
  19998. "description": "销售方名称",
  19999. "type": "string"
  20000. },
  20001. "spotcontractid": {
  20002. "description": "关联现货合同ID",
  20003. "type": "string"
  20004. },
  20005. "spotgoodsbrandid": {
  20006. "description": "现货品牌ID",
  20007. "type": "integer"
  20008. },
  20009. "unitid": {
  20010. "description": "单位id",
  20011. "type": "integer"
  20012. },
  20013. "userid": {
  20014. "description": "机构ID",
  20015. "type": "integer"
  20016. },
  20017. "warehousecode": {
  20018. "description": "仓库代码",
  20019. "type": "string"
  20020. },
  20021. "warehouseinfoid": {
  20022. "description": "现货仓库ID",
  20023. "type": "string"
  20024. },
  20025. "warehousename": {
  20026. "description": "仓库名称",
  20027. "type": "string"
  20028. },
  20029. "warehousetype": {
  20030. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20031. "type": "integer"
  20032. },
  20033. "wrstandardcode": {
  20034. "description": "品类代码",
  20035. "type": "string"
  20036. },
  20037. "wrstandardid": {
  20038. "description": "品类ID",
  20039. "type": "integer"
  20040. },
  20041. "wrstandardname": {
  20042. "description": "品类名称",
  20043. "type": "string"
  20044. }
  20045. }
  20046. },
  20047. "models.Ermcp3AreaStockApplySum": {
  20048. "type": "object",
  20049. "properties": {
  20050. "brandname": {
  20051. "description": "品牌名称",
  20052. "type": "string"
  20053. },
  20054. "inouttype": {
  20055. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20056. "type": "integer"
  20057. },
  20058. "spotcontractid": {
  20059. "description": "关联现货合同ID",
  20060. "type": "string"
  20061. },
  20062. "spotgoodsbrandid": {
  20063. "description": "品牌id",
  20064. "type": "integer"
  20065. },
  20066. "totalqty": {
  20067. "description": "总数量",
  20068. "type": "number"
  20069. },
  20070. "wrstandardid": {
  20071. "description": "品类id",
  20072. "type": "integer"
  20073. },
  20074. "wrstandardname": {
  20075. "description": "品类名称",
  20076. "type": "string"
  20077. }
  20078. }
  20079. },
  20080. "models.Ermcp3AreaStockReportEx": {
  20081. "type": "object",
  20082. "properties": {
  20083. "begindate": {
  20084. "description": "开始交易日",
  20085. "type": "string"
  20086. },
  20087. "brandname": {
  20088. "description": "品牌名称",
  20089. "type": "string"
  20090. },
  20091. "curstock": {
  20092. "description": "期末库存量",
  20093. "type": "number"
  20094. },
  20095. "cycletime": {
  20096. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20097. "type": "string"
  20098. },
  20099. "cycletype": {
  20100. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20101. "type": "integer"
  20102. },
  20103. "deliverygoodscode": {
  20104. "description": "现货品种代码",
  20105. "type": "string"
  20106. },
  20107. "deliverygoodsid": {
  20108. "description": "现货品种id",
  20109. "type": "integer"
  20110. },
  20111. "deliverygoodsname": {
  20112. "description": "现货品种名称",
  20113. "type": "string"
  20114. },
  20115. "diffqty": {
  20116. "description": "库存变化量 = 期末 - 期初",
  20117. "type": "number"
  20118. },
  20119. "enddate": {
  20120. "description": "结束交易日",
  20121. "type": "string"
  20122. },
  20123. "enumdicname": {
  20124. "description": "单位名称",
  20125. "type": "string"
  20126. },
  20127. "goodsunitid": {
  20128. "description": "现货单位id",
  20129. "type": "integer"
  20130. },
  20131. "oristock": {
  20132. "description": "期初库存量",
  20133. "type": "number"
  20134. },
  20135. "reckondate": {
  20136. "description": "日照时期(yyyyMMdd)",
  20137. "type": "string"
  20138. },
  20139. "spotgoodsbrandid": {
  20140. "description": "现货品牌ID",
  20141. "type": "integer"
  20142. },
  20143. "todaybuyinqty": {
  20144. "description": "今采购入库量",
  20145. "type": "number"
  20146. },
  20147. "todayproduceinqty": {
  20148. "description": "今内部入库量",
  20149. "type": "number"
  20150. },
  20151. "todayproduceoutqty": {
  20152. "description": "今内部出库量",
  20153. "type": "number"
  20154. },
  20155. "todayselloutqty": {
  20156. "description": "今销售出库量",
  20157. "type": "number"
  20158. },
  20159. "unbuyinqty": {
  20160. "description": "采购未入库量(数据库未找到相关字段?)",
  20161. "type": "number"
  20162. },
  20163. "unitid": {
  20164. "description": "品类单位id",
  20165. "type": "integer"
  20166. },
  20167. "unselloutqty": {
  20168. "description": "销售未出库量(数据库未找到相关字段?)",
  20169. "type": "number"
  20170. },
  20171. "updatetime": {
  20172. "description": "更新时间",
  20173. "type": "string"
  20174. },
  20175. "userid": {
  20176. "description": "机构ID",
  20177. "type": "integer"
  20178. },
  20179. "username": {
  20180. "description": "机构名称",
  20181. "type": "string"
  20182. },
  20183. "warehousecode": {
  20184. "description": "仓库代码",
  20185. "type": "string"
  20186. },
  20187. "warehouseinfoid": {
  20188. "description": "仓库ID",
  20189. "type": "string"
  20190. },
  20191. "warehousename": {
  20192. "description": "仓库名称",
  20193. "type": "string"
  20194. },
  20195. "warehousetype": {
  20196. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20197. "type": "integer"
  20198. },
  20199. "wrstandardcode": {
  20200. "description": "品类代码",
  20201. "type": "string"
  20202. },
  20203. "wrstandardid": {
  20204. "description": "品类ID",
  20205. "type": "integer"
  20206. },
  20207. "wrstandardname": {
  20208. "description": "品类名称",
  20209. "type": "string"
  20210. }
  20211. }
  20212. },
  20213. "models.Ermcp3ArealSumPL": {
  20214. "type": "object",
  20215. "properties": {
  20216. "accountname": {
  20217. "description": "机构名称",
  20218. "type": "string"
  20219. },
  20220. "areauserid": {
  20221. "description": "所属机构\\交易用户ID",
  20222. "type": "integer"
  20223. },
  20224. "begindate": {
  20225. "description": "开始交易日",
  20226. "type": "string"
  20227. },
  20228. "currencyid": {
  20229. "description": "结算币种ID",
  20230. "type": "integer"
  20231. },
  20232. "currencyname": {
  20233. "description": "币种名称",
  20234. "type": "string"
  20235. },
  20236. "cycletime": {
  20237. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20238. "type": "string"
  20239. },
  20240. "cycletype": {
  20241. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20242. "type": "integer"
  20243. },
  20244. "enddate": {
  20245. "description": "结束交易日",
  20246. "type": "string"
  20247. },
  20248. "enumdicname": {
  20249. "description": "单位名称(套保品种)",
  20250. "type": "string"
  20251. },
  20252. "futureactualpl": {
  20253. "description": "期货损益",
  20254. "type": "number"
  20255. },
  20256. "futurefloatpl": {
  20257. "description": "期货浮动损益",
  20258. "type": "number"
  20259. },
  20260. "futurespotratio": {
  20261. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20262. "type": "number"
  20263. },
  20264. "goodsunitid": {
  20265. "description": "套保品种单位id",
  20266. "type": "integer"
  20267. },
  20268. "hedgeexposurepl": {
  20269. "description": "套保敞口损益",
  20270. "type": "number"
  20271. },
  20272. "middlegoodscode": {
  20273. "description": "套保品种代码",
  20274. "type": "string"
  20275. },
  20276. "middlegoodsid": {
  20277. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20278. "type": "integer"
  20279. },
  20280. "middlegoodsname": {
  20281. "description": "套保品种名称",
  20282. "type": "string"
  20283. },
  20284. "reckondate": {
  20285. "description": "日照时期(yyyyMMdd)",
  20286. "type": "string"
  20287. },
  20288. "spotactualpl": {
  20289. "description": "现货损益",
  20290. "type": "number"
  20291. },
  20292. "spotfloatpl": {
  20293. "description": "现货浮动损益",
  20294. "type": "number"
  20295. },
  20296. "sumactualpl": {
  20297. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20298. "type": "number"
  20299. },
  20300. "sumpl": {
  20301. "description": "总敞口损益 | 汇总损益",
  20302. "type": "number"
  20303. },
  20304. "totalfutureqty": {
  20305. "description": "期货头寸总量",
  20306. "type": "number"
  20307. },
  20308. "totalneedhedgeqty": {
  20309. "description": "应套保总量",
  20310. "type": "number"
  20311. },
  20312. "totalspotqty": {
  20313. "description": "现货头寸总量",
  20314. "type": "number"
  20315. },
  20316. "updatetime": {
  20317. "description": "更新时间",
  20318. "type": "string"
  20319. }
  20320. }
  20321. },
  20322. "models.Ermcp3Brand": {
  20323. "type": "object",
  20324. "properties": {
  20325. "areauserid": {
  20326. "description": "用户id",
  20327. "type": "integer"
  20328. },
  20329. "brandid": {
  20330. "description": "品牌id",
  20331. "type": "integer"
  20332. },
  20333. "brandname": {
  20334. "description": "品牌名称",
  20335. "type": "string"
  20336. },
  20337. "deliverygoodsid": {
  20338. "description": "品种ID",
  20339. "type": "integer"
  20340. },
  20341. "isvalid": {
  20342. "description": "是否有效",
  20343. "type": "integer"
  20344. }
  20345. }
  20346. },
  20347. "models.Ermcp3Contract": {
  20348. "type": "object",
  20349. "properties": {
  20350. "accountid": {
  20351. "description": "期货账户id",
  20352. "type": "string"
  20353. },
  20354. "amount": {
  20355. "description": "金额 [1:一口价、3:暂定价]",
  20356. "type": "number"
  20357. },
  20358. "attachment": {
  20359. "description": "附件",
  20360. "type": "string"
  20361. },
  20362. "auditremark": {
  20363. "description": "审核意见",
  20364. "type": "string"
  20365. },
  20366. "audittime": {
  20367. "description": "审核时间",
  20368. "type": "string"
  20369. },
  20370. "biztype": {
  20371. "description": "业务类型 1-套保 2-套利",
  20372. "type": "integer"
  20373. },
  20374. "brandname": {
  20375. "description": "品牌名称",
  20376. "type": "string"
  20377. },
  20378. "buynickname": {
  20379. "description": "销售方昵称",
  20380. "type": "string"
  20381. },
  20382. "buyuserid": {
  20383. "description": "采购方ID",
  20384. "type": "integer"
  20385. },
  20386. "buyusername": {
  20387. "description": "采购方名称",
  20388. "type": "string"
  20389. },
  20390. "contracctstatus": {
  20391. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20392. "type": "integer"
  20393. },
  20394. "contractmargin": {
  20395. "description": "合同保证金",
  20396. "type": "number"
  20397. },
  20398. "contractno": {
  20399. "description": "现货合同编号",
  20400. "type": "string"
  20401. },
  20402. "contracttype": {
  20403. "description": "现货合同类型 - 1:采购 -1:销售",
  20404. "type": "integer"
  20405. },
  20406. "convertfactor": {
  20407. "description": "标仓系数(品类)",
  20408. "type": "number"
  20409. },
  20410. "createtime": {
  20411. "description": "创建时间",
  20412. "type": "string"
  20413. },
  20414. "currencyid": {
  20415. "description": "币种id",
  20416. "type": "integer"
  20417. },
  20418. "currencyname": {
  20419. "description": "币种名称",
  20420. "type": "string"
  20421. },
  20422. "deliveryenddate": {
  20423. "description": "交收期(结束)",
  20424. "type": "string"
  20425. },
  20426. "deliverygoodscode": {
  20427. "description": "现货品种代码",
  20428. "type": "string"
  20429. },
  20430. "deliverygoodsid": {
  20431. "description": "现货品种ID",
  20432. "type": "integer"
  20433. },
  20434. "deliverygoodsname": {
  20435. "description": "现货品种名称",
  20436. "type": "string"
  20437. },
  20438. "deliverystartdate": {
  20439. "description": "交收期(开始)",
  20440. "type": "string"
  20441. },
  20442. "enddate": {
  20443. "description": "点价结束日期 [2:点价 3:暂定价]",
  20444. "type": "string"
  20445. },
  20446. "enumdicname": {
  20447. "description": "单位名称",
  20448. "type": "string"
  20449. },
  20450. "goodscode": {
  20451. "description": "点价合约代码",
  20452. "type": "string"
  20453. },
  20454. "goodsid": {
  20455. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20456. "type": "integer"
  20457. },
  20458. "goodsname": {
  20459. "description": "点价商品名称",
  20460. "type": "string"
  20461. },
  20462. "margin": {
  20463. "description": "当前保证金",
  20464. "type": "number"
  20465. },
  20466. "meruserid": {
  20467. "description": "跟单员id",
  20468. "type": "integer"
  20469. },
  20470. "meruserlogincode": {
  20471. "description": "跟单员登录代码",
  20472. "type": "string"
  20473. },
  20474. "merusername": {
  20475. "description": "跟单员名称",
  20476. "type": "string"
  20477. },
  20478. "price": {
  20479. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20480. "type": "number"
  20481. },
  20482. "pricemove": {
  20483. "description": "升贴水 [2:点价 3:暂定价]",
  20484. "type": "number"
  20485. },
  20486. "pricetype": {
  20487. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20488. "type": "integer"
  20489. },
  20490. "producttype": {
  20491. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20492. "type": "integer"
  20493. },
  20494. "qty": {
  20495. "description": "数量",
  20496. "type": "number"
  20497. },
  20498. "remark": {
  20499. "description": "备注",
  20500. "type": "string"
  20501. },
  20502. "saleuserid": {
  20503. "description": "业务员id",
  20504. "type": "integer"
  20505. },
  20506. "saleuserlogincode": {
  20507. "description": "业务员登录代码",
  20508. "type": "string"
  20509. },
  20510. "saleusername": {
  20511. "description": "业务员名称",
  20512. "type": "string"
  20513. },
  20514. "sellnickname": {
  20515. "description": "采购方昵称",
  20516. "type": "string"
  20517. },
  20518. "selluserid": {
  20519. "description": "销售方ID",
  20520. "type": "integer"
  20521. },
  20522. "sellusername": {
  20523. "description": "销售方名称",
  20524. "type": "string"
  20525. },
  20526. "spotcontractid": {
  20527. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20528. "type": "string"
  20529. },
  20530. "spotgoodsbrandid": {
  20531. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20532. "type": "integer"
  20533. },
  20534. "spotgoodsdesc": {
  20535. "description": "商品型号",
  20536. "type": "string"
  20537. },
  20538. "startdate": {
  20539. "description": "点价开始日期 [2:点价 3:暂定价]",
  20540. "type": "string"
  20541. },
  20542. "subjectid": {
  20543. "description": "交易主体ID",
  20544. "type": "integer"
  20545. },
  20546. "subjectname": {
  20547. "description": "交易主体名称",
  20548. "type": "string"
  20549. },
  20550. "tradeuserid": {
  20551. "description": "交易员id",
  20552. "type": "integer"
  20553. },
  20554. "tradeuserlogincode": {
  20555. "description": "交易员登录代码",
  20556. "type": "string"
  20557. },
  20558. "tradeusername": {
  20559. "description": "交易员名称",
  20560. "type": "string"
  20561. },
  20562. "unitid": {
  20563. "description": "单位id(取品类上的单位id)",
  20564. "type": "integer"
  20565. },
  20566. "updatetime": {
  20567. "description": "更新时间",
  20568. "type": "string"
  20569. },
  20570. "userid": {
  20571. "description": "所属机构ID",
  20572. "type": "integer"
  20573. },
  20574. "vatrate": {
  20575. "description": "增值税率",
  20576. "type": "number"
  20577. },
  20578. "wrstandardcode": {
  20579. "description": "品类代码",
  20580. "type": "string"
  20581. },
  20582. "wrstandardid": {
  20583. "description": "品类ID",
  20584. "type": "integer"
  20585. },
  20586. "wrstandardname": {
  20587. "description": "品类名称",
  20588. "type": "string"
  20589. }
  20590. }
  20591. },
  20592. "models.Ermcp3ExposureContractDetail": {
  20593. "type": "object",
  20594. "properties": {
  20595. "biztype": {
  20596. "description": "业务类型 1-套保 2-套利",
  20597. "type": "integer"
  20598. },
  20599. "brandname": {
  20600. "description": "品牌名称",
  20601. "type": "string"
  20602. },
  20603. "buyuserid": {
  20604. "description": "采购方id",
  20605. "type": "integer"
  20606. },
  20607. "buyusername": {
  20608. "description": "采购方名称",
  20609. "type": "string"
  20610. },
  20611. "contractno": {
  20612. "description": "合同编号",
  20613. "type": "string"
  20614. },
  20615. "contracttype": {
  20616. "description": "现货合同类型 - 1:采购 -1:销售",
  20617. "type": "integer"
  20618. },
  20619. "convertfactor": {
  20620. "description": "标仓系数",
  20621. "type": "number"
  20622. },
  20623. "convertratio": {
  20624. "description": "折算系数(套保品种)",
  20625. "type": "number"
  20626. },
  20627. "curqty": {
  20628. "description": "今定价量",
  20629. "type": "number"
  20630. },
  20631. "deliverygoodscode": {
  20632. "description": "现货商品代码",
  20633. "type": "string"
  20634. },
  20635. "deliverygoodsid": {
  20636. "description": "现货商品id",
  20637. "type": "integer"
  20638. },
  20639. "deliverygoodsname": {
  20640. "description": "现货商品名称",
  20641. "type": "string"
  20642. },
  20643. "diffhedgeqty": {
  20644. "description": "套保变动量",
  20645. "type": "number"
  20646. },
  20647. "diffneedhedgeqty": {
  20648. "description": "应套保变动量",
  20649. "type": "number"
  20650. },
  20651. "diffqty": {
  20652. "description": "套保品种今变动量",
  20653. "type": "number"
  20654. },
  20655. "enumdicname": {
  20656. "description": "单位名称",
  20657. "type": "string"
  20658. },
  20659. "mgunitname": {
  20660. "description": "套保品种单位名称",
  20661. "type": "string"
  20662. },
  20663. "middlegoodscode": {
  20664. "description": "套保品种代码",
  20665. "type": "string"
  20666. },
  20667. "middlegoodsid": {
  20668. "description": "套保品种id",
  20669. "type": "integer"
  20670. },
  20671. "middlegoodsname": {
  20672. "description": "套保品种名称",
  20673. "type": "string"
  20674. },
  20675. "needarbitrageratio": {
  20676. "description": "应套利比例",
  20677. "type": "number"
  20678. },
  20679. "needhedgeratio": {
  20680. "description": "应套保比例",
  20681. "type": "number"
  20682. },
  20683. "pricedqty": {
  20684. "description": "已定价量",
  20685. "type": "number"
  20686. },
  20687. "qty": {
  20688. "description": "合同量",
  20689. "type": "number"
  20690. },
  20691. "selluserid": {
  20692. "description": "销售方id",
  20693. "type": "integer"
  20694. },
  20695. "sellusername": {
  20696. "description": "销售方名称",
  20697. "type": "string"
  20698. },
  20699. "spotcontractid": {
  20700. "description": "合同id",
  20701. "type": "string"
  20702. },
  20703. "todaypricedqty": {
  20704. "description": "今定价量",
  20705. "type": "number"
  20706. },
  20707. "tradedate": {
  20708. "description": "交易日",
  20709. "type": "string"
  20710. },
  20711. "unitid": {
  20712. "description": "品类单位id",
  20713. "type": "integer"
  20714. },
  20715. "userid": {
  20716. "description": "机构id",
  20717. "type": "integer"
  20718. },
  20719. "username": {
  20720. "description": "交易用户",
  20721. "type": "string"
  20722. },
  20723. "wrstandardcode": {
  20724. "description": "品类代码",
  20725. "type": "string"
  20726. },
  20727. "wrstandardid": {
  20728. "description": "品类id",
  20729. "type": "integer"
  20730. },
  20731. "wrstandardname": {
  20732. "description": "品类名称",
  20733. "type": "string"
  20734. }
  20735. }
  20736. },
  20737. "models.Ermcp3ExposureDetail": {
  20738. "type": "object",
  20739. "properties": {
  20740. "areauserid": {
  20741. "description": "机构ID",
  20742. "type": "integer"
  20743. },
  20744. "changeQty": {
  20745. "description": "套保变动量",
  20746. "type": "number"
  20747. },
  20748. "contracttype": {
  20749. "description": "现货合同类型 - 1:采购 -1:销售",
  20750. "type": "integer"
  20751. },
  20752. "convertfactor": {
  20753. "description": "标仓系数",
  20754. "type": "number"
  20755. },
  20756. "convertratio": {
  20757. "description": "折算系数",
  20758. "type": "number"
  20759. },
  20760. "createtime": {
  20761. "description": "时间",
  20762. "type": "string"
  20763. },
  20764. "enumdicname": {
  20765. "description": "现货商品单位名称",
  20766. "type": "string"
  20767. },
  20768. "logtype": {
  20769. "description": "类型 - 1:套保计划 2:现货合同",
  20770. "type": "integer"
  20771. },
  20772. "mgunitid": {
  20773. "description": "套保品种单位id",
  20774. "type": "integer"
  20775. },
  20776. "mgunitidname": {
  20777. "description": "套保品种单位名称",
  20778. "type": "string"
  20779. },
  20780. "middlegoodsId": {
  20781. "description": "套保商品id",
  20782. "type": "integer"
  20783. },
  20784. "middlegoodscode": {
  20785. "description": "套保商品代码",
  20786. "type": "string"
  20787. },
  20788. "middlegoodsname": {
  20789. "description": "套保商品名称",
  20790. "type": "string"
  20791. },
  20792. "qty": {
  20793. "description": "数量",
  20794. "type": "number"
  20795. },
  20796. "relateNo": {
  20797. "description": "现货合同/套保计划编号",
  20798. "type": "string"
  20799. },
  20800. "unitid": {
  20801. "description": "现货商品单位id",
  20802. "type": "integer"
  20803. },
  20804. "wrstandardcode": {
  20805. "description": "现货商品代码",
  20806. "type": "string"
  20807. },
  20808. "wrstandardid": {
  20809. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20810. "type": "integer"
  20811. },
  20812. "wrstandardname": {
  20813. "description": "现货商品名称",
  20814. "type": "string"
  20815. }
  20816. }
  20817. },
  20818. "models.Ermcp3ExposureFutuDetail": {
  20819. "type": "object",
  20820. "properties": {
  20821. "accountid": {
  20822. "description": "交易账户id",
  20823. "type": "integer"
  20824. },
  20825. "accountname": {
  20826. "description": "交易账户",
  20827. "type": "string"
  20828. },
  20829. "begindate": {
  20830. "description": "开始交易日",
  20831. "type": "string"
  20832. },
  20833. "buyorsell": {
  20834. "description": "方向 0-买 1-卖",
  20835. "type": "integer"
  20836. },
  20837. "diffmgqty": {
  20838. "description": "套保品种今变化量",
  20839. "type": "number"
  20840. },
  20841. "diffneedqty": {
  20842. "description": "应套保总量变化量",
  20843. "type": "number"
  20844. },
  20845. "difftradeqty": {
  20846. "description": "交易品种今变化量",
  20847. "type": "number"
  20848. },
  20849. "enddate": {
  20850. "description": "结束交易日",
  20851. "type": "string"
  20852. },
  20853. "enumdicname": {
  20854. "description": "单位名称",
  20855. "type": "string"
  20856. },
  20857. "goodscode": {
  20858. "description": "商品代码",
  20859. "type": "string"
  20860. },
  20861. "goodsid": {
  20862. "description": "商品id",
  20863. "type": "integer"
  20864. },
  20865. "goodsname": {
  20866. "description": "商品名称",
  20867. "type": "string"
  20868. },
  20869. "holdqty": {
  20870. "description": "期末持仓量",
  20871. "type": "number"
  20872. },
  20873. "middlegoodscode": {
  20874. "description": "套保商品代码",
  20875. "type": "string"
  20876. },
  20877. "middlegoodsid": {
  20878. "description": "套保商品id",
  20879. "type": "integer"
  20880. },
  20881. "middlegoodsname": {
  20882. "description": "套保商品名称",
  20883. "type": "string"
  20884. },
  20885. "oriholdqty": {
  20886. "description": "期初持仓量",
  20887. "type": "number"
  20888. },
  20889. "todaycloseqty": {
  20890. "description": "今平仓量",
  20891. "type": "number"
  20892. },
  20893. "todayopenqty": {
  20894. "description": "今开仓量",
  20895. "type": "number"
  20896. },
  20897. "tradedate": {
  20898. "description": "交易日",
  20899. "type": "string"
  20900. },
  20901. "username": {
  20902. "description": "用户名称(交易用户)",
  20903. "type": "string"
  20904. }
  20905. }
  20906. },
  20907. "models.Ermcp3ExposureHedgeplanDetail": {
  20908. "type": "object",
  20909. "properties": {
  20910. "biztype": {
  20911. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20912. "type": "integer"
  20913. },
  20914. "changqty": {
  20915. "description": "应套保总量变化量",
  20916. "type": "number"
  20917. },
  20918. "contracttype": {
  20919. "description": "计划类型 - 1:采购 -1:销售",
  20920. "type": "integer"
  20921. },
  20922. "convertratio": {
  20923. "description": "折算系数(套保品种)",
  20924. "type": "number"
  20925. },
  20926. "deliverygoodscode": {
  20927. "description": "现货商品代码",
  20928. "type": "string"
  20929. },
  20930. "deliverygoodsid": {
  20931. "description": "现货商品id",
  20932. "type": "integer"
  20933. },
  20934. "deliverygoodsname": {
  20935. "description": "现货商吕名称",
  20936. "type": "string"
  20937. },
  20938. "dgunitid": {
  20939. "description": "现货商品单位id",
  20940. "type": "integer"
  20941. },
  20942. "dgunitidname": {
  20943. "description": "单位名称(现货商品)",
  20944. "type": "string"
  20945. },
  20946. "diffqty": {
  20947. "description": "套保品种今变动量",
  20948. "type": "number"
  20949. },
  20950. "enumdicname": {
  20951. "description": "单位名称(品类)",
  20952. "type": "string"
  20953. },
  20954. "hedgeplanid": {
  20955. "description": "套保计划id",
  20956. "type": "string"
  20957. },
  20958. "hedgeplanno": {
  20959. "description": "套保计划名称",
  20960. "type": "string"
  20961. },
  20962. "hedgeplanstatus": {
  20963. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20964. "type": "integer"
  20965. },
  20966. "mgunitidname": {
  20967. "description": "单位名称(套保商品)",
  20968. "type": "string"
  20969. },
  20970. "middlegoodscode": {
  20971. "description": "套保品种代码",
  20972. "type": "string"
  20973. },
  20974. "middlegoodsid": {
  20975. "description": "套保品种id",
  20976. "type": "integer"
  20977. },
  20978. "middlegoodsname": {
  20979. "description": "套保品种名称",
  20980. "type": "string"
  20981. },
  20982. "needarbitrageratio": {
  20983. "description": "应套利比例",
  20984. "type": "number"
  20985. },
  20986. "needhedgeratio": {
  20987. "description": "应套保比例",
  20988. "type": "number"
  20989. },
  20990. "pricedqty": {
  20991. "description": "已定价量",
  20992. "type": "number"
  20993. },
  20994. "qty": {
  20995. "description": "合同量",
  20996. "type": "number"
  20997. },
  20998. "tradedate": {
  20999. "description": "交易日(登记日)",
  21000. "type": "string"
  21001. },
  21002. "unitid": {
  21003. "description": "品类单位id",
  21004. "type": "integer"
  21005. },
  21006. "userid": {
  21007. "description": "机构id",
  21008. "type": "integer"
  21009. },
  21010. "wrstandardcode": {
  21011. "description": "品类代码",
  21012. "type": "string"
  21013. },
  21014. "wrstandardid": {
  21015. "description": "品类id",
  21016. "type": "integer"
  21017. },
  21018. "wrstandardname": {
  21019. "description": "品类名称",
  21020. "type": "string"
  21021. }
  21022. }
  21023. },
  21024. "models.Ermcp3ExposureParamChLog": {
  21025. "type": "object",
  21026. "properties": {
  21027. "accountid": {
  21028. "description": "期货账户ID (作废, 默认为0)",
  21029. "type": "integer"
  21030. },
  21031. "aftervalue": {
  21032. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21033. "type": "number"
  21034. },
  21035. "areauserid": {
  21036. "description": "所属机构\\交易用户ID",
  21037. "type": "integer"
  21038. },
  21039. "beforevalue": {
  21040. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21041. "type": "number"
  21042. },
  21043. "begindate": {
  21044. "description": "开始交易日",
  21045. "type": "string"
  21046. },
  21047. "changelogtype": {
  21048. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21049. "type": "integer"
  21050. },
  21051. "curvalue": {
  21052. "description": "当前套保\\套利量(套保总量|套利总量)",
  21053. "type": "number"
  21054. },
  21055. "diffvalue": {
  21056. "description": "应套保总量变化量",
  21057. "type": "number"
  21058. },
  21059. "enddate": {
  21060. "description": "结束交易日",
  21061. "type": "string"
  21062. },
  21063. "logdatetime": {
  21064. "description": "流水日期",
  21065. "type": "string"
  21066. },
  21067. "logid": {
  21068. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21069. "type": "string"
  21070. },
  21071. "middlegoodscode": {
  21072. "description": "套保品种代码",
  21073. "type": "string"
  21074. },
  21075. "middlegoodsid": {
  21076. "description": "套保品种",
  21077. "type": "integer"
  21078. },
  21079. "middlegoodsname": {
  21080. "description": "套保品种名称",
  21081. "type": "string"
  21082. },
  21083. "paramaftervalue": {
  21084. "description": "参数变更后(调整后参数值)",
  21085. "type": "number"
  21086. },
  21087. "parambeforevalue": {
  21088. "description": "参数变更前(调整前参数值)",
  21089. "type": "number"
  21090. },
  21091. "tradedate": {
  21092. "description": "交易日(yyyyMMdd)",
  21093. "type": "string"
  21094. }
  21095. }
  21096. },
  21097. "models.Ermcp3ExpourseReport": {
  21098. "type": "object",
  21099. "properties": {
  21100. "accountid": {
  21101. "description": "期货账户ID (作废, 默认为0)",
  21102. "type": "integer"
  21103. },
  21104. "accountname": {
  21105. "description": "机构名称",
  21106. "type": "string"
  21107. },
  21108. "arbitrageqty": {
  21109. "description": "套利量",
  21110. "type": "number"
  21111. },
  21112. "areauserid": {
  21113. "description": "所属机构\\交易用户ID",
  21114. "type": "integer"
  21115. },
  21116. "begindate": {
  21117. "description": "开始交易日",
  21118. "type": "string"
  21119. },
  21120. "buyfutureqty": {
  21121. "description": "买入期货数量",
  21122. "type": "number"
  21123. },
  21124. "buyplanqty": {
  21125. "description": "采购计划数量",
  21126. "type": "number"
  21127. },
  21128. "buypricedqty": {
  21129. "description": "采购合同已定价数量",
  21130. "type": "number"
  21131. },
  21132. "cycletime": {
  21133. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21134. "type": "string"
  21135. },
  21136. "cycletype": {
  21137. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21138. "type": "integer"
  21139. },
  21140. "diffexposure": {
  21141. "description": "变动量(套保敞口)",
  21142. "type": "number"
  21143. },
  21144. "difffutuqty": {
  21145. "description": "变动量(期货)",
  21146. "type": "number"
  21147. },
  21148. "diffhedgeqty": {
  21149. "description": "变动量(现货应套保总量)",
  21150. "type": "number"
  21151. },
  21152. "diffmgqtya": {
  21153. "description": "套保变动量",
  21154. "type": "number"
  21155. },
  21156. "diffmgqtyb": {
  21157. "description": "套利变动量",
  21158. "type": "number"
  21159. },
  21160. "diffqty": {
  21161. "description": "变动量(总敞口)",
  21162. "type": "number"
  21163. },
  21164. "diffspotqty": {
  21165. "description": "变动量(现货)",
  21166. "type": "number"
  21167. },
  21168. "enddate": {
  21169. "description": "结束交易日",
  21170. "type": "string"
  21171. },
  21172. "enumdicname": {
  21173. "description": "单位名称",
  21174. "type": "string"
  21175. },
  21176. "hedgeqty": {
  21177. "description": "套保量",
  21178. "type": "number"
  21179. },
  21180. "mgneedhedgeratio": {
  21181. "description": "套保比例(套保品的)",
  21182. "type": "number"
  21183. },
  21184. "middlegoodsid": {
  21185. "description": "套保品种ID",
  21186. "type": "integer"
  21187. },
  21188. "middlegoodsname": {
  21189. "description": "套保商品名称",
  21190. "type": "string"
  21191. },
  21192. "middlgoodscode": {
  21193. "description": "套保商品代码",
  21194. "type": "string"
  21195. },
  21196. "needarbitrageqty": {
  21197. "description": "应套利量",
  21198. "type": "number"
  21199. },
  21200. "needarbitrageratio": {
  21201. "description": "套利比例(套保品的)",
  21202. "type": "number"
  21203. },
  21204. "needhedgeexposoure": {
  21205. "description": "应套保敞口(套保敞口)",
  21206. "type": "number"
  21207. },
  21208. "needhedgeqty": {
  21209. "description": "应套保量",
  21210. "type": "number"
  21211. },
  21212. "needhedgeratio": {
  21213. "description": "应套保敞口比例",
  21214. "type": "number"
  21215. },
  21216. "oriarbitrageqty": {
  21217. "description": "期初套利量",
  21218. "type": "number"
  21219. },
  21220. "oribuyfutureqty": {
  21221. "description": "期初买入期货数量",
  21222. "type": "number"
  21223. },
  21224. "oribuyplanqty": {
  21225. "description": "期初采购计划数量",
  21226. "type": "number"
  21227. },
  21228. "oribuypricedqty": {
  21229. "description": "期初采购合同已定价数量",
  21230. "type": "number"
  21231. },
  21232. "orihedgeqty": {
  21233. "description": "期初套保量",
  21234. "type": "number"
  21235. },
  21236. "orineedarbitrageqty": {
  21237. "description": "期初应套利量",
  21238. "type": "number"
  21239. },
  21240. "orineedhedgeexposoure": {
  21241. "description": "期初应套保敞口",
  21242. "type": "number"
  21243. },
  21244. "orineedhedgeqty": {
  21245. "description": "期初应套保量",
  21246. "type": "number"
  21247. },
  21248. "orisellfutureqty": {
  21249. "description": "期初卖出期货数量",
  21250. "type": "number"
  21251. },
  21252. "orisellplanqty": {
  21253. "description": "期初销售计划数量",
  21254. "type": "number"
  21255. },
  21256. "orisellpricedqty": {
  21257. "description": "期初销售合同已定价数量",
  21258. "type": "number"
  21259. },
  21260. "oritotalexposure": {
  21261. "description": "期初实时总敞口",
  21262. "type": "number"
  21263. },
  21264. "oritotalfutureqty": {
  21265. "description": "期初期货头寸总量",
  21266. "type": "number"
  21267. },
  21268. "oritotalneedhedgeqty": {
  21269. "description": "期初应套保总量",
  21270. "type": "number"
  21271. },
  21272. "oritotalspotqty": {
  21273. "description": "期初现货头寸总量",
  21274. "type": "number"
  21275. },
  21276. "reckondate": {
  21277. "description": "日照时期(yyyyMMdd)",
  21278. "type": "string"
  21279. },
  21280. "sellfutureqty": {
  21281. "description": "卖出期货数量",
  21282. "type": "number"
  21283. },
  21284. "sellplanqty": {
  21285. "description": "销售计划数量",
  21286. "type": "number"
  21287. },
  21288. "sellpricedqty": {
  21289. "description": "销售合同已定价数量",
  21290. "type": "number"
  21291. },
  21292. "totalexposure": {
  21293. "description": "实时总敞口(总敞口)",
  21294. "type": "number"
  21295. },
  21296. "totalfutureqty": {
  21297. "description": "期货头寸总量(期货总量)",
  21298. "type": "number"
  21299. },
  21300. "totalhedgeratio": {
  21301. "description": "敞口比例",
  21302. "type": "number"
  21303. },
  21304. "totalneedhedgeqty": {
  21305. "description": "应套保总量(现货应套保总量)",
  21306. "type": "number"
  21307. },
  21308. "totalspotqty": {
  21309. "description": "现货头寸总量",
  21310. "type": "number"
  21311. },
  21312. "unitid": {
  21313. "description": "单位id",
  21314. "type": "integer"
  21315. },
  21316. "updatetime": {
  21317. "description": "更新时间",
  21318. "type": "string"
  21319. }
  21320. }
  21321. },
  21322. "models.Ermcp3FinanceReport": {
  21323. "type": "object",
  21324. "properties": {
  21325. "accountname": {
  21326. "description": "机构名称",
  21327. "type": "string"
  21328. },
  21329. "areauserid": {
  21330. "description": "所属机构\\交易用户ID",
  21331. "type": "integer"
  21332. },
  21333. "begindate": {
  21334. "description": "开始交易日",
  21335. "type": "string"
  21336. },
  21337. "biztype": {
  21338. "description": "业务类型 - 1:套保 2:套利",
  21339. "type": "integer"
  21340. },
  21341. "brandname": {
  21342. "description": "品牌名称",
  21343. "type": "string"
  21344. },
  21345. "buypreinvoicedamount": {
  21346. "description": "采购预收票额(预收票额)",
  21347. "type": "number"
  21348. },
  21349. "buyprepaidamount": {
  21350. "description": "采购预付款额(预付货款额)",
  21351. "type": "number"
  21352. },
  21353. "buytodayinvoiceamount": {
  21354. "description": "采购今收票额(今收票额)",
  21355. "type": "number"
  21356. },
  21357. "buytodayrefundamount": {
  21358. "description": "采购今收退款额(今收退款额)",
  21359. "type": "number"
  21360. },
  21361. "buytodaysettleamount": {
  21362. "description": "采购今付款额(今付货款额)",
  21363. "type": "number"
  21364. },
  21365. "buyuninvoicedamount": {
  21366. "description": "采购应收票额(应收票额)",
  21367. "type": "number"
  21368. },
  21369. "buyunpaidamount": {
  21370. "description": "采购应付款额(应付货款额)",
  21371. "type": "number"
  21372. },
  21373. "currencyid": {
  21374. "description": "结算币种ID",
  21375. "type": "integer"
  21376. },
  21377. "currencyname": {
  21378. "description": "币种名称",
  21379. "type": "string"
  21380. },
  21381. "cycletime": {
  21382. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21383. "type": "string"
  21384. },
  21385. "cycletype": {
  21386. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21387. "type": "integer"
  21388. },
  21389. "deliverygoodscode": {
  21390. "description": "现货品种代码",
  21391. "type": "string"
  21392. },
  21393. "deliverygoodsid": {
  21394. "description": "现货品种ID",
  21395. "type": "integer"
  21396. },
  21397. "deliverygoodsname": {
  21398. "description": "现货品种名称",
  21399. "type": "string"
  21400. },
  21401. "enddate": {
  21402. "description": "结束交易日",
  21403. "type": "string"
  21404. },
  21405. "reckondate": {
  21406. "description": "日照时期(yyyyMMdd)",
  21407. "type": "string"
  21408. },
  21409. "sellpreinvoicedamount": {
  21410. "description": "销售预开票额(预开票额)",
  21411. "type": "number"
  21412. },
  21413. "sellprepaidamount": {
  21414. "description": "销售预收款额(预收货款额)",
  21415. "type": "number"
  21416. },
  21417. "selltodayinvoiceamount": {
  21418. "description": "销售今开票额(今开票额)",
  21419. "type": "number"
  21420. },
  21421. "selltodayrefundamount": {
  21422. "description": "销售今付退款额(今付退款额)",
  21423. "type": "number"
  21424. },
  21425. "selltodaysettleamount": {
  21426. "description": "销售今收款额(今收货款额)",
  21427. "type": "number"
  21428. },
  21429. "selluninvoicedamount": {
  21430. "description": "销售应开票额(应开票额)",
  21431. "type": "number"
  21432. },
  21433. "sellunpaidamount": {
  21434. "description": "销售应收款额(应收货款额)",
  21435. "type": "number"
  21436. },
  21437. "spotgoodsbrandid": {
  21438. "description": "现货品牌ID",
  21439. "type": "integer"
  21440. },
  21441. "todaypaysum": {
  21442. "description": "今付款合计",
  21443. "type": "number"
  21444. },
  21445. "todayreceivesum": {
  21446. "description": "今收款合计",
  21447. "type": "number"
  21448. },
  21449. "updatetime": {
  21450. "description": "更新时间",
  21451. "type": "string"
  21452. },
  21453. "wrfactortypeid": {
  21454. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21455. "type": "integer"
  21456. },
  21457. "wrstandardcode": {
  21458. "description": "品类代码",
  21459. "type": "string"
  21460. },
  21461. "wrstandardid": {
  21462. "description": "现货商品ID",
  21463. "type": "integer"
  21464. },
  21465. "wrstandardname": {
  21466. "description": "品类名称",
  21467. "type": "string"
  21468. }
  21469. }
  21470. },
  21471. "models.Ermcp3GoodsGroup": {
  21472. "type": "object",
  21473. "required": [
  21474. "areauserid"
  21475. ],
  21476. "properties": {
  21477. "agreeunit": {
  21478. "description": "合约单位",
  21479. "type": "number"
  21480. },
  21481. "areauserid": {
  21482. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21483. "type": "integer"
  21484. },
  21485. "canshort": {
  21486. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21487. "type": "integer"
  21488. },
  21489. "closepricemode": {
  21490. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21491. "type": "integer"
  21492. },
  21493. "createtime": {
  21494. "description": "创建时间",
  21495. "type": "string"
  21496. },
  21497. "creatorid": {
  21498. "description": "创建人",
  21499. "type": "integer"
  21500. },
  21501. "currencyid": {
  21502. "description": "报价货币ID",
  21503. "type": "integer"
  21504. },
  21505. "decimalplace": {
  21506. "description": "报价小数位",
  21507. "type": "integer"
  21508. },
  21509. "enumdicname": {
  21510. "description": "单位名称",
  21511. "type": "string"
  21512. },
  21513. "exchangefullname": {
  21514. "description": "交易所全称",
  21515. "type": "string"
  21516. },
  21517. "excludecfg": {
  21518. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21519. "type": "integer"
  21520. },
  21521. "exexchangecode": {
  21522. "description": "交易所代码",
  21523. "type": "string"
  21524. },
  21525. "exexchangeid": {
  21526. "description": "外部交易所ID[通道交易]",
  21527. "type": "integer"
  21528. },
  21529. "exexchangename": {
  21530. "description": "交易所名称",
  21531. "type": "string"
  21532. },
  21533. "goodsgroupid": {
  21534. "description": "商品组ID(自增ID)",
  21535. "type": "integer"
  21536. },
  21537. "goodsgroupname": {
  21538. "description": "商品组名称",
  21539. "type": "string"
  21540. },
  21541. "goodsgroupstatus": {
  21542. "description": "商品组状态 - 1:正常 2:注销",
  21543. "type": "integer"
  21544. },
  21545. "goodunitid": {
  21546. "description": "报价单位ID",
  21547. "type": "integer"
  21548. },
  21549. "groupcategroyid": {
  21550. "description": "品种分类ID",
  21551. "type": "integer"
  21552. },
  21553. "innerdealmode": {
  21554. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21555. "type": "integer"
  21556. },
  21557. "marketid": {
  21558. "description": "所属市场ID",
  21559. "type": "integer"
  21560. },
  21561. "modifierid": {
  21562. "description": "修改人",
  21563. "type": "integer"
  21564. },
  21565. "modifytime": {
  21566. "description": "修改时间",
  21567. "type": "string"
  21568. },
  21569. "outerdealmode": {
  21570. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21571. "type": "integer"
  21572. },
  21573. "outergroupcode": {
  21574. "description": "外部商品组代码[通道交易]",
  21575. "type": "string"
  21576. },
  21577. "quoteminunit": {
  21578. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21579. "type": "integer"
  21580. },
  21581. "quotesourcegroupid": {
  21582. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21583. "type": "integer"
  21584. },
  21585. "syncgoodsqty": {
  21586. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21587. "type": "integer"
  21588. }
  21589. }
  21590. },
  21591. "models.Ermcp3HedgePlan": {
  21592. "type": "object",
  21593. "properties": {
  21594. "accountid": {
  21595. "description": "资金账号",
  21596. "type": "integer"
  21597. },
  21598. "areauserid": {
  21599. "description": "用户ID",
  21600. "type": "integer"
  21601. },
  21602. "auditid": {
  21603. "description": "审核id",
  21604. "type": "integer"
  21605. },
  21606. "auditname": {
  21607. "description": "审核人名称",
  21608. "type": "string"
  21609. },
  21610. "auditremark": {
  21611. "description": "审核备注",
  21612. "type": "string"
  21613. },
  21614. "auditsrc": {
  21615. "description": "审核来源 1-管理端 2-终端",
  21616. "type": "integer"
  21617. },
  21618. "audittime": {
  21619. "description": "审核时间",
  21620. "type": "string"
  21621. },
  21622. "contracttype": {
  21623. "description": "计划类型 - 1:采购 -1:销售",
  21624. "type": "integer"
  21625. },
  21626. "convertfactor": {
  21627. "description": "标仓系数",
  21628. "type": "number"
  21629. },
  21630. "createtime": {
  21631. "description": "创建时间",
  21632. "type": "string"
  21633. },
  21634. "currencyid": {
  21635. "description": "币种id",
  21636. "type": "integer"
  21637. },
  21638. "currencyname": {
  21639. "description": "币种名称",
  21640. "type": "string"
  21641. },
  21642. "deliverygoodscode": {
  21643. "description": "现货品种代码",
  21644. "type": "string"
  21645. },
  21646. "deliverygoodsid": {
  21647. "description": "现货品种ID",
  21648. "type": "integer"
  21649. },
  21650. "deliverygoodsname": {
  21651. "description": "现货品种名称",
  21652. "type": "string"
  21653. },
  21654. "enumdicname": {
  21655. "description": "单位名称(现货商品)",
  21656. "type": "string"
  21657. },
  21658. "hedgeplanid": {
  21659. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21660. "type": "string"
  21661. },
  21662. "hedgeplanno": {
  21663. "description": "套保计划编号(名称)",
  21664. "type": "string"
  21665. },
  21666. "hedgeplanstatus": {
  21667. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21668. "type": "integer"
  21669. },
  21670. "planqty": {
  21671. "description": "计划数量",
  21672. "type": "number"
  21673. },
  21674. "plantime": {
  21675. "description": "计划时间",
  21676. "type": "string"
  21677. },
  21678. "producttype": {
  21679. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21680. "type": "integer"
  21681. },
  21682. "remark": {
  21683. "description": "备注",
  21684. "type": "string"
  21685. },
  21686. "spotgoodsdesc": {
  21687. "description": "商品型号",
  21688. "type": "string"
  21689. },
  21690. "taaccountname": {
  21691. "description": "资金账号名称",
  21692. "type": "string"
  21693. },
  21694. "tradeuserid": {
  21695. "description": "交易用户id",
  21696. "type": "integer"
  21697. },
  21698. "tradeusername": {
  21699. "description": "交易用户名称",
  21700. "type": "string"
  21701. },
  21702. "unitid": {
  21703. "description": "单位id(现货商品)",
  21704. "type": "integer"
  21705. },
  21706. "updatetime": {
  21707. "description": "更新时间",
  21708. "type": "string"
  21709. },
  21710. "vatrate": {
  21711. "description": "增值税率",
  21712. "type": "number"
  21713. },
  21714. "wrstandardcode": {
  21715. "description": "品类代码",
  21716. "type": "string"
  21717. },
  21718. "wrstandardid": {
  21719. "description": "品类id",
  21720. "type": "integer"
  21721. },
  21722. "wrstandardname": {
  21723. "description": "品类名称",
  21724. "type": "string"
  21725. },
  21726. "wrunitid": {
  21727. "description": "品类单位id",
  21728. "type": "integer"
  21729. },
  21730. "wrunitidame": {
  21731. "description": "品类单位名称",
  21732. "type": "string"
  21733. }
  21734. }
  21735. },
  21736. "models.Ermcp3InnerTradeLink": {
  21737. "type": "object",
  21738. "properties": {
  21739. "accountid": {
  21740. "description": "期货账号代码 | 资金账号ID",
  21741. "type": "integer"
  21742. },
  21743. "buyorsell": {
  21744. "description": "方向 - 0:买 1:卖",
  21745. "type": "integer"
  21746. },
  21747. "channelbuildtype": {
  21748. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21749. "type": "integer"
  21750. },
  21751. "currencyid": {
  21752. "description": "币种id",
  21753. "type": "integer"
  21754. },
  21755. "currencyname": {
  21756. "description": "结算币种 名称",
  21757. "type": "string"
  21758. },
  21759. "goodscode": {
  21760. "description": "商品代码",
  21761. "type": "string"
  21762. },
  21763. "goodsid": {
  21764. "description": "商品ID",
  21765. "type": "integer"
  21766. },
  21767. "goodsname": {
  21768. "description": "商品名称",
  21769. "type": "string"
  21770. },
  21771. "outtradeid": {
  21772. "description": "外部成交单号",
  21773. "type": "string"
  21774. },
  21775. "taname": {
  21776. "description": "期货账户名称",
  21777. "type": "string"
  21778. },
  21779. "tradeid": {
  21780. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21781. "type": "string"
  21782. },
  21783. "tradeprice": {
  21784. "description": "成交价格",
  21785. "type": "number"
  21786. },
  21787. "tradeqty": {
  21788. "description": "期货成交数量",
  21789. "type": "integer"
  21790. },
  21791. "tradetime": {
  21792. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21793. "type": "string"
  21794. },
  21795. "username": {
  21796. "description": "用户名称",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.Ermcp3OutTradeLink": {
  21802. "type": "object",
  21803. "properties": {
  21804. "buyorsell": {
  21805. "description": "买卖方向 - 0:买 1:卖",
  21806. "type": "integer"
  21807. },
  21808. "channelbuildtype": {
  21809. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21810. "type": "integer"
  21811. },
  21812. "currencyname": {
  21813. "description": "币种名称",
  21814. "type": "string"
  21815. },
  21816. "exexchangecode": {
  21817. "description": "交易所代码",
  21818. "type": "string"
  21819. },
  21820. "exexchangename": {
  21821. "description": "交易所名称",
  21822. "type": "string"
  21823. },
  21824. "goodscode": {
  21825. "description": "合约代码",
  21826. "type": "string"
  21827. },
  21828. "goodsid": {
  21829. "description": "合约id",
  21830. "type": "integer"
  21831. },
  21832. "goodsname": {
  21833. "description": "合约名称",
  21834. "type": "string"
  21835. },
  21836. "hasinnerorder": {
  21837. "description": "是否有内部单关联 - 0:无 1:有",
  21838. "type": "integer"
  21839. },
  21840. "hedgeaccountcode": {
  21841. "description": "外部账号 | 对冲账号",
  21842. "type": "string"
  21843. },
  21844. "outtradeid": {
  21845. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21846. "type": "string"
  21847. },
  21848. "tradeprice": {
  21849. "description": "成交价格",
  21850. "type": "number"
  21851. },
  21852. "tradeqty": {
  21853. "description": "成交数量",
  21854. "type": "integer"
  21855. },
  21856. "tradetime": {
  21857. "description": "成交时间",
  21858. "type": "string"
  21859. }
  21860. }
  21861. },
  21862. "models.Ermcp3PaAreaAuditCfg": {
  21863. "type": "object",
  21864. "properties": {
  21865. "areauserid": {
  21866. "description": "用户ID",
  21867. "type": "integer"
  21868. },
  21869. "buyinauditflag": {
  21870. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21871. "type": "integer"
  21872. },
  21873. "costratioauditflag": {
  21874. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21875. "type": "integer"
  21876. },
  21877. "customerauditflag": {
  21878. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21879. "type": "integer"
  21880. },
  21881. "deliveryauditflag": {
  21882. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21883. "type": "integer"
  21884. },
  21885. "invoiceauditflag": {
  21886. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21887. "type": "integer"
  21888. },
  21889. "mgneedhedgeratioauditflag": {
  21890. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21891. "type": "integer"
  21892. },
  21893. "moneyauditflag": {
  21894. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21895. "type": "integer"
  21896. },
  21897. "operatorid": {
  21898. "description": "操作人",
  21899. "type": "integer"
  21900. },
  21901. "operatorsrc": {
  21902. "description": "操作来源 - 1:管理端 2:终端",
  21903. "type": "integer"
  21904. },
  21905. "pointpriceauditflag": {
  21906. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21907. "type": "integer"
  21908. },
  21909. "produceinauditflag": {
  21910. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21911. "type": "integer"
  21912. },
  21913. "produceoutauditflag": {
  21914. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21915. "type": "integer"
  21916. },
  21917. "selloutauditflag": {
  21918. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21919. "type": "integer"
  21920. },
  21921. "sgconvertratioauditflag": {
  21922. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21923. "type": "integer"
  21924. },
  21925. "sgvtaratioauditflag": {
  21926. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21927. "type": "integer"
  21928. },
  21929. "spotcontractauditflag": {
  21930. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21931. "type": "integer"
  21932. },
  21933. "updatetime": {
  21934. "description": "更新时间",
  21935. "type": "string"
  21936. }
  21937. }
  21938. },
  21939. "models.Ermcp3PaAreaSubject": {
  21940. "type": "object",
  21941. "properties": {
  21942. "areauserid": {
  21943. "description": "所属机构",
  21944. "type": "integer"
  21945. },
  21946. "canmodify": {
  21947. "description": "是否可修改 - 0:否 1:是",
  21948. "type": "integer"
  21949. },
  21950. "createtime": {
  21951. "description": "创建时间",
  21952. "type": "string"
  21953. },
  21954. "creatorid": {
  21955. "description": "创建人ID",
  21956. "type": "string"
  21957. },
  21958. "creatorsrc": {
  21959. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21960. "type": "integer"
  21961. },
  21962. "modifierid": {
  21963. "description": "修改人",
  21964. "type": "string"
  21965. },
  21966. "modifiersrc": {
  21967. "description": "修改人来源 - 1:管理端 2:终端",
  21968. "type": "integer"
  21969. },
  21970. "modifytime": {
  21971. "description": "修改时间",
  21972. "type": "string"
  21973. },
  21974. "parentsubjectid": {
  21975. "description": "上级主体ID",
  21976. "type": "string"
  21977. },
  21978. "remark": {
  21979. "description": "备注",
  21980. "type": "string"
  21981. },
  21982. "subjectid": {
  21983. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21984. "type": "integer"
  21985. },
  21986. "subjectname": {
  21987. "description": "主体名称",
  21988. "type": "string"
  21989. },
  21990. "subjectstatus": {
  21991. "description": "主体状态 - 1:正常 2: 停用",
  21992. "type": "integer"
  21993. },
  21994. "subjecttype": {
  21995. "description": "主体类型 - 1:交易主体 2:业务部门",
  21996. "type": "integer"
  21997. }
  21998. }
  21999. },
  22000. "models.Ermcp3PaTradeLink": {
  22001. "type": "object",
  22002. "properties": {
  22003. "accountid": {
  22004. "description": "期货账户代码 | 账号ID",
  22005. "type": "integer"
  22006. },
  22007. "agreeunit": {
  22008. "description": "合约乘数",
  22009. "type": "number"
  22010. },
  22011. "buyorsell": {
  22012. "description": "方向 - 0:买 1:卖",
  22013. "type": "integer"
  22014. },
  22015. "channelbuildtype": {
  22016. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22017. "type": "integer"
  22018. },
  22019. "charge": {
  22020. "description": "手续费",
  22021. "type": "number"
  22022. },
  22023. "closepl": {
  22024. "description": "平仓盈亏",
  22025. "type": "number"
  22026. },
  22027. "closetype": {
  22028. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22029. "type": "integer"
  22030. },
  22031. "convertratio": {
  22032. "description": "折算系数",
  22033. "type": "number"
  22034. },
  22035. "enumdicname": {
  22036. "description": "单位名称",
  22037. "type": "string"
  22038. },
  22039. "executeprice": {
  22040. "description": "执行价 [期权]",
  22041. "type": "integer"
  22042. },
  22043. "goodscode": {
  22044. "description": "合约代码",
  22045. "type": "string"
  22046. },
  22047. "goodsgroupid": {
  22048. "description": "对冲品种ID[期货合约商品组ID]",
  22049. "type": "integer"
  22050. },
  22051. "goodsid": {
  22052. "description": "商品ID",
  22053. "type": "integer"
  22054. },
  22055. "goodsname": {
  22056. "description": "合约名称",
  22057. "type": "string"
  22058. },
  22059. "goodunitid": {
  22060. "description": "单位id",
  22061. "type": "integer"
  22062. },
  22063. "hedgeflag": {
  22064. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22065. "type": "integer"
  22066. },
  22067. "marketid": {
  22068. "description": "市场ID",
  22069. "type": "integer"
  22070. },
  22071. "middlegoodsid": {
  22072. "description": "套保品种ID",
  22073. "type": "integer"
  22074. },
  22075. "middlegoodsqty": {
  22076. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22077. "type": "number"
  22078. },
  22079. "optioncode": {
  22080. "description": "期权代码 [期权]",
  22081. "type": "string"
  22082. },
  22083. "ordertype": {
  22084. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22085. "type": "integer"
  22086. },
  22087. "ordertypename": {
  22088. "description": "订单类型",
  22089. "type": "string"
  22090. },
  22091. "parentaccountid": {
  22092. "description": "所属母账户",
  22093. "type": "integer"
  22094. },
  22095. "premium": {
  22096. "description": "权利金 [期权]",
  22097. "type": "number"
  22098. },
  22099. "relatedlot": {
  22100. "description": "已关联数量(已关联数量手) | db:关联手数",
  22101. "type": "number"
  22102. },
  22103. "relatedouttradeid": {
  22104. "description": "关联外部成交单ID",
  22105. "type": "string"
  22106. },
  22107. "relatedqty": {
  22108. "description": "关联数量",
  22109. "type": "number"
  22110. },
  22111. "spotcontractid": {
  22112. "description": "现货合同ID [4:套期保值\\10\\11]",
  22113. "type": "string"
  22114. },
  22115. "taname": {
  22116. "description": "期货账户名称",
  22117. "type": "string"
  22118. },
  22119. "tradeamount": {
  22120. "description": "成交金额(账户)",
  22121. "type": "number"
  22122. },
  22123. "tradedate": {
  22124. "description": "交易日(yyyyMMdd)",
  22125. "type": "string"
  22126. },
  22127. "tradeid": {
  22128. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22129. "type": "string"
  22130. },
  22131. "tradelot": {
  22132. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22133. "type": "integer"
  22134. },
  22135. "tradeprice": {
  22136. "description": "成交价格",
  22137. "type": "number"
  22138. },
  22139. "tradetime": {
  22140. "description": "时间 | db:成交时间",
  22141. "type": "string"
  22142. },
  22143. "tradetype": {
  22144. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22145. "type": "integer"
  22146. },
  22147. "userid": {
  22148. "description": "所属机构 - 所属母账户的UserID",
  22149. "type": "string"
  22150. },
  22151. "username": {
  22152. "description": "用户名称",
  22153. "type": "string"
  22154. }
  22155. }
  22156. },
  22157. "models.Ermcp3ParamChangeApp": {
  22158. "type": "object",
  22159. "properties": {
  22160. "aftervalue": {
  22161. "description": "变更后",
  22162. "type": "number"
  22163. },
  22164. "applicationid": {
  22165. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22166. "type": "string"
  22167. },
  22168. "applyid": {
  22169. "description": "申请人",
  22170. "type": "string"
  22171. },
  22172. "applyname": {
  22173. "description": "申请人名称(代码)",
  22174. "type": "string"
  22175. },
  22176. "applyremark": {
  22177. "description": "申请备注",
  22178. "type": "string"
  22179. },
  22180. "applysrc": {
  22181. "description": "申请来源 - 1:管理端 2:终端",
  22182. "type": "integer"
  22183. },
  22184. "applystatus": {
  22185. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22186. "type": "integer"
  22187. },
  22188. "applytime": {
  22189. "description": "申请时间",
  22190. "type": "string"
  22191. },
  22192. "areauserid": {
  22193. "description": "所属机构用户ID",
  22194. "type": "integer"
  22195. },
  22196. "auditid": {
  22197. "description": "审核人",
  22198. "type": "string"
  22199. },
  22200. "auditname": {
  22201. "description": "审核人名称(代码)",
  22202. "type": "string"
  22203. },
  22204. "auditremark": {
  22205. "description": "审核备注",
  22206. "type": "string"
  22207. },
  22208. "auditsrc": {
  22209. "description": "审核来源 - 1:管理端 2:终端",
  22210. "type": "integer"
  22211. },
  22212. "audittime": {
  22213. "description": "审核时间",
  22214. "type": "string"
  22215. },
  22216. "audittradedate": {
  22217. "description": "审核交易日(yyyyMMdd)",
  22218. "type": "string"
  22219. },
  22220. "beforevalue": {
  22221. "description": "变更前",
  22222. "type": "number"
  22223. },
  22224. "deliverygoodscode": {
  22225. "description": "品种代码",
  22226. "type": "string"
  22227. },
  22228. "deliverygoodsid": {
  22229. "description": "品种id",
  22230. "type": "integer"
  22231. },
  22232. "deliverygoodsname": {
  22233. "description": "品种名称",
  22234. "type": "string"
  22235. },
  22236. "middlegoodscode": {
  22237. "description": "套保品种代码",
  22238. "type": "string"
  22239. },
  22240. "middlegoodsid": {
  22241. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22242. "type": "integer"
  22243. },
  22244. "middlegoodsname": {
  22245. "description": "套保品种名称",
  22246. "type": "string"
  22247. },
  22248. "operatetype": {
  22249. "description": "操作类型 - 1:新增 2:修改",
  22250. "type": "integer"
  22251. },
  22252. "paramchangetype": {
  22253. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22254. "type": "integer"
  22255. },
  22256. "wrstandardcode": {
  22257. "description": "现货商品代码",
  22258. "type": "string"
  22259. },
  22260. "wrstandardid": {
  22261. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22262. "type": "integer"
  22263. },
  22264. "wrstandardname": {
  22265. "description": "现货商品名称",
  22266. "type": "string"
  22267. }
  22268. }
  22269. },
  22270. "models.Ermcp3RootUserAccount": {
  22271. "type": "object",
  22272. "properties": {
  22273. "accountname": {
  22274. "description": "账户名称(机构名称)",
  22275. "type": "string"
  22276. },
  22277. "accountstatus": {
  22278. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22279. "type": "integer"
  22280. },
  22281. "applysrc": {
  22282. "description": "申请来源 - 1:管理端 2:终端",
  22283. "type": "integer"
  22284. },
  22285. "auditremark": {
  22286. "description": "审核备注",
  22287. "type": "string"
  22288. },
  22289. "auditsrc": {
  22290. "description": "审核来源 - 1:管理端 2:终端",
  22291. "type": "integer"
  22292. },
  22293. "audittime": {
  22294. "description": "审核时间",
  22295. "type": "string"
  22296. },
  22297. "audituserid": {
  22298. "description": "审核人",
  22299. "type": "integer"
  22300. },
  22301. "broker": {
  22302. "description": "所属经纪人ID",
  22303. "type": "integer"
  22304. },
  22305. "canceltime": {
  22306. "description": "销户时间",
  22307. "type": "string"
  22308. },
  22309. "canceluserid": {
  22310. "description": "销户人",
  22311. "type": "integer"
  22312. },
  22313. "canrecommend": {
  22314. "description": "是否可推荐 - 0:不可 1;可",
  22315. "type": "integer"
  22316. },
  22317. "createtime": {
  22318. "description": "创建时间",
  22319. "type": "string"
  22320. },
  22321. "creatorid": {
  22322. "description": "创建人",
  22323. "type": "integer"
  22324. },
  22325. "hasauth": {
  22326. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22327. "type": "integer"
  22328. },
  22329. "isanonymous": {
  22330. "description": "是否匿名下单 - 0:否 1:是",
  22331. "type": "integer"
  22332. },
  22333. "maxinvestornum": {
  22334. "description": "最大用户数(经纪会员下投资者个数)",
  22335. "type": "integer"
  22336. },
  22337. "memberuserid": {
  22338. "description": "所属会员ID",
  22339. "type": "integer"
  22340. },
  22341. "modifierid": {
  22342. "description": "修改人",
  22343. "type": "integer"
  22344. },
  22345. "modifyremark": {
  22346. "description": "变更备注",
  22347. "type": "string"
  22348. },
  22349. "modifystatus": {
  22350. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22351. "type": "integer"
  22352. },
  22353. "modifytime": {
  22354. "description": "修改时间",
  22355. "type": "string"
  22356. },
  22357. "parenttopuser": {
  22358. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22359. "type": "string"
  22360. },
  22361. "parentuserid": {
  22362. "description": "所属机构ID",
  22363. "type": "integer"
  22364. },
  22365. "reckonaccountid": {
  22366. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22367. "type": "integer"
  22368. },
  22369. "refercount": {
  22370. "description": "推荐总人数",
  22371. "type": "integer"
  22372. },
  22373. "refereeuserid": {
  22374. "description": "推荐人ID",
  22375. "type": "integer"
  22376. },
  22377. "refernum": {
  22378. "description": "推荐码",
  22379. "type": "string"
  22380. },
  22381. "rootuserid": {
  22382. "description": "根用户ID",
  22383. "type": "integer"
  22384. },
  22385. "subaccountlevel": {
  22386. "description": "子账户层数",
  22387. "type": "integer"
  22388. },
  22389. "subarealevelpath": {
  22390. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22391. "type": "string"
  22392. },
  22393. "userid": {
  22394. "description": "用户ID",
  22395. "type": "integer"
  22396. },
  22397. "usertype": {
  22398. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22399. "type": "integer"
  22400. }
  22401. }
  22402. },
  22403. "models.Ermcp3SCMiddleGoods": {
  22404. "type": "object",
  22405. "properties": {
  22406. "biztype": {
  22407. "description": "业务类型 1:套保 2:套利",
  22408. "type": "integer"
  22409. },
  22410. "contractno": {
  22411. "description": "合同编号",
  22412. "type": "string"
  22413. },
  22414. "contracttype": {
  22415. "description": "合同类型 1:采购 -1:销售",
  22416. "type": "integer"
  22417. },
  22418. "convertratio": {
  22419. "description": "折算系数",
  22420. "type": "number"
  22421. },
  22422. "customername": {
  22423. "description": "对手手名称",
  22424. "type": "string"
  22425. },
  22426. "customeruserid": {
  22427. "description": "对手id",
  22428. "type": "integer"
  22429. },
  22430. "deliverygoodscode": {
  22431. "description": "现货品种代码",
  22432. "type": "string"
  22433. },
  22434. "deliverygoodsid": {
  22435. "description": "现货品种ID",
  22436. "type": "integer"
  22437. },
  22438. "deliverygoodsname": {
  22439. "description": "现货品种名称",
  22440. "type": "string"
  22441. },
  22442. "enumdicname": {
  22443. "description": "现货单位名称",
  22444. "type": "string"
  22445. },
  22446. "middlegoodsid": {
  22447. "description": "套保品种ID",
  22448. "type": "integer"
  22449. },
  22450. "middlegoodspricedqty3": {
  22451. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22452. "type": "number"
  22453. },
  22454. "needhedgeratio": {
  22455. "description": "套保比例",
  22456. "type": "number"
  22457. },
  22458. "pricedqty": {
  22459. "description": "已定价量",
  22460. "type": "number"
  22461. },
  22462. "relatedmiddlegoodsqty": {
  22463. "description": "已关联量(套保品种)(期货)",
  22464. "type": "number"
  22465. },
  22466. "spotcontractid": {
  22467. "description": "合同编号",
  22468. "type": "string"
  22469. },
  22470. "unitid": {
  22471. "description": "现货单位id",
  22472. "type": "integer"
  22473. },
  22474. "userid": {
  22475. "description": "用户id",
  22476. "type": "integer"
  22477. },
  22478. "vatrate": {
  22479. "description": "增值税率",
  22480. "type": "number"
  22481. },
  22482. "wrstandardcode": {
  22483. "description": "现货商品代码",
  22484. "type": "string"
  22485. },
  22486. "wrstandardid": {
  22487. "description": "现货商品id",
  22488. "type": "integer"
  22489. },
  22490. "wrstandardname": {
  22491. "description": "现货商品名称",
  22492. "type": "string"
  22493. }
  22494. }
  22495. },
  22496. "models.Ermcp3SCMiddleGoodsReport": {
  22497. "type": "object",
  22498. "properties": {
  22499. "begindate": {
  22500. "description": "开始交易日",
  22501. "type": "string"
  22502. },
  22503. "contractno": {
  22504. "description": "合同编号",
  22505. "type": "string"
  22506. },
  22507. "contracttype": {
  22508. "description": "合同类型 1:采购 -1:销售",
  22509. "type": "integer"
  22510. },
  22511. "convertratio": {
  22512. "description": "折算系数",
  22513. "type": "number"
  22514. },
  22515. "cycletime": {
  22516. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22517. "type": "string"
  22518. },
  22519. "cycletype": {
  22520. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22521. "type": "integer"
  22522. },
  22523. "deliverygoodscode": {
  22524. "description": "品种代码",
  22525. "type": "string"
  22526. },
  22527. "deliverygoodsid": {
  22528. "description": "现货品种ID",
  22529. "type": "integer"
  22530. },
  22531. "deliverygoodsname": {
  22532. "description": "品种名称",
  22533. "type": "string"
  22534. },
  22535. "diffprice": {
  22536. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22537. "type": "number"
  22538. },
  22539. "diffqty": {
  22540. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22541. "type": "number"
  22542. },
  22543. "enddate": {
  22544. "description": "结束交易日",
  22545. "type": "string"
  22546. },
  22547. "hedgeplanqty": {
  22548. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22549. "type": "number"
  22550. },
  22551. "matchname": {
  22552. "description": "交易对手方(个人:用户名称 企业:简称)",
  22553. "type": "string"
  22554. },
  22555. "middlegoodscode": {
  22556. "description": "套保品种代码",
  22557. "type": "string"
  22558. },
  22559. "middlegoodsid": {
  22560. "description": "套保品种ID",
  22561. "type": "integer"
  22562. },
  22563. "middlegoodsname": {
  22564. "description": "套保品种名称",
  22565. "type": "string"
  22566. },
  22567. "middlegoodspricedqty": {
  22568. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22569. "type": "number"
  22570. },
  22571. "middlegoodspricedqty2": {
  22572. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22573. "type": "number"
  22574. },
  22575. "middlegoodspricedqty3": {
  22576. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22577. "type": "number"
  22578. },
  22579. "needhedgeratio": {
  22580. "description": "套保系数",
  22581. "type": "number"
  22582. },
  22583. "pricedamount": {
  22584. "description": "已定价额(现货)",
  22585. "type": "number"
  22586. },
  22587. "pricedamount2": {
  22588. "description": "已定价额(现货-基价额)",
  22589. "type": "number"
  22590. },
  22591. "pricedqty": {
  22592. "description": "已定价量(现货)",
  22593. "type": "number"
  22594. },
  22595. "reckondate": {
  22596. "description": "日照时期(yyyyMMdd)",
  22597. "type": "string"
  22598. },
  22599. "relatedmiddlegoodsamount": {
  22600. "description": "已关联额(期货)",
  22601. "type": "number"
  22602. },
  22603. "relatedmiddlegoodsqty": {
  22604. "description": "已关联量(套保品种)(期货)",
  22605. "type": "number"
  22606. },
  22607. "spotcontractid": {
  22608. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22609. "type": "string"
  22610. },
  22611. "todayavgfutuprice": {
  22612. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22613. "type": "number"
  22614. },
  22615. "todayavgprice": {
  22616. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22617. "type": "number"
  22618. },
  22619. "todayavgprice2": {
  22620. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22621. "type": "number"
  22622. },
  22623. "todaypricedamount": {
  22624. "description": "今日定价额(现货)",
  22625. "type": "number"
  22626. },
  22627. "todaypricedamount2": {
  22628. "description": "今日定价额(现货-基价额)",
  22629. "type": "number"
  22630. },
  22631. "todaypricedqty": {
  22632. "description": "今日定价量(现货)",
  22633. "type": "number"
  22634. },
  22635. "todayrelatedfutureqty": {
  22636. "description": "今日关联量(期货)",
  22637. "type": "number"
  22638. },
  22639. "todayrelatedmiddlegoodsamount": {
  22640. "description": "今日关联额(期货)",
  22641. "type": "number"
  22642. },
  22643. "todayrelatedmiddlegoodsqty": {
  22644. "description": "今日关联量(套保品-期货)",
  22645. "type": "number"
  22646. },
  22647. "updatetime": {
  22648. "description": "更新时间",
  22649. "type": "string"
  22650. },
  22651. "userid": {
  22652. "description": "合同所属用户id",
  22653. "type": "integer"
  22654. },
  22655. "vatrate": {
  22656. "description": "增值税率",
  22657. "type": "number"
  22658. },
  22659. "wrstandardcode": {
  22660. "description": "商品(品类) 代码",
  22661. "type": "string"
  22662. },
  22663. "wrstandardid": {
  22664. "description": "现货商品ID",
  22665. "type": "integer"
  22666. },
  22667. "wrstandardname": {
  22668. "description": "商品(品类) 名称",
  22669. "type": "string"
  22670. }
  22671. }
  22672. },
  22673. "models.Ermcp3SellBuyContract": {
  22674. "type": "object",
  22675. "properties": {
  22676. "accountid": {
  22677. "description": "期货账户id",
  22678. "type": "string"
  22679. },
  22680. "accountname": {
  22681. "description": "账户名称",
  22682. "type": "string"
  22683. },
  22684. "attachment": {
  22685. "description": "附件",
  22686. "type": "string"
  22687. },
  22688. "audittime": {
  22689. "description": "审核时间",
  22690. "type": "string"
  22691. },
  22692. "biztype": {
  22693. "description": "业务类型 1-套保 2-套利",
  22694. "type": "integer"
  22695. },
  22696. "brandname": {
  22697. "description": "品牌名称",
  22698. "type": "string"
  22699. },
  22700. "contracctstatus": {
  22701. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22702. "type": "integer"
  22703. },
  22704. "contractmargin": {
  22705. "description": "合同保证金",
  22706. "type": "number"
  22707. },
  22708. "contractno": {
  22709. "description": "合同编号",
  22710. "type": "string"
  22711. },
  22712. "contracttype": {
  22713. "description": "合同类型 1-采购, -1-销售",
  22714. "type": "integer"
  22715. },
  22716. "convertfactor": {
  22717. "description": "标仓系数(品类)",
  22718. "type": "number"
  22719. },
  22720. "createtime": {
  22721. "description": "创建时间",
  22722. "type": "string"
  22723. },
  22724. "currencyid": {
  22725. "description": "币种id",
  22726. "type": "integer"
  22727. },
  22728. "currencyname": {
  22729. "description": "币种名称",
  22730. "type": "string"
  22731. },
  22732. "daikaiamount": {
  22733. "description": "应收(开)票额",
  22734. "type": "number"
  22735. },
  22736. "deliveryenddate": {
  22737. "description": "交割结束日",
  22738. "type": "string"
  22739. },
  22740. "deliverygoodscode": {
  22741. "description": "现货品种代码",
  22742. "type": "string"
  22743. },
  22744. "deliverygoodsid": {
  22745. "description": "现货商品ID",
  22746. "type": "integer"
  22747. },
  22748. "deliverygoodsname": {
  22749. "description": "现货品种名称",
  22750. "type": "string"
  22751. },
  22752. "deliverystartdate": {
  22753. "description": "交割开始日",
  22754. "type": "string"
  22755. },
  22756. "enddate": {
  22757. "description": "点价结束日",
  22758. "type": "string"
  22759. },
  22760. "enumdicname": {
  22761. "description": "单位名称",
  22762. "type": "string"
  22763. },
  22764. "goodscode": {
  22765. "description": "点价商品代码",
  22766. "type": "string"
  22767. },
  22768. "goodsid": {
  22769. "description": "点价商品ID",
  22770. "type": "integer"
  22771. },
  22772. "goodsname": {
  22773. "description": "点价商品名称",
  22774. "type": "string"
  22775. },
  22776. "invoiceamount": {
  22777. "description": "已开票额",
  22778. "type": "number"
  22779. },
  22780. "loanamount": {
  22781. "description": "贷款总额=已定价额+调整金额",
  22782. "type": "number"
  22783. },
  22784. "margin": {
  22785. "description": "保证金",
  22786. "type": "number"
  22787. },
  22788. "meruserid": {
  22789. "description": "跟单员id",
  22790. "type": "integer"
  22791. },
  22792. "meruserlogincode": {
  22793. "description": "跟单员登录代码",
  22794. "type": "string"
  22795. },
  22796. "merusername": {
  22797. "description": "跟单员名称",
  22798. "type": "string"
  22799. },
  22800. "nickname": {
  22801. "description": "账户昵称",
  22802. "type": "string"
  22803. },
  22804. "payamount": {
  22805. "description": "已收付额(收款或付款)",
  22806. "type": "number"
  22807. },
  22808. "preinvoiceamount": {
  22809. "description": "预收(开)票额",
  22810. "type": "number"
  22811. },
  22812. "prepayamount": {
  22813. "description": "预收付额",
  22814. "type": "number"
  22815. },
  22816. "price": {
  22817. "description": "价格",
  22818. "type": "number"
  22819. },
  22820. "pricedamount": {
  22821. "description": "已定价额",
  22822. "type": "number"
  22823. },
  22824. "pricedavg": {
  22825. "description": "已点均价",
  22826. "type": "number"
  22827. },
  22828. "pricedqty": {
  22829. "description": "已定价量",
  22830. "type": "number"
  22831. },
  22832. "pricemove": {
  22833. "description": "升贴水",
  22834. "type": "number"
  22835. },
  22836. "pricetype": {
  22837. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22838. "type": "integer"
  22839. },
  22840. "producttype": {
  22841. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22842. "type": "integer"
  22843. },
  22844. "qty": {
  22845. "description": "合同量",
  22846. "type": "number"
  22847. },
  22848. "reckonadjustamount": {
  22849. "description": "调整金额",
  22850. "type": "number"
  22851. },
  22852. "reckonedamount": {
  22853. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22854. "type": "number"
  22855. },
  22856. "reckonotheramount": {
  22857. "description": "其它费用",
  22858. "type": "number"
  22859. },
  22860. "reckonrealqty": {
  22861. "description": "已确定量",
  22862. "type": "number"
  22863. },
  22864. "remark": {
  22865. "description": "备注",
  22866. "type": "string"
  22867. },
  22868. "saleuserid": {
  22869. "description": "业务员id",
  22870. "type": "integer"
  22871. },
  22872. "saleuserlogincode": {
  22873. "description": "业务员登录代码",
  22874. "type": "string"
  22875. },
  22876. "saleusername": {
  22877. "description": "业务员名称",
  22878. "type": "string"
  22879. },
  22880. "spotcontractid": {
  22881. "description": "合同ID",
  22882. "type": "string"
  22883. },
  22884. "spotgoodsbrandid": {
  22885. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22886. "type": "integer"
  22887. },
  22888. "spotgoodsdesc": {
  22889. "description": "商品型号(商品规格)",
  22890. "type": "string"
  22891. },
  22892. "startdate": {
  22893. "description": "点价开始日",
  22894. "type": "string"
  22895. },
  22896. "subjectid": {
  22897. "description": "交易主体ID",
  22898. "type": "integer"
  22899. },
  22900. "subjectname": {
  22901. "description": "交易主体名称",
  22902. "type": "string"
  22903. },
  22904. "totalamount": {
  22905. "description": "合计总额",
  22906. "type": "number"
  22907. },
  22908. "tradeuserid": {
  22909. "description": "交易员id",
  22910. "type": "integer"
  22911. },
  22912. "tradeuserlogincode": {
  22913. "description": "交易员登录代码",
  22914. "type": "string"
  22915. },
  22916. "tradeusername": {
  22917. "description": "交易员名称",
  22918. "type": "string"
  22919. },
  22920. "unpayamount": {
  22921. "description": "应收付款额(应支付或应收款)",
  22922. "type": "number"
  22923. },
  22924. "unpricedqty": {
  22925. "description": "未定价量",
  22926. "type": "number"
  22927. },
  22928. "unsureqty": {
  22929. "description": "未确定量",
  22930. "type": "number"
  22931. },
  22932. "userid": {
  22933. "description": "机构ID",
  22934. "type": "integer"
  22935. },
  22936. "vatrate": {
  22937. "description": "增值税率",
  22938. "type": "number"
  22939. },
  22940. "wrstandardcode": {
  22941. "description": "品类代码",
  22942. "type": "string"
  22943. },
  22944. "wrstandardid": {
  22945. "description": "品类ID",
  22946. "type": "integer"
  22947. },
  22948. "wrstandardname": {
  22949. "description": "品类名称",
  22950. "type": "string"
  22951. }
  22952. }
  22953. },
  22954. "models.Ermcp3SpotGoodsPrice": {
  22955. "type": "object",
  22956. "properties": {
  22957. "areauserid": {
  22958. "description": "所属机构id",
  22959. "type": "integer"
  22960. },
  22961. "brandname": {
  22962. "description": "品牌名称",
  22963. "type": "string"
  22964. },
  22965. "currencyid": {
  22966. "description": "报价货币ID",
  22967. "type": "integer"
  22968. },
  22969. "currencyname": {
  22970. "description": "币种名称",
  22971. "type": "string"
  22972. },
  22973. "deliverygoodscode": {
  22974. "description": "现货商品代码",
  22975. "type": "string"
  22976. },
  22977. "deliverygoodsid": {
  22978. "description": "现货商品id",
  22979. "type": "integer"
  22980. },
  22981. "deliverygoodsname": {
  22982. "description": "现货商品名称",
  22983. "type": "string"
  22984. },
  22985. "enumdicname": {
  22986. "description": "现货商品单位名称",
  22987. "type": "string"
  22988. },
  22989. "gbenumdicname": {
  22990. "description": "品类单位名称",
  22991. "type": "string"
  22992. },
  22993. "gmunitid": {
  22994. "description": "品类单位id",
  22995. "type": "integer"
  22996. },
  22997. "isvalid": {
  22998. "description": "是否有效 - 0:无效 1:有效",
  22999. "type": "integer"
  23000. },
  23001. "operateid": {
  23002. "description": "最后操作人",
  23003. "type": "integer"
  23004. },
  23005. "operatesrc": {
  23006. "description": "最后操作来源 - 1:管理端 2:终端",
  23007. "type": "integer"
  23008. },
  23009. "operatetime": {
  23010. "description": "最后操作时间",
  23011. "type": "string"
  23012. },
  23013. "operatorname": {
  23014. "description": "操作人名称",
  23015. "type": "string"
  23016. },
  23017. "spotgoodsbrandid": {
  23018. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23019. "type": "integer"
  23020. },
  23021. "spotgoodsprice": {
  23022. "description": "现货价格",
  23023. "type": "number"
  23024. },
  23025. "tradedate": {
  23026. "description": "交易日(yyyyMMdd)",
  23027. "type": "string"
  23028. },
  23029. "unitid": {
  23030. "description": "现货商品单位id",
  23031. "type": "integer"
  23032. },
  23033. "wrstandardcode": {
  23034. "description": "品类代码",
  23035. "type": "string"
  23036. },
  23037. "wrstandardid": {
  23038. "description": "现货品类ID(通用则为0)",
  23039. "type": "integer"
  23040. },
  23041. "wrstandardname": {
  23042. "description": "品类名称",
  23043. "type": "string"
  23044. }
  23045. }
  23046. },
  23047. "models.Ermcp3SpotGoodsPriceLog": {
  23048. "type": "object",
  23049. "properties": {
  23050. "areauserid": {
  23051. "description": "所属机构id",
  23052. "type": "integer"
  23053. },
  23054. "brandname": {
  23055. "description": "品牌名称",
  23056. "type": "string"
  23057. },
  23058. "currencyid": {
  23059. "description": "报价货币ID",
  23060. "type": "integer"
  23061. },
  23062. "deliverygoodscode": {
  23063. "description": "现货商品代码",
  23064. "type": "string"
  23065. },
  23066. "deliverygoodsid": {
  23067. "description": "现货商品id",
  23068. "type": "integer"
  23069. },
  23070. "deliverygoodsname": {
  23071. "description": "现货商品名称",
  23072. "type": "string"
  23073. },
  23074. "enumdicname": {
  23075. "description": "现货商品单位名称",
  23076. "type": "string"
  23077. },
  23078. "gbenumdicname": {
  23079. "description": "品类单位名称",
  23080. "type": "string"
  23081. },
  23082. "gmunitid": {
  23083. "description": "品类单位id",
  23084. "type": "integer"
  23085. },
  23086. "logid": {
  23087. "description": "日志id",
  23088. "type": "integer"
  23089. },
  23090. "operateid": {
  23091. "description": "最后操作人",
  23092. "type": "integer"
  23093. },
  23094. "operatesrc": {
  23095. "description": "最后操作来源 - 1:管理端 2:终端",
  23096. "type": "integer"
  23097. },
  23098. "operatetime": {
  23099. "description": "最后操作时间",
  23100. "type": "string"
  23101. },
  23102. "operatorname": {
  23103. "description": "操作人名称",
  23104. "type": "string"
  23105. },
  23106. "spotgoodsbrandid": {
  23107. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23108. "type": "integer"
  23109. },
  23110. "spotgoodsprice": {
  23111. "description": "现货价格",
  23112. "type": "number"
  23113. },
  23114. "tradedate": {
  23115. "description": "交易日(yyyyMMdd)",
  23116. "type": "string"
  23117. },
  23118. "unitid": {
  23119. "description": "现货商品单位id",
  23120. "type": "integer"
  23121. },
  23122. "wrstandardcode": {
  23123. "description": "品类代码",
  23124. "type": "string"
  23125. },
  23126. "wrstandardid": {
  23127. "description": "现货品类ID(通用则为0)",
  23128. "type": "integer"
  23129. },
  23130. "wrstandardname": {
  23131. "description": "品类名称",
  23132. "type": "string"
  23133. }
  23134. }
  23135. },
  23136. "models.Ermcp3SubTaaccount": {
  23137. "type": "object",
  23138. "properties": {
  23139. "accountid": {
  23140. "description": "资金账户ID",
  23141. "type": "integer"
  23142. },
  23143. "parentaccountcode": {
  23144. "description": "所属根账号代码(母账号代码)",
  23145. "type": "string"
  23146. },
  23147. "parentaccountid": {
  23148. "description": "所属根账号(母账号)",
  23149. "type": "integer"
  23150. },
  23151. "taname": {
  23152. "description": "资金账号名称",
  23153. "type": "string"
  23154. },
  23155. "tradestatus": {
  23156. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23157. "type": "integer"
  23158. },
  23159. "username": {
  23160. "description": "交易用户",
  23161. "type": "string"
  23162. }
  23163. }
  23164. },
  23165. "models.Ermcp3TaFutuReDataReport": {
  23166. "type": "object",
  23167. "properties": {
  23168. "accountid": {
  23169. "description": "交易账户",
  23170. "type": "integer"
  23171. },
  23172. "accountname": {
  23173. "description": "交易账号名称",
  23174. "type": "string"
  23175. },
  23176. "agreeunit": {
  23177. "description": "商品合约单位",
  23178. "type": "number"
  23179. },
  23180. "begindate": {
  23181. "description": "开始交易日",
  23182. "type": "string"
  23183. },
  23184. "buyorsell": {
  23185. "description": "持仓方向",
  23186. "type": "integer"
  23187. },
  23188. "charge": {
  23189. "description": "手续费",
  23190. "type": "number"
  23191. },
  23192. "closeavgprice": {
  23193. "description": "平仓均价",
  23194. "type": "number"
  23195. },
  23196. "closepl": {
  23197. "description": "平仓损益",
  23198. "type": "number"
  23199. },
  23200. "currencyid": {
  23201. "description": "结算币种ID",
  23202. "type": "integer"
  23203. },
  23204. "currencyname": {
  23205. "description": "币种名称",
  23206. "type": "string"
  23207. },
  23208. "cycletime": {
  23209. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23210. "type": "string"
  23211. },
  23212. "cycletype": {
  23213. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23214. "type": "integer"
  23215. },
  23216. "enddate": {
  23217. "description": "结束交易日",
  23218. "type": "string"
  23219. },
  23220. "enumdicname": {
  23221. "description": "单位名称",
  23222. "type": "string"
  23223. },
  23224. "floatpl": {
  23225. "description": "浮动损益",
  23226. "type": "number"
  23227. },
  23228. "goodscode": {
  23229. "description": "交易合约代码",
  23230. "type": "string"
  23231. },
  23232. "goodsgroupid": {
  23233. "description": "交易品种",
  23234. "type": "integer"
  23235. },
  23236. "goodsgroupname": {
  23237. "description": "交易品种名称",
  23238. "type": "string"
  23239. },
  23240. "goodsgroupspotqty": {
  23241. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23242. "type": "number"
  23243. },
  23244. "goodsid": {
  23245. "description": "交易合约",
  23246. "type": "integer"
  23247. },
  23248. "goodsname": {
  23249. "description": "交易合约名称",
  23250. "type": "string"
  23251. },
  23252. "goodunitid": {
  23253. "description": "交易合约单位id",
  23254. "type": "integer"
  23255. },
  23256. "holdamount": {
  23257. "description": "期末持仓额",
  23258. "type": "number"
  23259. },
  23260. "holdqty": {
  23261. "description": "期末持仓量",
  23262. "type": "number"
  23263. },
  23264. "lastholdamount": {
  23265. "description": "当前持仓额",
  23266. "type": "number"
  23267. },
  23268. "lastprice": {
  23269. "description": "最新价",
  23270. "type": "number"
  23271. },
  23272. "middlegoodsid": {
  23273. "description": "套保品种id",
  23274. "type": "integer"
  23275. },
  23276. "middlegoodsname": {
  23277. "description": "套保商品名称",
  23278. "type": "string"
  23279. },
  23280. "middlegoodsqty": {
  23281. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23282. "type": "number"
  23283. },
  23284. "middlgoodscode": {
  23285. "description": "套保商品代码",
  23286. "type": "string"
  23287. },
  23288. "openamount": {
  23289. "description": "期末开仓额",
  23290. "type": "number"
  23291. },
  23292. "openavgprice": {
  23293. "description": "开仓均价",
  23294. "type": "number"
  23295. },
  23296. "oriholdamount": {
  23297. "description": "期初持仓额",
  23298. "type": "number"
  23299. },
  23300. "oriholdqty": {
  23301. "description": "期初持仓量",
  23302. "type": "number"
  23303. },
  23304. "oriopenamount": {
  23305. "description": "期初开仓额",
  23306. "type": "number"
  23307. },
  23308. "outergroupcode": {
  23309. "description": "交易品种代码",
  23310. "type": "string"
  23311. },
  23312. "qtydecimalplace": {
  23313. "description": "成交量小数位",
  23314. "type": "integer"
  23315. },
  23316. "reckondate": {
  23317. "description": "日照时期(yyyyMMdd)",
  23318. "type": "string"
  23319. },
  23320. "reckonholdamount": {
  23321. "description": "结算持仓额",
  23322. "type": "number"
  23323. },
  23324. "reckonpl": {
  23325. "description": "结算损益",
  23326. "type": "number"
  23327. },
  23328. "reckonpl2": {
  23329. "description": "结算逐笔盈亏",
  23330. "type": "number"
  23331. },
  23332. "reckonprice": {
  23333. "description": "结算价",
  23334. "type": "number"
  23335. },
  23336. "relateduserid": {
  23337. "description": "账户关联用户ID",
  23338. "type": "integer"
  23339. },
  23340. "todaycloseamount": {
  23341. "description": "今平仓额",
  23342. "type": "number"
  23343. },
  23344. "todaycloseqty": {
  23345. "description": "今平仓量",
  23346. "type": "number"
  23347. },
  23348. "todaygoodsgroupspotqty": {
  23349. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23350. "type": "number"
  23351. },
  23352. "todaymiddlegoodsqty": {
  23353. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23354. "type": "number"
  23355. },
  23356. "todayopenamount": {
  23357. "description": "今开仓额",
  23358. "type": "number"
  23359. },
  23360. "todayopenqty": {
  23361. "description": "今开仓量",
  23362. "type": "number"
  23363. },
  23364. "userid": {
  23365. "description": "账户所属用户ID",
  23366. "type": "integer"
  23367. }
  23368. }
  23369. },
  23370. "models.Ermcp3TradeLinkDetail": {
  23371. "type": "object",
  23372. "properties": {
  23373. "accountid": {
  23374. "description": "资金账号",
  23375. "type": "integer"
  23376. },
  23377. "agreeunit": {
  23378. "description": "合约乘数",
  23379. "type": "number"
  23380. },
  23381. "areauserid": {
  23382. "description": "所属机构",
  23383. "type": "string"
  23384. },
  23385. "bizsubjectid": {
  23386. "description": "归属业务部门ID - SubjectID",
  23387. "type": "string"
  23388. },
  23389. "buyorsell": {
  23390. "description": "方向 - 0:买 1:卖",
  23391. "type": "integer"
  23392. },
  23393. "channelbuildtype": {
  23394. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23395. "type": "integer"
  23396. },
  23397. "contractno": {
  23398. "description": "现货编号 (合同编号)",
  23399. "type": "string"
  23400. },
  23401. "convertratio": {
  23402. "description": "折算系数",
  23403. "type": "number"
  23404. },
  23405. "createtime": {
  23406. "description": "关联时间 | 创建时间",
  23407. "type": "string"
  23408. },
  23409. "creatorid": {
  23410. "description": "创建人ID",
  23411. "type": "string"
  23412. },
  23413. "creatorsrc": {
  23414. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23415. "type": "integer"
  23416. },
  23417. "enumdicname": {
  23418. "description": "单位名称",
  23419. "type": "string"
  23420. },
  23421. "goodscode": {
  23422. "description": "合约代码",
  23423. "type": "string"
  23424. },
  23425. "goodsgroupid": {
  23426. "description": "对冲品种ID[期货合约商品组ID]",
  23427. "type": "integer"
  23428. },
  23429. "goodsid": {
  23430. "description": "商品ID",
  23431. "type": "integer"
  23432. },
  23433. "goodsname": {
  23434. "description": "合约名称",
  23435. "type": "string"
  23436. },
  23437. "hedgeflag": {
  23438. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23439. "type": "integer"
  23440. },
  23441. "linkdetailid": {
  23442. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23443. "type": "string"
  23444. },
  23445. "linkstatus": {
  23446. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23447. "type": "integer"
  23448. },
  23449. "middlegoodscode": {
  23450. "description": "套保品种代码",
  23451. "type": "string"
  23452. },
  23453. "middlegoodsid": {
  23454. "description": "套保品种ID",
  23455. "type": "integer"
  23456. },
  23457. "middlegoodsname": {
  23458. "description": "套保品种名称",
  23459. "type": "string"
  23460. },
  23461. "relatedlot": {
  23462. "description": "关联手数",
  23463. "type": "number"
  23464. },
  23465. "relatedmode": {
  23466. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23467. "type": "integer"
  23468. },
  23469. "relatedqty": {
  23470. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23471. "type": "number"
  23472. },
  23473. "retcode": {
  23474. "description": "返回码",
  23475. "type": "integer"
  23476. },
  23477. "saleuserid": {
  23478. "description": "业务员ID",
  23479. "type": "string"
  23480. },
  23481. "spotcontractid": {
  23482. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23483. "type": "string"
  23484. },
  23485. "taname": {
  23486. "description": "期货账户",
  23487. "type": "string"
  23488. },
  23489. "tradedate": {
  23490. "description": "关联交易日(yyyyMMdd)",
  23491. "type": "string"
  23492. },
  23493. "tradeid": {
  23494. "description": "期货订单号 | 内部成交单ID",
  23495. "type": "string"
  23496. },
  23497. "tradelot": {
  23498. "description": "成交数量 | 成交手数",
  23499. "type": "integer"
  23500. },
  23501. "tradeprice": {
  23502. "description": "成交价格",
  23503. "type": "number"
  23504. },
  23505. "tradetime": {
  23506. "description": "期货成交时间",
  23507. "type": "string"
  23508. },
  23509. "tradetradedate": {
  23510. "description": "成交交易日(yyyyMMdd)",
  23511. "type": "string"
  23512. },
  23513. "username": {
  23514. "description": "用户名称",
  23515. "type": "string"
  23516. }
  23517. }
  23518. },
  23519. "models.Ermcp3Wrstandard": {
  23520. "type": "object",
  23521. "properties": {
  23522. "areauserid": {
  23523. "description": "所属机构",
  23524. "type": "integer"
  23525. },
  23526. "cantrade": {
  23527. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23528. "type": "integer"
  23529. },
  23530. "convertfactor": {
  23531. "description": "标仓系数",
  23532. "type": "number"
  23533. },
  23534. "createtime": {
  23535. "description": "创建时间",
  23536. "type": "string"
  23537. },
  23538. "creatorid": {
  23539. "description": "创建人",
  23540. "type": "integer"
  23541. },
  23542. "deliverygoodsid": {
  23543. "description": "现货品种ID",
  23544. "type": "integer"
  23545. },
  23546. "enumdicname": {
  23547. "description": "品类单位名称",
  23548. "type": "string"
  23549. },
  23550. "isvalid": {
  23551. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23552. "type": "integer"
  23553. },
  23554. "minivalue": {
  23555. "description": "最小变动值",
  23556. "type": "integer"
  23557. },
  23558. "minivaluedp": {
  23559. "description": "最小变动值小数位",
  23560. "type": "integer"
  23561. },
  23562. "realminivalue": {
  23563. "description": "实际最小变动值",
  23564. "type": "integer"
  23565. },
  23566. "realminivaluedp": {
  23567. "description": "实际最小变动值小数位",
  23568. "type": "integer"
  23569. },
  23570. "remark": {
  23571. "description": "备注",
  23572. "type": "string"
  23573. },
  23574. "unitid": {
  23575. "description": "品类单位ID",
  23576. "type": "integer"
  23577. },
  23578. "updatetime": {
  23579. "description": "更新时间",
  23580. "type": "string"
  23581. },
  23582. "wrstandardcode": {
  23583. "description": "品类代码",
  23584. "type": "string"
  23585. },
  23586. "wrstandardid": {
  23587. "description": "品类ID(SEQ_WRSTANDARD)",
  23588. "type": "integer"
  23589. },
  23590. "wrstandardname": {
  23591. "description": "品类名称",
  23592. "type": "string"
  23593. }
  23594. }
  23595. },
  23596. "models.ErmcpBizGroupEx": {
  23597. "type": "object",
  23598. "properties": {
  23599. "acclist": {
  23600. "description": "账号列表",
  23601. "type": "array",
  23602. "items": {
  23603. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23604. }
  23605. },
  23606. "bizgroupid": {
  23607. "description": "业务分组id",
  23608. "type": "integer"
  23609. },
  23610. "biztype": {
  23611. "description": "业务类型 1-套保 2-套利",
  23612. "type": "integer"
  23613. },
  23614. "wrlist": {
  23615. "description": "现货商品表",
  23616. "type": "array",
  23617. "items": {
  23618. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23619. }
  23620. }
  23621. }
  23622. },
  23623. "models.ErmcpBizGroupSpotGoods": {
  23624. "type": "object",
  23625. "properties": {
  23626. "areauserid": {
  23627. "description": "所属机构id",
  23628. "type": "integer"
  23629. },
  23630. "bizgroupid": {
  23631. "description": "分组id",
  23632. "type": "integer"
  23633. },
  23634. "biztype": {
  23635. "description": "业务类型 1-套保 2-套利",
  23636. "type": "integer"
  23637. },
  23638. "deliverygoodscode": {
  23639. "description": "现货商品代码",
  23640. "type": "string"
  23641. },
  23642. "deliverygoodsid": {
  23643. "description": "现货商品id",
  23644. "type": "integer"
  23645. },
  23646. "deliverygoodsname": {
  23647. "description": "现货商品名称",
  23648. "type": "string"
  23649. },
  23650. "unitid": {
  23651. "description": "现货商品单位id",
  23652. "type": "integer"
  23653. }
  23654. }
  23655. },
  23656. "models.ErmcpBizGroupTaAccount": {
  23657. "type": "object",
  23658. "properties": {
  23659. "accountid": {
  23660. "description": "账号id",
  23661. "type": "integer"
  23662. },
  23663. "accountname": {
  23664. "description": "账号名称",
  23665. "type": "string"
  23666. },
  23667. "areauserid": {
  23668. "description": "所属机构id",
  23669. "type": "integer"
  23670. },
  23671. "bizgroupid": {
  23672. "description": "业务分组id",
  23673. "type": "integer"
  23674. },
  23675. "ismain": {
  23676. "description": "是否主账号 1-是 0-否",
  23677. "type": "integer"
  23678. }
  23679. }
  23680. },
  23681. "models.ErmcpDGFactoryItem": {
  23682. "type": "object",
  23683. "properties": {
  23684. "areauserid": {
  23685. "description": "用户id",
  23686. "type": "integer"
  23687. },
  23688. "deliverygoodsid": {
  23689. "description": "现货品种ID",
  23690. "type": "integer"
  23691. },
  23692. "dgfactoryitemid": {
  23693. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23694. "type": "integer"
  23695. },
  23696. "dgfactoryitemtypeid": {
  23697. "description": "要素项类型",
  23698. "type": "integer"
  23699. },
  23700. "dgfactoryitemvalue": {
  23701. "description": "要素项值(类型为仓库时填写仓库名称)",
  23702. "type": "string"
  23703. },
  23704. "isvalid": {
  23705. "description": "是否有效 - 0:无效 1:有效",
  23706. "type": "integer"
  23707. },
  23708. "orderindex": {
  23709. "description": "顺序",
  23710. "type": "integer"
  23711. },
  23712. "warehouseid": {
  23713. "description": "仓库ID(类型为仓库时填写)",
  23714. "type": "integer"
  23715. }
  23716. }
  23717. },
  23718. "models.ErmcpDeliveryGoods": {
  23719. "type": "object",
  23720. "properties": {
  23721. "agreeunit": {
  23722. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23723. "type": "integer"
  23724. },
  23725. "areauserid": {
  23726. "description": "所属机构",
  23727. "type": "integer"
  23728. },
  23729. "auditflag": {
  23730. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23731. "type": "integer"
  23732. },
  23733. "categoryid": {
  23734. "description": "类别ID(SEQ_WRCATEGORY)",
  23735. "type": "integer"
  23736. },
  23737. "deliverygoodscode": {
  23738. "description": "现货品种代码",
  23739. "type": "string"
  23740. },
  23741. "deliverygoodsid": {
  23742. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23743. "type": "integer"
  23744. },
  23745. "deliverygoodsname": {
  23746. "description": "现货品种名称",
  23747. "type": "string"
  23748. },
  23749. "deliverygoodstype": {
  23750. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23751. "type": "integer"
  23752. },
  23753. "dgstatus": {
  23754. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23755. "type": "integer"
  23756. },
  23757. "enumdicname": {
  23758. "description": "现货品种单位名称",
  23759. "type": "string"
  23760. },
  23761. "goodsunitid": {
  23762. "description": "现货品种单位ID",
  23763. "type": "integer"
  23764. },
  23765. "isvalid": {
  23766. "description": "是否有效 - 0:无效 1:有效",
  23767. "type": "integer"
  23768. },
  23769. "qtydecimalplace": {
  23770. "description": "成交量小数位",
  23771. "type": "integer"
  23772. },
  23773. "remark": {
  23774. "description": "备注",
  23775. "type": "string"
  23776. },
  23777. "standardqty": {
  23778. "description": "标准数量(库位数量) [标准品特有]",
  23779. "type": "integer"
  23780. },
  23781. "standardqtyrange": {
  23782. "description": "标准数量偏差范围 [标准品特有]",
  23783. "type": "integer"
  23784. }
  23785. }
  23786. },
  23787. "models.ErmcpFuturesCompany": {
  23788. "type": "object",
  23789. "properties": {
  23790. "brokerid": {
  23791. "description": "经纪公司代码",
  23792. "type": "string"
  23793. },
  23794. "channeladdress": {
  23795. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23796. "type": "string"
  23797. },
  23798. "channelid": {
  23799. "description": "对冲渠道ID",
  23800. "type": "string"
  23801. },
  23802. "createtime": {
  23803. "description": "创建时间",
  23804. "type": "string"
  23805. },
  23806. "creatorid": {
  23807. "description": "创建人",
  23808. "type": "string"
  23809. },
  23810. "fcid": {
  23811. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23812. "type": "integer"
  23813. },
  23814. "fcname": {
  23815. "description": "期货公司名称",
  23816. "type": "string"
  23817. },
  23818. "isvalid": {
  23819. "description": "是否有效 - 0:无效 1:有效",
  23820. "type": "integer"
  23821. },
  23822. "mhpaddress": {
  23823. "description": "MHP服务地址(IP:Port)",
  23824. "type": "string"
  23825. },
  23826. "riskrulegroupid": {
  23827. "description": "风控规则组ID",
  23828. "type": "string"
  23829. },
  23830. "tradefeetmpid": {
  23831. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23832. "type": "string"
  23833. },
  23834. "trademargintmpid": {
  23835. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23836. "type": "string"
  23837. },
  23838. "traderatetmpid": {
  23839. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23840. "type": "string"
  23841. },
  23842. "updatetime": {
  23843. "description": "更新时间",
  23844. "type": "string"
  23845. },
  23846. "updatorid": {
  23847. "description": "更新人",
  23848. "type": "string"
  23849. }
  23850. }
  23851. },
  23852. "models.ErmcpGGConvertCfg": {
  23853. "type": "object",
  23854. "properties": {
  23855. "convertratio": {
  23856. "description": "折算系数",
  23857. "type": "number"
  23858. },
  23859. "destgoodsgroupid": {
  23860. "description": "目标品种ID",
  23861. "type": "integer"
  23862. },
  23863. "dstcode": {
  23864. "description": "目录品种代码",
  23865. "type": "string"
  23866. },
  23867. "dstexchangecode": {
  23868. "description": "目标期货交易所",
  23869. "type": "string"
  23870. },
  23871. "dstname": {
  23872. "description": "目标品种名称",
  23873. "type": "string"
  23874. },
  23875. "dstunitid": {
  23876. "description": "目标品种单位ID",
  23877. "type": "integer"
  23878. },
  23879. "dstunitidname": {
  23880. "description": "目标品种单位名称",
  23881. "type": "string"
  23882. },
  23883. "modifytime": {
  23884. "description": "修改时间",
  23885. "type": "string"
  23886. },
  23887. "srccode": {
  23888. "description": "源品种代码",
  23889. "type": "string"
  23890. },
  23891. "srcexchangecode": {
  23892. "description": "源期货交易所",
  23893. "type": "string"
  23894. },
  23895. "srcgoodsgroupid": {
  23896. "description": "源品种ID",
  23897. "type": "integer"
  23898. },
  23899. "srcname": {
  23900. "description": "源品种名称",
  23901. "type": "string"
  23902. },
  23903. "srcunitid": {
  23904. "description": "源品种单位ID",
  23905. "type": "integer"
  23906. },
  23907. "srcunitidname": {
  23908. "description": "源品种单位名称",
  23909. "type": "string"
  23910. }
  23911. }
  23912. },
  23913. "models.ErmcpGoods": {
  23914. "type": "object",
  23915. "required": [
  23916. "goodscode",
  23917. "goodsid",
  23918. "goodsname",
  23919. "marketid"
  23920. ],
  23921. "properties": {
  23922. "agreeunit": {
  23923. "description": "合约单位",
  23924. "type": "number"
  23925. },
  23926. "areauserid": {
  23927. "description": "所属机构",
  23928. "type": "integer"
  23929. },
  23930. "auditaccountid": {
  23931. "description": "审核操作员账号",
  23932. "type": "integer"
  23933. },
  23934. "audittime": {
  23935. "description": "审核时间",
  23936. "type": "string"
  23937. },
  23938. "cancelaccountid": {
  23939. "description": "注销操作员账号",
  23940. "type": "integer"
  23941. },
  23942. "canceltime": {
  23943. "description": "注销时间",
  23944. "type": "string"
  23945. },
  23946. "closepricemode": {
  23947. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23948. "type": "integer"
  23949. },
  23950. "closepriceparam": {
  23951. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23952. "type": "number"
  23953. },
  23954. "createtime": {
  23955. "description": "创建时间",
  23956. "type": "string"
  23957. },
  23958. "creatorid": {
  23959. "description": "创建人",
  23960. "type": "integer"
  23961. },
  23962. "currencyid": {
  23963. "description": "报价货币ID",
  23964. "type": "integer"
  23965. },
  23966. "cutmode": {
  23967. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23968. "type": "integer"
  23969. },
  23970. "decimalplace": {
  23971. "description": "报价小数位",
  23972. "type": "integer"
  23973. },
  23974. "delistingdate": {
  23975. "description": "商品退市时间(状态:退市) -- 已作废",
  23976. "type": "string"
  23977. },
  23978. "delistingmode": {
  23979. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23980. "type": "integer"
  23981. },
  23982. "deliveryflag": {
  23983. "description": "交割标志 - 0:不可交割 1:可交割",
  23984. "type": "integer"
  23985. },
  23986. "enumdicname": {
  23987. "description": "单位名称",
  23988. "type": "string"
  23989. },
  23990. "forceclosemode": {
  23991. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23992. "type": "integer"
  23993. },
  23994. "forceclosevalue": {
  23995. "description": "定期强平参数 [收益权]",
  23996. "type": "integer"
  23997. },
  23998. "goodscode": {
  23999. "description": "商品代码(内部)",
  24000. "type": "string"
  24001. },
  24002. "goodscurrencyid": {
  24003. "description": "合约货币ID",
  24004. "type": "integer"
  24005. },
  24006. "goodsgroupid": {
  24007. "description": "所属商品组ID",
  24008. "type": "integer"
  24009. },
  24010. "goodsid": {
  24011. "description": "商品ID(自增ID SEQ_GOODS)",
  24012. "type": "integer"
  24013. },
  24014. "goodsname": {
  24015. "description": "商品名称",
  24016. "type": "string"
  24017. },
  24018. "goodsquotetype": {
  24019. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24020. "type": "integer"
  24021. },
  24022. "goodsstatus": {
  24023. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24024. "type": "integer"
  24025. },
  24026. "goodstradetype": {
  24027. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24028. "type": "integer"
  24029. },
  24030. "goodunitid": {
  24031. "description": "报价单位ID",
  24032. "type": "integer"
  24033. },
  24034. "hasquoter": {
  24035. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24036. "type": "integer"
  24037. },
  24038. "hqprotecttime": {
  24039. "description": "行情保护时间(秒)",
  24040. "type": "integer"
  24041. },
  24042. "innerdealmode": {
  24043. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24044. "type": "integer"
  24045. },
  24046. "isbuylimited": {
  24047. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24048. "type": "integer"
  24049. },
  24050. "isvisible": {
  24051. "description": "游客是否可见 - 0:不可见 1:可见",
  24052. "type": "integer"
  24053. },
  24054. "lasttradedate": {
  24055. "description": "最后交易日期(状态:待退市)",
  24056. "type": "string"
  24057. },
  24058. "listingdate": {
  24059. "description": "交易开始日期",
  24060. "type": "string"
  24061. },
  24062. "marketid": {
  24063. "description": "所属市场ID",
  24064. "type": "integer"
  24065. },
  24066. "modifierid": {
  24067. "description": "修改人",
  24068. "type": "integer"
  24069. },
  24070. "modifystatus": {
  24071. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24072. "type": "integer"
  24073. },
  24074. "modifytime": {
  24075. "description": "修改时间",
  24076. "type": "string"
  24077. },
  24078. "outerdealmode": {
  24079. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24080. "type": "integer"
  24081. },
  24082. "outgoodscode": {
  24083. "description": "商品代码(外部)",
  24084. "type": "string"
  24085. },
  24086. "pictureurl": {
  24087. "description": "商品图片",
  24088. "type": "string"
  24089. },
  24090. "qtydecimalplace": {
  24091. "description": "成交量小数位",
  24092. "type": "integer"
  24093. },
  24094. "quotegear": {
  24095. "description": "行情档位(1-10)",
  24096. "type": "integer"
  24097. },
  24098. "quoteminunit": {
  24099. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24100. "type": "integer"
  24101. },
  24102. "quoteshowtype": {
  24103. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24104. "type": "integer"
  24105. },
  24106. "quoteshowtypeinterval": {
  24107. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24108. "type": "integer"
  24109. },
  24110. "relatedgoodsid": {
  24111. "description": "关联参考商品ID",
  24112. "type": "integer"
  24113. },
  24114. "remark": {
  24115. "description": "备注",
  24116. "type": "string"
  24117. },
  24118. "trademode": {
  24119. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24120. "type": "integer"
  24121. }
  24122. }
  24123. },
  24124. "models.ErmcpGoodsBrand": {
  24125. "type": "object",
  24126. "properties": {
  24127. "areauserid": {
  24128. "description": "所属机构",
  24129. "type": "integer"
  24130. },
  24131. "brandid": {
  24132. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24133. "type": "integer"
  24134. },
  24135. "brandname": {
  24136. "description": "品牌名称",
  24137. "type": "string"
  24138. },
  24139. "createtime": {
  24140. "description": "创建时间",
  24141. "type": "string"
  24142. },
  24143. "creatorid": {
  24144. "description": "创建人",
  24145. "type": "integer"
  24146. },
  24147. "creatorsrc": {
  24148. "description": "创建人来源 - 1:管理端 2:终端",
  24149. "type": "integer"
  24150. },
  24151. "deliverygoodsid": {
  24152. "description": "现货品种ID",
  24153. "type": "integer"
  24154. },
  24155. "isvalid": {
  24156. "description": "是否有效 - 0:无效 1:有效",
  24157. "type": "integer"
  24158. },
  24159. "updatetime": {
  24160. "description": "更新时间",
  24161. "type": "string"
  24162. },
  24163. "updatorid": {
  24164. "description": "更新人",
  24165. "type": "integer"
  24166. },
  24167. "updatorsrc": {
  24168. "description": "更新人来源 - 1:管理端 2:终端",
  24169. "type": "integer"
  24170. },
  24171. "wrstandardid": {
  24172. "description": "现货商品ID",
  24173. "type": "integer"
  24174. }
  24175. }
  24176. },
  24177. "models.ErmcpGoodsModel": {
  24178. "type": "object",
  24179. "properties": {
  24180. "areauserid": {
  24181. "description": "所属机构",
  24182. "type": "integer"
  24183. },
  24184. "convertfactor": {
  24185. "description": "标仓系数",
  24186. "type": "number"
  24187. },
  24188. "createtime": {
  24189. "description": "创建时间",
  24190. "type": "string"
  24191. },
  24192. "creatorid": {
  24193. "description": "创建人",
  24194. "type": "integer"
  24195. },
  24196. "creatorsrc": {
  24197. "description": "创建人来源 - 1:管理端 2:终端",
  24198. "type": "integer"
  24199. },
  24200. "deliverygoodsid": {
  24201. "description": "现货品种ID",
  24202. "type": "integer"
  24203. },
  24204. "isvalid": {
  24205. "description": "是否有效 - 0:无效 1:有效",
  24206. "type": "integer"
  24207. },
  24208. "modelid": {
  24209. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24210. "type": "integer"
  24211. },
  24212. "modelname": {
  24213. "description": "型号名称",
  24214. "type": "string"
  24215. },
  24216. "updatetime": {
  24217. "description": "更新时间",
  24218. "type": "string"
  24219. },
  24220. "updatorid": {
  24221. "description": "更新人",
  24222. "type": "integer"
  24223. },
  24224. "updatorsrc": {
  24225. "description": "更新人来源 - 1:管理端 2:终端",
  24226. "type": "integer"
  24227. },
  24228. "wrstandardid": {
  24229. "description": "现货商品ID",
  24230. "type": "integer"
  24231. }
  24232. }
  24233. },
  24234. "models.ErmcpHisExposure": {
  24235. "type": "object",
  24236. "properties": {
  24237. "needhedgeexposoure": {
  24238. "description": "应套保敞口",
  24239. "type": "number"
  24240. },
  24241. "reckondate": {
  24242. "description": "日照时期(yyyyMMdd)",
  24243. "type": "string"
  24244. },
  24245. "totalexposure": {
  24246. "description": "总敞口",
  24247. "type": "number"
  24248. }
  24249. }
  24250. },
  24251. "models.ErmcpLoginTaAccount": {
  24252. "type": "object",
  24253. "properties": {
  24254. "accountid": {
  24255. "description": "账号id",
  24256. "type": "integer"
  24257. },
  24258. "accountname": {
  24259. "description": "账号名称",
  24260. "type": "string"
  24261. }
  24262. }
  24263. },
  24264. "models.ErmcpLoginUser": {
  24265. "type": "object",
  24266. "properties": {
  24267. "acclist": {
  24268. "description": "关联资金账号",
  24269. "type": "array",
  24270. "items": {
  24271. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24272. }
  24273. },
  24274. "accountname": {
  24275. "description": "用户名称",
  24276. "type": "string"
  24277. },
  24278. "clientroleid": {
  24279. "description": "角色id(usertype=2)",
  24280. "type": "integer"
  24281. },
  24282. "createtime": {
  24283. "description": "创建时间",
  24284. "type": "string"
  24285. },
  24286. "logincode": {
  24287. "description": "登录代码",
  24288. "type": "string"
  24289. },
  24290. "loginid": {
  24291. "description": "登录id(LOGINID)",
  24292. "type": "integer"
  24293. },
  24294. "loginname": {
  24295. "description": "登录名称(loginaccount表中的accountname字段)",
  24296. "type": "string"
  24297. },
  24298. "loginstatus": {
  24299. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24300. "type": "integer"
  24301. },
  24302. "memberuserid": {
  24303. "description": "所属会员id",
  24304. "type": "integer"
  24305. },
  24306. "mobile": {
  24307. "description": "手机号",
  24308. "type": "string"
  24309. },
  24310. "modifytime": {
  24311. "description": "修改时间",
  24312. "type": "string"
  24313. },
  24314. "password": {
  24315. "description": "密码(不可解密)",
  24316. "type": "string"
  24317. },
  24318. "rolename": {
  24319. "description": "角色名称",
  24320. "type": "string"
  24321. },
  24322. "rolestatus": {
  24323. "description": "角色状态 1-启用 2-停用",
  24324. "type": "integer"
  24325. },
  24326. "roletype": {
  24327. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24328. "type": "string"
  24329. },
  24330. "userid": {
  24331. "description": "用户id",
  24332. "type": "integer"
  24333. },
  24334. "usertype": {
  24335. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24336. "type": "integer"
  24337. }
  24338. }
  24339. },
  24340. "models.ErmcpLoginUserEx": {
  24341. "type": "object",
  24342. "properties": {
  24343. "accountstatus": {
  24344. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24345. "type": "integer"
  24346. },
  24347. "mobile": {
  24348. "description": "手机号",
  24349. "type": "string"
  24350. },
  24351. "querytype": {
  24352. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24353. "type": "integer"
  24354. },
  24355. "roleid": {
  24356. "description": "角色id(交易账户-\u003e用户id)",
  24357. "type": "integer"
  24358. },
  24359. "rolename": {
  24360. "description": "角色名称(交易账户-\u003e用户名称)",
  24361. "type": "string"
  24362. },
  24363. "userlist": {
  24364. "description": "用户列表",
  24365. "type": "array",
  24366. "items": {
  24367. "$ref": "#/definitions/models.ErmcpLoginUser"
  24368. }
  24369. },
  24370. "usertype": {
  24371. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24372. "type": "integer"
  24373. }
  24374. }
  24375. },
  24376. "models.ErmcpMiddleGoodsModel": {
  24377. "type": "object",
  24378. "properties": {
  24379. "areauserid": {
  24380. "description": "机构用户ID",
  24381. "type": "integer"
  24382. },
  24383. "createtime": {
  24384. "description": "修改时间",
  24385. "type": "string"
  24386. },
  24387. "enumdicname": {
  24388. "description": "单位名称",
  24389. "type": "string"
  24390. },
  24391. "evaluateratio": {
  24392. "description": "估价系数",
  24393. "type": "number"
  24394. },
  24395. "goodsgroupid": {
  24396. "description": "关联期货品种ID",
  24397. "type": "integer"
  24398. },
  24399. "goodsunitid": {
  24400. "description": "单位ID",
  24401. "type": "integer"
  24402. },
  24403. "isvalid": {
  24404. "description": "状态 0-无效(停用) 1-有效(正常)",
  24405. "type": "integer"
  24406. },
  24407. "middlegoodscode": {
  24408. "description": "套保品种代码",
  24409. "type": "string"
  24410. },
  24411. "middlegoodsid": {
  24412. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24413. "type": "integer"
  24414. },
  24415. "middlegoodsname": {
  24416. "description": "套保品种名称",
  24417. "type": "string"
  24418. },
  24419. "modifytime": {
  24420. "description": "修改时间",
  24421. "type": "string"
  24422. },
  24423. "needarbitrageratio": {
  24424. "description": "套利比例",
  24425. "type": "number"
  24426. },
  24427. "needhedgeratio": {
  24428. "description": "套保比率",
  24429. "type": "number"
  24430. },
  24431. "qtydecimalplace": {
  24432. "description": "数量小数位",
  24433. "type": "integer"
  24434. },
  24435. "relatedgoodsid": {
  24436. "description": "关联交易商品ID",
  24437. "type": "integer"
  24438. },
  24439. "relatedgoodstype": {
  24440. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24441. "type": "integer"
  24442. },
  24443. "remark": {
  24444. "description": "备注",
  24445. "type": "string"
  24446. }
  24447. }
  24448. },
  24449. "models.ErmcpMiddlegoodsRelateGoods": {
  24450. "type": "object",
  24451. "properties": {
  24452. "agreeunit": {
  24453. "description": "合约乘数",
  24454. "type": "number"
  24455. },
  24456. "convertratio": {
  24457. "description": "折算系数",
  24458. "type": "number"
  24459. },
  24460. "enumdicname": {
  24461. "description": "单位名称(交易商品)",
  24462. "type": "string"
  24463. },
  24464. "goodscode": {
  24465. "description": "交易商品代码",
  24466. "type": "string"
  24467. },
  24468. "goodsgroupid": {
  24469. "description": "交易品种id",
  24470. "type": "integer"
  24471. },
  24472. "goodsid": {
  24473. "description": "商品Id",
  24474. "type": "integer"
  24475. },
  24476. "goodsname": {
  24477. "description": "交易商品名称",
  24478. "type": "string"
  24479. },
  24480. "goodunitid": {
  24481. "description": "交易商品单位id",
  24482. "type": "integer"
  24483. },
  24484. "middlegoodsid": {
  24485. "description": "套保商品id",
  24486. "type": "integer"
  24487. },
  24488. "middlegoodsname": {
  24489. "description": "套保商品名称",
  24490. "type": "string"
  24491. },
  24492. "middlegoodsswcode": {
  24493. "description": "套保商品代码",
  24494. "type": "string"
  24495. },
  24496. "needarbitrageratio": {
  24497. "description": "应套利比例",
  24498. "type": "number"
  24499. },
  24500. "needhedgeratio": {
  24501. "description": "应套保比例",
  24502. "type": "number"
  24503. }
  24504. }
  24505. },
  24506. "models.ErmcpRole": {
  24507. "type": "object",
  24508. "properties": {
  24509. "areauserid": {
  24510. "description": "所属机构",
  24511. "type": "integer"
  24512. },
  24513. "autoid": {
  24514. "description": "角色ID(自增ID)",
  24515. "type": "integer"
  24516. },
  24517. "modifierid": {
  24518. "description": "修改人(创建人)",
  24519. "type": "integer"
  24520. },
  24521. "modifiername": {
  24522. "description": "修改人名称",
  24523. "type": "string"
  24524. },
  24525. "modifytime": {
  24526. "description": "修改时间(创建时间)",
  24527. "type": "string"
  24528. },
  24529. "rolename": {
  24530. "description": "角色名称",
  24531. "type": "string"
  24532. },
  24533. "rolestatus": {
  24534. "description": "角色状态 - 1:启用 2:停用",
  24535. "type": "integer"
  24536. },
  24537. "roletype": {
  24538. "description": "角色类型 - 1- 管理端 2- 交易端",
  24539. "type": "integer"
  24540. }
  24541. }
  24542. },
  24543. "models.ErmcpRoleMenu": {
  24544. "type": "object",
  24545. "properties": {
  24546. "iconame": {
  24547. "description": "菜单图标",
  24548. "type": "string"
  24549. },
  24550. "ishadrole": {
  24551. "description": "是否有权限",
  24552. "type": "boolean"
  24553. },
  24554. "menutype": {
  24555. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24556. "type": "integer"
  24557. },
  24558. "parentcode": {
  24559. "description": "上级资源代码",
  24560. "type": "string"
  24561. },
  24562. "remark": {
  24563. "description": "菜单备注",
  24564. "type": "string"
  24565. },
  24566. "resourcecode": {
  24567. "description": "菜单代码",
  24568. "type": "string"
  24569. },
  24570. "resourcelevel": {
  24571. "description": "级别",
  24572. "type": "integer"
  24573. },
  24574. "resourcename": {
  24575. "description": "菜单名称",
  24576. "type": "string"
  24577. },
  24578. "roleid": {
  24579. "description": "角色id",
  24580. "type": "integer"
  24581. },
  24582. "sort": {
  24583. "description": "排序",
  24584. "type": "integer"
  24585. },
  24586. "url": {
  24587. "description": "URL",
  24588. "type": "string"
  24589. },
  24590. "userid": {
  24591. "description": "用户id",
  24592. "type": "integer"
  24593. }
  24594. }
  24595. },
  24596. "models.ErmcpRoleMenuEx": {
  24597. "type": "object",
  24598. "properties": {
  24599. "menu": {
  24600. "description": "父级菜单",
  24601. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24602. },
  24603. "subMenu": {
  24604. "description": "子级菜单",
  24605. "type": "array",
  24606. "items": {
  24607. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24608. }
  24609. }
  24610. }
  24611. },
  24612. "models.ErmcpTaAccount": {
  24613. "type": "object",
  24614. "properties": {
  24615. "accountid": {
  24616. "description": "账户id",
  24617. "type": "integer"
  24618. },
  24619. "accountname": {
  24620. "description": "账户名称",
  24621. "type": "string"
  24622. },
  24623. "currencyid": {
  24624. "description": "币种id",
  24625. "type": "integer"
  24626. },
  24627. "hedgeaccountcode": {
  24628. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24629. "type": "string"
  24630. },
  24631. "ismain": {
  24632. "description": "是否主账户 0-否 1-是",
  24633. "type": "integer"
  24634. },
  24635. "parentaccountid": {
  24636. "description": "父账户id",
  24637. "type": "integer"
  24638. },
  24639. "relateduserid": {
  24640. "description": "关联userid",
  24641. "type": "integer"
  24642. },
  24643. "tradefeetmpid": {
  24644. "description": "手续费模板id",
  24645. "type": "integer"
  24646. },
  24647. "tradefeetmpname": {
  24648. "description": "手续费模板名称",
  24649. "type": "string"
  24650. },
  24651. "trademargintmpid": {
  24652. "description": "保证金模板id",
  24653. "type": "integer"
  24654. },
  24655. "trademargintmpname": {
  24656. "description": "保证金模板名称",
  24657. "type": "string"
  24658. },
  24659. "traderatetmpid": {
  24660. "description": "汇率模板id",
  24661. "type": "integer"
  24662. },
  24663. "traderatetmpname": {
  24664. "description": "汇率模板名称",
  24665. "type": "string"
  24666. },
  24667. "tradestatus": {
  24668. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24669. "type": "integer"
  24670. },
  24671. "userid": {
  24672. "description": "用户id",
  24673. "type": "integer"
  24674. }
  24675. }
  24676. },
  24677. "models.ErmcpTaAccountEx": {
  24678. "type": "object",
  24679. "properties": {
  24680. "mainAcc": {
  24681. "description": "主账号",
  24682. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24683. },
  24684. "subacclist": {
  24685. "description": "子账号列表",
  24686. "type": "array",
  24687. "items": {
  24688. "$ref": "#/definitions/models.ErmcpTaAccount"
  24689. }
  24690. }
  24691. }
  24692. },
  24693. "models.ErmcpTaAccountInfo": {
  24694. "type": "object",
  24695. "properties": {
  24696. "accountid": {
  24697. "description": "资金账户ID",
  24698. "type": "integer"
  24699. },
  24700. "accountname": {
  24701. "description": "账户名称",
  24702. "type": "string"
  24703. },
  24704. "balance": {
  24705. "description": "期初余额",
  24706. "type": "number"
  24707. },
  24708. "capitalbalance": {
  24709. "description": "本金余额[外部子账户实际出入金余额]",
  24710. "type": "number"
  24711. },
  24712. "closepl": {
  24713. "description": "今日平仓盈亏",
  24714. "type": "number"
  24715. },
  24716. "creditdecrease": {
  24717. "description": "今日授信减少",
  24718. "type": "number"
  24719. },
  24720. "creditincrease": {
  24721. "description": "今日授信增加",
  24722. "type": "number"
  24723. },
  24724. "curdebt": {
  24725. "description": "期末欠款",
  24726. "type": "number"
  24727. },
  24728. "currencyid": {
  24729. "description": "货币ID",
  24730. "type": "integer"
  24731. },
  24732. "currentbalance": {
  24733. "description": "期末余额",
  24734. "type": "number"
  24735. },
  24736. "freezecharge": {
  24737. "description": "手续费冻结",
  24738. "type": "number"
  24739. },
  24740. "freezemargin": {
  24741. "description": "冻结保证金",
  24742. "type": "number"
  24743. },
  24744. "fromaccountid": {
  24745. "description": "所属上级账户",
  24746. "type": "integer"
  24747. },
  24748. "inamount": {
  24749. "description": "今日入金金额(包括三方入金)",
  24750. "type": "number"
  24751. },
  24752. "ismain": {
  24753. "description": "是否母账号 0:不是母账户 1:是母账户",
  24754. "type": "integer"
  24755. },
  24756. "mortgagecredit": {
  24757. "description": "授信金额",
  24758. "type": "number"
  24759. },
  24760. "oridebt": {
  24761. "description": "期初欠款",
  24762. "type": "number"
  24763. },
  24764. "orifreezecharge": {
  24765. "description": "期初手续费冻结",
  24766. "type": "number"
  24767. },
  24768. "orifreezemargin": {
  24769. "description": "期初冻结保证金",
  24770. "type": "number"
  24771. },
  24772. "orimortgagecredit": {
  24773. "description": "期初授信金额",
  24774. "type": "number"
  24775. },
  24776. "oriothercredit": {
  24777. "description": "期初其它授信金额",
  24778. "type": "number"
  24779. },
  24780. "oriotherfreezemargin": {
  24781. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24782. "type": "number"
  24783. },
  24784. "orioutamountfreeze": {
  24785. "description": "期初出金冻结",
  24786. "type": "number"
  24787. },
  24788. "oriusedmargin": {
  24789. "description": "期初占用保证金",
  24790. "type": "number"
  24791. },
  24792. "othercredit": {
  24793. "description": "其它授信金额",
  24794. "type": "number"
  24795. },
  24796. "othercreditdecrease": {
  24797. "description": "今日其它授信减少",
  24798. "type": "number"
  24799. },
  24800. "othercreditincrease": {
  24801. "description": "今日其它授信增加",
  24802. "type": "number"
  24803. },
  24804. "otherfreezemargin": {
  24805. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24806. "type": "number"
  24807. },
  24808. "outamount": {
  24809. "description": "今日出金金额(包括三方出金)",
  24810. "type": "number"
  24811. },
  24812. "outamountfreeze": {
  24813. "description": "出金冻结",
  24814. "type": "number"
  24815. },
  24816. "outthreshold": {
  24817. "description": "出金阈值",
  24818. "type": "number"
  24819. },
  24820. "parentaccountid": {
  24821. "description": "所属根账号",
  24822. "type": "integer"
  24823. },
  24824. "paycharge": {
  24825. "description": "今日手续费支出",
  24826. "type": "number"
  24827. },
  24828. "relateduserid": {
  24829. "description": "关联用户",
  24830. "type": "integer"
  24831. },
  24832. "signstatus": {
  24833. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24834. "type": "integer"
  24835. },
  24836. "sublevelpath": {
  24837. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24838. "type": "string"
  24839. },
  24840. "taaccounttype": {
  24841. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24842. "type": "integer"
  24843. },
  24844. "thirdinamount": {
  24845. "description": "今日三方入金",
  24846. "type": "number"
  24847. },
  24848. "thirdoutamount": {
  24849. "description": "今日三方出金",
  24850. "type": "number"
  24851. },
  24852. "tradestatus": {
  24853. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24854. "type": "integer"
  24855. },
  24856. "transferamount": {
  24857. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24858. "type": "number"
  24859. },
  24860. "usedmargin": {
  24861. "description": "占用保证金",
  24862. "type": "number"
  24863. },
  24864. "userid": {
  24865. "description": "用户ID",
  24866. "type": "integer"
  24867. }
  24868. }
  24869. },
  24870. "models.ErmcpTaAccountM": {
  24871. "type": "object",
  24872. "properties": {
  24873. "accountid": {
  24874. "description": "账户id",
  24875. "type": "integer"
  24876. },
  24877. "accountname": {
  24878. "description": "账户名称",
  24879. "type": "string"
  24880. },
  24881. "currencyid": {
  24882. "description": "币种id",
  24883. "type": "integer"
  24884. },
  24885. "fcid": {
  24886. "description": "期货公司id",
  24887. "type": "integer"
  24888. },
  24889. "fcname": {
  24890. "description": "期货公司代码",
  24891. "type": "string"
  24892. },
  24893. "hedgeaccountcode": {
  24894. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24895. "type": "string"
  24896. },
  24897. "ismain": {
  24898. "description": "是否主账户 0-否 1-是",
  24899. "type": "integer"
  24900. },
  24901. "parentaccountid": {
  24902. "description": "父账户id",
  24903. "type": "integer"
  24904. },
  24905. "relateduserid": {
  24906. "description": "关联userid",
  24907. "type": "integer"
  24908. },
  24909. "tradefeetmpid": {
  24910. "description": "手续费模板id",
  24911. "type": "integer"
  24912. },
  24913. "tradefeetmpname": {
  24914. "description": "手续费模板名称",
  24915. "type": "string"
  24916. },
  24917. "trademargintmpid": {
  24918. "description": "保证金模板id",
  24919. "type": "integer"
  24920. },
  24921. "trademargintmpname": {
  24922. "description": "保证金模板名称",
  24923. "type": "string"
  24924. },
  24925. "traderatetmpid": {
  24926. "description": "汇率模板id",
  24927. "type": "integer"
  24928. },
  24929. "traderatetmpname": {
  24930. "description": "汇率模板名称",
  24931. "type": "string"
  24932. },
  24933. "tradestatus": {
  24934. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24935. "type": "integer"
  24936. },
  24937. "userid": {
  24938. "description": "用户id",
  24939. "type": "integer"
  24940. }
  24941. }
  24942. },
  24943. "models.ErmcpTradeConfigTMP": {
  24944. "type": "object",
  24945. "properties": {
  24946. "areauserid": {
  24947. "description": "所属机构",
  24948. "type": "integer"
  24949. },
  24950. "basiccurrencyid": {
  24951. "description": "基本币种ID[汇率] - 目标币种",
  24952. "type": "integer"
  24953. },
  24954. "mainaccountid": {
  24955. "description": "主账户ID",
  24956. "type": "integer"
  24957. },
  24958. "modifierid": {
  24959. "description": "修改人",
  24960. "type": "integer"
  24961. },
  24962. "remark": {
  24963. "description": "备注",
  24964. "type": "string"
  24965. },
  24966. "tradeconfigtmpid": {
  24967. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24968. "type": "integer"
  24969. },
  24970. "tradeconfigtmpname": {
  24971. "description": "交易配置模板名称",
  24972. "type": "string"
  24973. },
  24974. "tradeconfigtmptype": {
  24975. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24976. "type": "integer"
  24977. },
  24978. "updatetime": {
  24979. "description": "更新时间",
  24980. "type": "string"
  24981. }
  24982. }
  24983. },
  24984. "models.Externalexchange": {
  24985. "type": "object",
  24986. "required": [
  24987. "autoid"
  24988. ],
  24989. "properties": {
  24990. "autoid": {
  24991. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24992. "type": "integer"
  24993. },
  24994. "exchangefullname": {
  24995. "description": "外部交易所全称",
  24996. "type": "string"
  24997. },
  24998. "exexchangecode": {
  24999. "description": "外部交易所代码",
  25000. "type": "string"
  25001. },
  25002. "exexchangename": {
  25003. "description": "外部交易所名称(简称)",
  25004. "type": "string"
  25005. },
  25006. "ismarketprice": {
  25007. "description": "是否支持市价 - 0:不支持 1:支持",
  25008. "type": "integer"
  25009. },
  25010. "quotegear": {
  25011. "description": "行情档位(1-10)",
  25012. "type": "integer"
  25013. },
  25014. "showbrokerflag": {
  25015. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25016. "type": "integer"
  25017. },
  25018. "updatetime": {
  25019. "description": "更新时间",
  25020. "type": "string"
  25021. }
  25022. }
  25023. },
  25024. "models.Funcmenulist": {
  25025. "type": "object",
  25026. "required": [
  25027. "resourcecode"
  25028. ],
  25029. "properties": {
  25030. "iconame": {
  25031. "description": "菜单图标",
  25032. "type": "string"
  25033. },
  25034. "menutype": {
  25035. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25036. "type": "integer"
  25037. },
  25038. "parentcode": {
  25039. "description": "上级资源代码",
  25040. "type": "string"
  25041. },
  25042. "remark": {
  25043. "description": "备注",
  25044. "type": "string"
  25045. },
  25046. "resourcecode": {
  25047. "description": "资源代码",
  25048. "type": "string"
  25049. },
  25050. "resourcelevel": {
  25051. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25052. "type": "integer"
  25053. },
  25054. "resourcename": {
  25055. "description": "资源名",
  25056. "type": "string"
  25057. },
  25058. "sort": {
  25059. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25060. "type": "integer"
  25061. },
  25062. "url": {
  25063. "description": "URL",
  25064. "type": "string"
  25065. }
  25066. }
  25067. },
  25068. "models.Goods": {
  25069. "type": "object",
  25070. "required": [
  25071. "goodscode",
  25072. "goodsid",
  25073. "goodsname",
  25074. "marketid"
  25075. ],
  25076. "properties": {
  25077. "agreeunit": {
  25078. "description": "合约单位",
  25079. "type": "number"
  25080. },
  25081. "areauserid": {
  25082. "description": "所属机构",
  25083. "type": "integer"
  25084. },
  25085. "auditaccountid": {
  25086. "description": "审核操作员账号",
  25087. "type": "integer"
  25088. },
  25089. "audittime": {
  25090. "description": "审核时间",
  25091. "type": "string"
  25092. },
  25093. "cancelaccountid": {
  25094. "description": "注销操作员账号",
  25095. "type": "integer"
  25096. },
  25097. "canceltime": {
  25098. "description": "注销时间",
  25099. "type": "string"
  25100. },
  25101. "closepricemode": {
  25102. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25103. "type": "integer"
  25104. },
  25105. "closepriceparam": {
  25106. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25107. "type": "number"
  25108. },
  25109. "createtime": {
  25110. "description": "创建时间",
  25111. "type": "string"
  25112. },
  25113. "creatorid": {
  25114. "description": "创建人",
  25115. "type": "integer"
  25116. },
  25117. "currencyid": {
  25118. "description": "报价货币ID",
  25119. "type": "integer"
  25120. },
  25121. "cutmode": {
  25122. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25123. "type": "integer"
  25124. },
  25125. "decimalplace": {
  25126. "description": "报价小数位",
  25127. "type": "integer"
  25128. },
  25129. "delistingdate": {
  25130. "description": "商品退市时间(状态:退市) -- 已作废",
  25131. "type": "string"
  25132. },
  25133. "delistingmode": {
  25134. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25135. "type": "integer"
  25136. },
  25137. "deliveryflag": {
  25138. "description": "交割标志 - 0:不可交割 1:可交割",
  25139. "type": "integer"
  25140. },
  25141. "forceclosemode": {
  25142. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25143. "type": "integer"
  25144. },
  25145. "forceclosevalue": {
  25146. "description": "定期强平参数 [收益权]",
  25147. "type": "integer"
  25148. },
  25149. "goodscode": {
  25150. "description": "商品代码(内部)",
  25151. "type": "string"
  25152. },
  25153. "goodscurrencyid": {
  25154. "description": "合约货币ID",
  25155. "type": "integer"
  25156. },
  25157. "goodsgroupid": {
  25158. "description": "所属商品组ID",
  25159. "type": "integer"
  25160. },
  25161. "goodsid": {
  25162. "description": "商品ID(自增ID SEQ_GOODS)",
  25163. "type": "integer"
  25164. },
  25165. "goodsname": {
  25166. "description": "商品名称",
  25167. "type": "string"
  25168. },
  25169. "goodsquotetype": {
  25170. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25171. "type": "integer"
  25172. },
  25173. "goodsstatus": {
  25174. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25175. "type": "integer"
  25176. },
  25177. "goodstradetype": {
  25178. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25179. "type": "integer"
  25180. },
  25181. "goodunitid": {
  25182. "description": "报价单位ID",
  25183. "type": "integer"
  25184. },
  25185. "hasquoter": {
  25186. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25187. "type": "integer"
  25188. },
  25189. "hqprotecttime": {
  25190. "description": "行情保护时间(秒)",
  25191. "type": "integer"
  25192. },
  25193. "innerdealmode": {
  25194. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25195. "type": "integer"
  25196. },
  25197. "isbuylimited": {
  25198. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25199. "type": "integer"
  25200. },
  25201. "isvisible": {
  25202. "description": "游客是否可见 - 0:不可见 1:可见",
  25203. "type": "integer"
  25204. },
  25205. "lasttradedate": {
  25206. "description": "最后交易日期(状态:待退市)",
  25207. "type": "string"
  25208. },
  25209. "listingdate": {
  25210. "description": "交易开始日期",
  25211. "type": "string"
  25212. },
  25213. "marketid": {
  25214. "description": "所属市场ID",
  25215. "type": "integer"
  25216. },
  25217. "modifierid": {
  25218. "description": "修改人",
  25219. "type": "integer"
  25220. },
  25221. "modifystatus": {
  25222. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25223. "type": "integer"
  25224. },
  25225. "modifytime": {
  25226. "description": "修改时间",
  25227. "type": "string"
  25228. },
  25229. "outerdealmode": {
  25230. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25231. "type": "integer"
  25232. },
  25233. "outgoodscode": {
  25234. "description": "商品代码(外部)",
  25235. "type": "string"
  25236. },
  25237. "pictureurl": {
  25238. "description": "商品图片",
  25239. "type": "string"
  25240. },
  25241. "qtydecimalplace": {
  25242. "description": "成交量小数位",
  25243. "type": "integer"
  25244. },
  25245. "quotegear": {
  25246. "description": "行情档位(1-10)",
  25247. "type": "integer"
  25248. },
  25249. "quoteminunit": {
  25250. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25251. "type": "integer"
  25252. },
  25253. "quoteshowtype": {
  25254. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25255. "type": "integer"
  25256. },
  25257. "quoteshowtypeinterval": {
  25258. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25259. "type": "integer"
  25260. },
  25261. "remark": {
  25262. "description": "备注",
  25263. "type": "string"
  25264. }
  25265. }
  25266. },
  25267. "models.GoodsIDAndName": {
  25268. "type": "object",
  25269. "required": [
  25270. "goodscode",
  25271. "goodsid",
  25272. "goodsname",
  25273. "marketid"
  25274. ],
  25275. "properties": {
  25276. "goodscode": {
  25277. "description": "商品代码(内部)",
  25278. "type": "string"
  25279. },
  25280. "goodsid": {
  25281. "description": "商品ID(自增ID SEQ_GOODS)",
  25282. "type": "integer"
  25283. },
  25284. "goodsname": {
  25285. "description": "商品名称",
  25286. "type": "string"
  25287. },
  25288. "marketid": {
  25289. "description": "所属市场ID",
  25290. "type": "integer"
  25291. }
  25292. }
  25293. },
  25294. "models.Goodsgroup": {
  25295. "type": "object",
  25296. "required": [
  25297. "goodsgroupid",
  25298. "goodsgroupname",
  25299. "goodsgroupstatus",
  25300. "marketid"
  25301. ],
  25302. "properties": {
  25303. "agreeunit": {
  25304. "description": "合约单位",
  25305. "type": "number"
  25306. },
  25307. "canshort": {
  25308. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25309. "type": "integer"
  25310. },
  25311. "closepricemode": {
  25312. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25313. "type": "integer"
  25314. },
  25315. "closepriceparam": {
  25316. "description": "强平最新价浮动比例 - 方式为2时使用",
  25317. "type": "number"
  25318. },
  25319. "createtime": {
  25320. "description": "创建时间",
  25321. "type": "string"
  25322. },
  25323. "creatorid": {
  25324. "description": "创建人",
  25325. "type": "integer"
  25326. },
  25327. "currencyid": {
  25328. "description": "报价货币ID",
  25329. "type": "integer"
  25330. },
  25331. "decimalplace": {
  25332. "description": "报价小数位",
  25333. "type": "integer"
  25334. },
  25335. "exercisetype": {
  25336. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25337. "type": "integer"
  25338. },
  25339. "exexchangeid": {
  25340. "description": "外部交易所ID[通道交易]",
  25341. "type": "integer"
  25342. },
  25343. "goodsgroupid": {
  25344. "description": "商品组ID(自增ID)",
  25345. "type": "integer"
  25346. },
  25347. "goodsgroupname": {
  25348. "description": "商品组名称",
  25349. "type": "string"
  25350. },
  25351. "goodsgroupstatus": {
  25352. "description": "商品组状态 - 1:正常 2:注销",
  25353. "type": "integer"
  25354. },
  25355. "goodunitid": {
  25356. "description": "报价单位ID",
  25357. "type": "integer"
  25358. },
  25359. "innerdealmode": {
  25360. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25361. "type": "integer"
  25362. },
  25363. "isbuylimited": {
  25364. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25365. "type": "integer"
  25366. },
  25367. "marketid": {
  25368. "description": "所属市场ID",
  25369. "type": "integer"
  25370. },
  25371. "modifierid": {
  25372. "description": "修改人",
  25373. "type": "integer"
  25374. },
  25375. "modifytime": {
  25376. "description": "修改时间",
  25377. "type": "string"
  25378. },
  25379. "outerdealmode": {
  25380. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25381. "type": "integer"
  25382. },
  25383. "outergroupcode": {
  25384. "description": "外部商品组代码[通道交易]",
  25385. "type": "string"
  25386. },
  25387. "premiumdecimalplace": {
  25388. "description": "权利金小数位[场外期权]",
  25389. "type": "integer"
  25390. },
  25391. "premiumspreadalgorithm": {
  25392. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25393. "type": "integer"
  25394. },
  25395. "premiumspreadvalue": {
  25396. "description": "权利金点差值[场外期权]",
  25397. "type": "number"
  25398. },
  25399. "qtydecimalplace": {
  25400. "description": "成交量小数位",
  25401. "type": "integer"
  25402. },
  25403. "quotegear": {
  25404. "description": "行情档位(1-10)",
  25405. "type": "integer"
  25406. },
  25407. "quoteminunit": {
  25408. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25409. "type": "integer"
  25410. },
  25411. "quoterid": {
  25412. "description": "报价商ID[场外期权]",
  25413. "type": "integer"
  25414. },
  25415. "quotesourcegroupid": {
  25416. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25417. "type": "integer"
  25418. },
  25419. "syncgoodsqty": {
  25420. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25421. "type": "integer"
  25422. }
  25423. }
  25424. },
  25425. "models.Goodssortbypreposition": {
  25426. "type": "object",
  25427. "required": [
  25428. "goodscode",
  25429. "tradedate"
  25430. ],
  25431. "properties": {
  25432. "goodscode": {
  25433. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25434. "type": "string"
  25435. },
  25436. "goodsgroupcode": {
  25437. "description": "品种代码",
  25438. "type": "string"
  25439. },
  25440. "prepositionqty": {
  25441. "description": "昨持仓量",
  25442. "type": "integer"
  25443. },
  25444. "sortindex": {
  25445. "description": "排序",
  25446. "type": "integer"
  25447. },
  25448. "tradedate": {
  25449. "description": "交易日",
  25450. "type": "string"
  25451. },
  25452. "updatetime": {
  25453. "description": "更新时间",
  25454. "type": "string"
  25455. }
  25456. }
  25457. },
  25458. "models.Hedgeinnerholderdetail": {
  25459. "type": "object",
  25460. "required": [
  25461. "buyorsell",
  25462. "tradeid"
  25463. ],
  25464. "properties": {
  25465. "accountid": {
  25466. "description": "账号ID",
  25467. "type": "integer"
  25468. },
  25469. "buyorsell": {
  25470. "description": "方向 - 0:买 1:卖",
  25471. "type": "integer"
  25472. },
  25473. "freezeqty": {
  25474. "description": "冻结数量 - 按单平使用",
  25475. "type": "integer"
  25476. },
  25477. "goodsid": {
  25478. "description": "商品ID",
  25479. "type": "integer"
  25480. },
  25481. "holderamount": {
  25482. "description": "持仓金额 [商品币种]",
  25483. "type": "number"
  25484. },
  25485. "holderdays": {
  25486. "description": "剩余冻结天数",
  25487. "type": "integer"
  25488. },
  25489. "holderprice": {
  25490. "description": "持仓价格",
  25491. "type": "number"
  25492. },
  25493. "holderqty": {
  25494. "description": "持仓数量",
  25495. "type": "integer"
  25496. },
  25497. "marketid": {
  25498. "description": "市场ID",
  25499. "type": "integer"
  25500. },
  25501. "openprice": {
  25502. "description": "建仓价格",
  25503. "type": "number"
  25504. },
  25505. "openqty": {
  25506. "description": "建仓数量",
  25507. "type": "integer"
  25508. },
  25509. "parentaccountid": {
  25510. "description": "所属母账户",
  25511. "type": "integer"
  25512. },
  25513. "releaseamount": {
  25514. "description": "释放持仓金额[商品币种]",
  25515. "type": "number"
  25516. },
  25517. "tradeamount": {
  25518. "description": "成交金额[账户]",
  25519. "type": "number"
  25520. },
  25521. "tradedate": {
  25522. "description": "交易日(yyyyMMdd)",
  25523. "type": "string"
  25524. },
  25525. "tradeid": {
  25526. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25527. "type": "string"
  25528. },
  25529. "tradetime": {
  25530. "description": "交易时间",
  25531. "type": "string"
  25532. }
  25533. }
  25534. },
  25535. "models.Hedgemarketopenlog": {
  25536. "type": "object",
  25537. "required": [
  25538. "accountid"
  25539. ],
  25540. "properties": {
  25541. "accountid": {
  25542. "description": "资金账号[外部母账户]",
  25543. "type": "integer"
  25544. },
  25545. "fcname": {
  25546. "description": "期货公司名称",
  25547. "type": "string"
  25548. },
  25549. "handlestatus": {
  25550. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25551. "type": "integer"
  25552. },
  25553. "marketid": {
  25554. "description": "市场ID",
  25555. "type": "integer"
  25556. },
  25557. "status": {
  25558. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25559. "type": "integer"
  25560. },
  25561. "tradedate": {
  25562. "description": "交易日(yyyyMMdd)",
  25563. "type": "string"
  25564. },
  25565. "updatetime": {
  25566. "description": "更新时间",
  25567. "type": "string"
  25568. }
  25569. }
  25570. },
  25571. "models.HsbyBuyMyPayOrder": {
  25572. "type": "object",
  25573. "required": [
  25574. "goodscode",
  25575. "goodsname",
  25576. "tradeid",
  25577. "trademode"
  25578. ],
  25579. "properties": {
  25580. "agreeunit": {
  25581. "description": "合约单位",
  25582. "type": "number"
  25583. },
  25584. "buyaccountid": {
  25585. "description": "买方账号ID[报价币种]",
  25586. "type": "integer"
  25587. },
  25588. "buyorderid": {
  25589. "description": "买方委托单号",
  25590. "type": "string"
  25591. },
  25592. "createtime": {
  25593. "description": "创建时间",
  25594. "type": "string"
  25595. },
  25596. "currencysign": {
  25597. "description": "货币符号",
  25598. "type": "string"
  25599. },
  25600. "decimalplace": {
  25601. "description": "报价小数位",
  25602. "type": "integer"
  25603. },
  25604. "goodscode": {
  25605. "description": "商品代码(内部)",
  25606. "type": "string"
  25607. },
  25608. "goodsid": {
  25609. "description": "商品ID",
  25610. "type": "integer"
  25611. },
  25612. "goodsname": {
  25613. "description": "商品名称",
  25614. "type": "string"
  25615. },
  25616. "marketid": {
  25617. "description": "市场ID",
  25618. "type": "integer"
  25619. },
  25620. "offamount": {
  25621. "description": "优惠金额",
  25622. "type": "number"
  25623. },
  25624. "originalamount": {
  25625. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25626. "type": "number"
  25627. },
  25628. "payamount": {
  25629. "description": "支付金额 = TradeAmount + TradeCharge",
  25630. "type": "number"
  25631. },
  25632. "payflag": {
  25633. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25634. "type": "integer"
  25635. },
  25636. "paylimitedtime": {
  25637. "description": "支付期限",
  25638. "type": "string"
  25639. },
  25640. "paytime": {
  25641. "description": "付款时间",
  25642. "type": "string"
  25643. },
  25644. "picurls1": {
  25645. "description": "预售商品介绍图片[多张用逗号分隔]",
  25646. "type": "string"
  25647. },
  25648. "picurls2": {
  25649. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25650. "type": "string"
  25651. },
  25652. "sellaccountid": {
  25653. "description": "卖方账号ID[报价币种]",
  25654. "type": "integer"
  25655. },
  25656. "sellorderid": {
  25657. "description": "卖方委托单号",
  25658. "type": "string"
  25659. },
  25660. "tradeamount": {
  25661. "description": "成交金额",
  25662. "type": "number"
  25663. },
  25664. "tradecharge": {
  25665. "description": "成交手续费(买方)",
  25666. "type": "number"
  25667. },
  25668. "tradedate": {
  25669. "description": "交易日(yyyyMMdd)",
  25670. "type": "string"
  25671. },
  25672. "tradeid": {
  25673. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25674. "type": "string"
  25675. },
  25676. "trademode": {
  25677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25678. "type": "integer"
  25679. },
  25680. "tradeprice": {
  25681. "description": "成交价格",
  25682. "type": "number"
  25683. },
  25684. "tradeqty": {
  25685. "description": "成交数量",
  25686. "type": "integer"
  25687. },
  25688. "vendorname1": {
  25689. "description": "预售商品供应商名称",
  25690. "type": "string"
  25691. },
  25692. "vendorname2": {
  25693. "description": "挂牌商品供应商名称",
  25694. "type": "string"
  25695. }
  25696. }
  25697. },
  25698. "models.HsbyBuyMyTradeDetail": {
  25699. "type": "object",
  25700. "required": [
  25701. "accountid",
  25702. "buyorsell",
  25703. "goodscode",
  25704. "goodsid",
  25705. "goodsname",
  25706. "marketid",
  25707. "orderid",
  25708. "qty",
  25709. "time",
  25710. "trademode"
  25711. ],
  25712. "properties": {
  25713. "accountid": {
  25714. "description": "账户ID[报价币种]",
  25715. "type": "integer"
  25716. },
  25717. "agreeunit": {
  25718. "description": "合约单位",
  25719. "type": "number"
  25720. },
  25721. "amount": {
  25722. "description": "金额 = 价格 * 数量 * 合约单位",
  25723. "type": "number"
  25724. },
  25725. "buyorsell": {
  25726. "description": "买卖 - 0:买 1:卖",
  25727. "type": "integer"
  25728. },
  25729. "currencysign": {
  25730. "description": "货币符号",
  25731. "type": "string"
  25732. },
  25733. "decimalplace": {
  25734. "description": "报价小数位",
  25735. "type": "integer"
  25736. },
  25737. "goodscode": {
  25738. "description": "商品代码(内部)",
  25739. "type": "string"
  25740. },
  25741. "goodsid": {
  25742. "description": "商品ID",
  25743. "type": "integer"
  25744. },
  25745. "goodsname": {
  25746. "description": "商品名称",
  25747. "type": "string"
  25748. },
  25749. "marketid": {
  25750. "description": "市场ID",
  25751. "type": "integer"
  25752. },
  25753. "orderamount": {
  25754. "description": "委托金额",
  25755. "type": "number"
  25756. },
  25757. "orderid": {
  25758. "description": "单号(成交单号)",
  25759. "type": "string"
  25760. },
  25761. "picurls1": {
  25762. "description": "预售商品介绍图片[多张用逗号分隔]",
  25763. "type": "string"
  25764. },
  25765. "picurls2": {
  25766. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25767. "type": "string"
  25768. },
  25769. "price": {
  25770. "description": "价格",
  25771. "type": "number"
  25772. },
  25773. "qty": {
  25774. "description": "数量",
  25775. "type": "integer"
  25776. },
  25777. "time": {
  25778. "description": "时间",
  25779. "type": "string"
  25780. },
  25781. "trademode": {
  25782. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25783. "type": "integer"
  25784. },
  25785. "vendorname1": {
  25786. "description": "预售商品供应商名称",
  25787. "type": "string"
  25788. },
  25789. "vendorname2": {
  25790. "description": "挂牌商品供应商名称",
  25791. "type": "string"
  25792. }
  25793. }
  25794. },
  25795. "models.HsbyGoodsOrderDetail": {
  25796. "type": "object",
  25797. "required": [
  25798. "buyorsell",
  25799. "orderid",
  25800. "ordertime"
  25801. ],
  25802. "properties": {
  25803. "buyorsell": {
  25804. "description": "买卖 - 0:买 1:卖",
  25805. "type": "integer"
  25806. },
  25807. "currencysign": {
  25808. "description": "货币符号",
  25809. "type": "string"
  25810. },
  25811. "customername": {
  25812. "description": "客户名称(企业名称),已脱敏",
  25813. "type": "string"
  25814. },
  25815. "enableqty": {
  25816. "description": "可用数量",
  25817. "type": "integer"
  25818. },
  25819. "goodunit": {
  25820. "description": "报价单位",
  25821. "type": "string"
  25822. },
  25823. "orderid": {
  25824. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25825. "type": "string"
  25826. },
  25827. "orderprice": {
  25828. "description": "委托价格",
  25829. "type": "number"
  25830. },
  25831. "ordertime": {
  25832. "description": "委托时间",
  25833. "type": "string"
  25834. }
  25835. }
  25836. },
  25837. "models.HsbyListingGoodsDetail": {
  25838. "type": "object",
  25839. "required": [
  25840. "goodscode",
  25841. "goodsid",
  25842. "goodsname",
  25843. "marketid",
  25844. "trademode"
  25845. ],
  25846. "properties": {
  25847. "agreeunit": {
  25848. "description": "合约单位",
  25849. "type": "number"
  25850. },
  25851. "buymaxqty": {
  25852. "description": "购买上限 [71] - 0为不限",
  25853. "type": "integer"
  25854. },
  25855. "currency": {
  25856. "description": "货币",
  25857. "type": "string"
  25858. },
  25859. "currencysign": {
  25860. "description": "货币符号",
  25861. "type": "string"
  25862. },
  25863. "decimalplace": {
  25864. "description": "报价小数位",
  25865. "type": "integer"
  25866. },
  25867. "desccityid": {
  25868. "description": "目的地(市)ID",
  25869. "type": "integer"
  25870. },
  25871. "descprovinceid": {
  25872. "description": "目的地(省)ID",
  25873. "type": "integer"
  25874. },
  25875. "goodscode": {
  25876. "description": "商品代码(内部)",
  25877. "type": "string"
  25878. },
  25879. "goodsdesc": {
  25880. "description": "商品详情",
  25881. "type": "string"
  25882. },
  25883. "goodsid": {
  25884. "description": "商品ID(自增ID SEQ_GOODS)",
  25885. "type": "integer"
  25886. },
  25887. "goodsname": {
  25888. "description": "商品名称",
  25889. "type": "string"
  25890. },
  25891. "goodsprice": {
  25892. "description": "商品价格",
  25893. "type": "number"
  25894. },
  25895. "hotindex": {
  25896. "description": "景点热度",
  25897. "type": "integer"
  25898. },
  25899. "last": {
  25900. "description": "现价",
  25901. "type": "number"
  25902. },
  25903. "limitdown": {
  25904. "description": "跌停价",
  25905. "type": "number"
  25906. },
  25907. "limitup": {
  25908. "description": "涨停价",
  25909. "type": "number"
  25910. },
  25911. "lotsize": {
  25912. "description": "手数最小变动单位",
  25913. "type": "integer"
  25914. },
  25915. "marketid": {
  25916. "description": "所属市场ID",
  25917. "type": "integer"
  25918. },
  25919. "picurls": {
  25920. "description": "介绍图片[多张用逗号分隔]",
  25921. "type": "string"
  25922. },
  25923. "quoteminunit": {
  25924. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25925. "type": "integer"
  25926. },
  25927. "stepvalue": {
  25928. "description": "价格最小变动单位",
  25929. "type": "number"
  25930. },
  25931. "trademode": {
  25932. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25933. "type": "integer"
  25934. },
  25935. "vendorattr": {
  25936. "description": "供应商附件(多张,逗号分隔)",
  25937. "type": "string"
  25938. },
  25939. "vendorname": {
  25940. "description": "供应商名称",
  25941. "type": "string"
  25942. },
  25943. "vendorphone": {
  25944. "description": "供应商客服电话",
  25945. "type": "string"
  25946. },
  25947. "videourls": {
  25948. "description": "介绍视频[多张用逗号分隔]",
  25949. "type": "string"
  25950. }
  25951. }
  25952. },
  25953. "models.HsbyMarketGoods": {
  25954. "type": "object",
  25955. "required": [
  25956. "accountid",
  25957. "buyorsell",
  25958. "goodscode",
  25959. "goodsid",
  25960. "goodsname",
  25961. "marketid",
  25962. "orderid",
  25963. "trademode"
  25964. ],
  25965. "properties": {
  25966. "accountid": {
  25967. "description": "账户ID[报价币种]",
  25968. "type": "integer"
  25969. },
  25970. "agreeunit": {
  25971. "description": "合约单位",
  25972. "type": "number"
  25973. },
  25974. "buyorsell": {
  25975. "description": "买卖 - 0:买 1:卖",
  25976. "type": "integer"
  25977. },
  25978. "categoryid": {
  25979. "description": "类别ID(WRCATEGORY)",
  25980. "type": "integer"
  25981. },
  25982. "currency": {
  25983. "description": "货币",
  25984. "type": "string"
  25985. },
  25986. "currencysign": {
  25987. "description": "货币符号",
  25988. "type": "string"
  25989. },
  25990. "customername": {
  25991. "description": "卖家名称",
  25992. "type": "string"
  25993. },
  25994. "decimalplace": {
  25995. "description": "报价小数位",
  25996. "type": "integer"
  25997. },
  25998. "goodscode": {
  25999. "description": "商品代码(内部)",
  26000. "type": "string"
  26001. },
  26002. "goodsid": {
  26003. "description": "商品ID",
  26004. "type": "integer"
  26005. },
  26006. "goodsname": {
  26007. "description": "商品名称",
  26008. "type": "string"
  26009. },
  26010. "goodsprice": {
  26011. "description": "商品价格",
  26012. "type": "number"
  26013. },
  26014. "hascoupon": {
  26015. "description": "是否可用优惠卷",
  26016. "type": "boolean"
  26017. },
  26018. "hotindex": {
  26019. "description": "景点热度",
  26020. "type": "integer"
  26021. },
  26022. "marketid": {
  26023. "description": "市场ID",
  26024. "type": "integer"
  26025. },
  26026. "orderid": {
  26027. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26028. "type": "string"
  26029. },
  26030. "orderprice": {
  26031. "description": "委托价格",
  26032. "type": "number"
  26033. },
  26034. "orderstatus": {
  26035. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26036. "type": "integer"
  26037. },
  26038. "picurls": {
  26039. "description": "介绍图片[多张用逗号分隔]",
  26040. "type": "string"
  26041. },
  26042. "quoteminunit": {
  26043. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26044. "type": "integer"
  26045. },
  26046. "sellUserID": {
  26047. "description": "卖方UserID",
  26048. "type": "integer"
  26049. },
  26050. "trademode": {
  26051. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26052. "type": "integer"
  26053. },
  26054. "videourls": {
  26055. "description": "介绍视频[多张用逗号分隔]",
  26056. "type": "string"
  26057. }
  26058. }
  26059. },
  26060. "models.HsbyMarketGoodsDetail": {
  26061. "type": "object",
  26062. "required": [
  26063. "accountid",
  26064. "buyorsell",
  26065. "goodscode",
  26066. "goodsid",
  26067. "goodsname",
  26068. "marketid",
  26069. "orderid",
  26070. "orderqty",
  26071. "trademode"
  26072. ],
  26073. "properties": {
  26074. "accountid": {
  26075. "description": "账户ID[报价币种]",
  26076. "type": "integer"
  26077. },
  26078. "agreeunit": {
  26079. "description": "合约单位",
  26080. "type": "number"
  26081. },
  26082. "buymaxqty": {
  26083. "description": "购买上限 [71] - 0为不限",
  26084. "type": "integer"
  26085. },
  26086. "buyorsell": {
  26087. "description": "买卖 - 0:买 1:卖",
  26088. "type": "integer"
  26089. },
  26090. "cancelqty": {
  26091. "description": "撤单数量",
  26092. "type": "integer"
  26093. },
  26094. "categoryid": {
  26095. "description": "类别ID(WRCATEGORY)",
  26096. "type": "integer"
  26097. },
  26098. "currency": {
  26099. "description": "货币",
  26100. "type": "string"
  26101. },
  26102. "currencysign": {
  26103. "description": "货币符号",
  26104. "type": "string"
  26105. },
  26106. "customername": {
  26107. "description": "卖家名称",
  26108. "type": "string"
  26109. },
  26110. "decimalplace": {
  26111. "description": "报价小数位",
  26112. "type": "integer"
  26113. },
  26114. "goodscode": {
  26115. "description": "商品代码(内部)",
  26116. "type": "string"
  26117. },
  26118. "goodsdesc": {
  26119. "description": "商品详情",
  26120. "type": "string"
  26121. },
  26122. "goodsid": {
  26123. "description": "商品ID",
  26124. "type": "integer"
  26125. },
  26126. "goodsname": {
  26127. "description": "商品名称",
  26128. "type": "string"
  26129. },
  26130. "goodsprice": {
  26131. "description": "商品价格",
  26132. "type": "number"
  26133. },
  26134. "hotindex": {
  26135. "description": "景点热度",
  26136. "type": "integer"
  26137. },
  26138. "lotsize": {
  26139. "description": "手数最小变动单位",
  26140. "type": "integer"
  26141. },
  26142. "marketid": {
  26143. "description": "市场ID",
  26144. "type": "integer"
  26145. },
  26146. "orderid": {
  26147. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26148. "type": "string"
  26149. },
  26150. "orderprice": {
  26151. "description": "委托价格",
  26152. "type": "number"
  26153. },
  26154. "orderqty": {
  26155. "description": "委托数量",
  26156. "type": "integer"
  26157. },
  26158. "orderstatus": {
  26159. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26160. "type": "integer"
  26161. },
  26162. "picurls": {
  26163. "description": "介绍图片[多张用逗号分隔]",
  26164. "type": "string"
  26165. },
  26166. "quoteminunit": {
  26167. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26168. "type": "integer"
  26169. },
  26170. "sellUserID": {
  26171. "description": "卖方UserID",
  26172. "type": "integer"
  26173. },
  26174. "trademode": {
  26175. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26176. "type": "integer"
  26177. },
  26178. "tradeqty": {
  26179. "description": "成交数量",
  26180. "type": "integer"
  26181. },
  26182. "vendorattr": {
  26183. "description": "供应商附件(多张,逗号分隔)",
  26184. "type": "string"
  26185. },
  26186. "vendorname": {
  26187. "description": "供应商名称",
  26188. "type": "string"
  26189. },
  26190. "vendorphone": {
  26191. "description": "供应商客服电话",
  26192. "type": "string"
  26193. },
  26194. "videourls": {
  26195. "description": "介绍视频[多张用逗号分隔]",
  26196. "type": "string"
  26197. }
  26198. }
  26199. },
  26200. "models.HsbyMarketInfo": {
  26201. "type": "object",
  26202. "required": [
  26203. "marketid",
  26204. "marketstatus",
  26205. "trademode"
  26206. ],
  26207. "properties": {
  26208. "marketid": {
  26209. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26210. "type": "integer"
  26211. },
  26212. "marketname": {
  26213. "description": "市场名称",
  26214. "type": "string"
  26215. },
  26216. "marketstatus": {
  26217. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26218. "type": "integer"
  26219. },
  26220. "trademode": {
  26221. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26222. "type": "integer"
  26223. }
  26224. }
  26225. },
  26226. "models.HsbyMyGoods": {
  26227. "type": "object",
  26228. "required": [
  26229. "accountid",
  26230. "goodscode",
  26231. "goodsid",
  26232. "goodsname",
  26233. "marketid",
  26234. "trademode"
  26235. ],
  26236. "properties": {
  26237. "accountid": {
  26238. "description": "账号Id",
  26239. "type": "integer"
  26240. },
  26241. "agreeunit": {
  26242. "description": "合约单位",
  26243. "type": "number"
  26244. },
  26245. "buyaverageprice": {
  26246. "description": "持仓均价",
  26247. "type": "number"
  26248. },
  26249. "buycurholderamount": {
  26250. "description": "买当前持仓总金额[商品币种]",
  26251. "type": "number"
  26252. },
  26253. "buycurpositionqty": {
  26254. "description": "买当前持仓总数量",
  26255. "type": "integer"
  26256. },
  26257. "buymaxqty": {
  26258. "description": "购买上限 [71] - 0为不限",
  26259. "type": "integer"
  26260. },
  26261. "currencysign": {
  26262. "description": "货币符号",
  26263. "type": "string"
  26264. },
  26265. "decimalplace": {
  26266. "description": "报价小数位",
  26267. "type": "integer"
  26268. },
  26269. "enableqty": {
  26270. "description": "可用数量",
  26271. "type": "integer"
  26272. },
  26273. "goodscode": {
  26274. "description": "商品代码(内部)",
  26275. "type": "string"
  26276. },
  26277. "goodsid": {
  26278. "description": "商品Id",
  26279. "type": "integer"
  26280. },
  26281. "goodsname": {
  26282. "description": "商品名称",
  26283. "type": "string"
  26284. },
  26285. "goodsprice": {
  26286. "description": "商品价格",
  26287. "type": "number"
  26288. },
  26289. "goodsstatus": {
  26290. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26291. "type": "integer"
  26292. },
  26293. "last": {
  26294. "description": "现价(仅使用于挂牌点选)",
  26295. "type": "number"
  26296. },
  26297. "limitdown": {
  26298. "description": "跌停价(仅使用于挂牌点选)",
  26299. "type": "number"
  26300. },
  26301. "limitup": {
  26302. "description": "涨停价(仅使用于挂牌点选)",
  26303. "type": "number"
  26304. },
  26305. "lotsize": {
  26306. "description": "手数最小变动单位",
  26307. "type": "integer"
  26308. },
  26309. "marketid": {
  26310. "description": "所属市场ID",
  26311. "type": "integer"
  26312. },
  26313. "picurls": {
  26314. "description": "介绍图片[多张用逗号分隔]",
  26315. "type": "string"
  26316. },
  26317. "quoteminunit": {
  26318. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26319. "type": "integer"
  26320. },
  26321. "stepvalue": {
  26322. "description": "价格最小变动单位",
  26323. "type": "number"
  26324. },
  26325. "trademode": {
  26326. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26327. "type": "integer"
  26328. }
  26329. }
  26330. },
  26331. "models.HsbyMyPackage": {
  26332. "type": "object",
  26333. "required": [
  26334. "goodscode",
  26335. "goodsname",
  26336. "takeorderid",
  26337. "trademode"
  26338. ],
  26339. "properties": {
  26340. "accountid": {
  26341. "description": "账户ID",
  26342. "type": "integer"
  26343. },
  26344. "address": {
  26345. "description": "提货人详细地址",
  26346. "type": "string"
  26347. },
  26348. "agreeunit": {
  26349. "description": "合约单位",
  26350. "type": "number"
  26351. },
  26352. "amount": {
  26353. "description": "提货金额",
  26354. "type": "number"
  26355. },
  26356. "auditer": {
  26357. "description": "审核人",
  26358. "type": "integer"
  26359. },
  26360. "audittime": {
  26361. "description": "审核时间",
  26362. "type": "string"
  26363. },
  26364. "averageprice": {
  26365. "description": "均价",
  26366. "type": "number"
  26367. },
  26368. "cardnum": {
  26369. "description": "提货人证件号码",
  26370. "type": "string"
  26371. },
  26372. "cardtypeid": {
  26373. "description": "提货人证件类型",
  26374. "type": "integer"
  26375. },
  26376. "checkremark": {
  26377. "description": "审核备注",
  26378. "type": "string"
  26379. },
  26380. "currencysign": {
  26381. "description": "货币符号",
  26382. "type": "string"
  26383. },
  26384. "decimalplace": {
  26385. "description": "报价小数位",
  26386. "type": "integer"
  26387. },
  26388. "goodscode": {
  26389. "description": "商品代码(内部)",
  26390. "type": "string"
  26391. },
  26392. "goodsid": {
  26393. "description": "商品ID",
  26394. "type": "integer"
  26395. },
  26396. "goodsname": {
  26397. "description": "商品名称",
  26398. "type": "string"
  26399. },
  26400. "handlestatus": {
  26401. "description": "处理状态",
  26402. "type": "integer"
  26403. },
  26404. "marketid": {
  26405. "description": "市场ID",
  26406. "type": "integer"
  26407. },
  26408. "phonenum": {
  26409. "description": "提货人联系方式",
  26410. "type": "string"
  26411. },
  26412. "picurls": {
  26413. "description": "介绍图片[多张用逗号分隔]",
  26414. "type": "string"
  26415. },
  26416. "qty": {
  26417. "description": "提货数量",
  26418. "type": "number"
  26419. },
  26420. "recivername": {
  26421. "description": "提货人姓名",
  26422. "type": "string"
  26423. },
  26424. "reqtime": {
  26425. "description": "更新时间",
  26426. "type": "string"
  26427. },
  26428. "takemode": {
  26429. "description": "提货方式 - 2:自提 3:配送",
  26430. "type": "integer"
  26431. },
  26432. "takeorderid": {
  26433. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26434. "type": "string"
  26435. },
  26436. "takeorderstatus": {
  26437. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26438. "type": "integer"
  26439. },
  26440. "takeremark": {
  26441. "description": "提货备注",
  26442. "type": "string"
  26443. },
  26444. "tradedate": {
  26445. "description": "交易日(yyyyMMdd)",
  26446. "type": "string"
  26447. },
  26448. "trademode": {
  26449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26450. "type": "integer"
  26451. },
  26452. "userid": {
  26453. "description": "用户ID",
  26454. "type": "integer"
  26455. },
  26456. "vendorname": {
  26457. "description": "供应商名称",
  26458. "type": "string"
  26459. }
  26460. }
  26461. },
  26462. "models.HsbyPreGoods": {
  26463. "type": "object",
  26464. "required": [
  26465. "goodscode",
  26466. "goodsid",
  26467. "goodsname",
  26468. "marketid",
  26469. "trademode"
  26470. ],
  26471. "properties": {
  26472. "agreeunit": {
  26473. "description": "合约单位",
  26474. "type": "number"
  26475. },
  26476. "currency": {
  26477. "description": "货币",
  26478. "type": "string"
  26479. },
  26480. "currencysign": {
  26481. "description": "货币符号",
  26482. "type": "string"
  26483. },
  26484. "decimalplace": {
  26485. "description": "报价小数位",
  26486. "type": "integer"
  26487. },
  26488. "desccityid": {
  26489. "description": "目的地(市)",
  26490. "type": "integer"
  26491. },
  26492. "descprovinceid": {
  26493. "description": "目的地(省)",
  26494. "type": "integer"
  26495. },
  26496. "enableqty": {
  26497. "description": "剩余数量",
  26498. "type": "integer"
  26499. },
  26500. "goodscode": {
  26501. "description": "商品代码(内部)",
  26502. "type": "string"
  26503. },
  26504. "goodsid": {
  26505. "description": "商品ID(自增ID SEQ_GOODS)",
  26506. "type": "integer"
  26507. },
  26508. "goodsname": {
  26509. "description": "商品名称",
  26510. "type": "string"
  26511. },
  26512. "goodsstatus": {
  26513. "description": "商品状态- 2:未上市 3:上市",
  26514. "type": "integer"
  26515. },
  26516. "lasttradedate": {
  26517. "description": "最后交易日期(状态:待退市)",
  26518. "type": "string"
  26519. },
  26520. "listingdate": {
  26521. "description": "交易开始日期",
  26522. "type": "string"
  26523. },
  26524. "marketid": {
  26525. "description": "所属市场ID",
  26526. "type": "integer"
  26527. },
  26528. "picurls": {
  26529. "description": "介绍图片[多张用逗号分隔]",
  26530. "type": "string"
  26531. },
  26532. "presaledqty": {
  26533. "description": "已预售量(预售结束时更新)",
  26534. "type": "integer"
  26535. },
  26536. "presaleqty": {
  26537. "description": "预售数量",
  26538. "type": "integer"
  26539. },
  26540. "quoteminunit": {
  26541. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26542. "type": "integer"
  26543. },
  26544. "refprice": {
  26545. "description": "参考价格[一口价]",
  26546. "type": "number"
  26547. },
  26548. "relatedgoodsid": {
  26549. "description": "关联交易合约ID",
  26550. "type": "integer"
  26551. },
  26552. "trademode": {
  26553. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26554. "type": "integer"
  26555. },
  26556. "videourls": {
  26557. "description": "介绍视频[多张用逗号分隔]",
  26558. "type": "string"
  26559. }
  26560. }
  26561. },
  26562. "models.HsbyPreGoodsDetail": {
  26563. "type": "object",
  26564. "required": [
  26565. "goodscode",
  26566. "goodsid",
  26567. "goodsname",
  26568. "marketid",
  26569. "trademode"
  26570. ],
  26571. "properties": {
  26572. "agreeunit": {
  26573. "description": "合约单位",
  26574. "type": "number"
  26575. },
  26576. "buymaxqty": {
  26577. "description": "购买上限 [71] - 0为不限",
  26578. "type": "integer"
  26579. },
  26580. "currency": {
  26581. "description": "货币",
  26582. "type": "string"
  26583. },
  26584. "currencysign": {
  26585. "description": "货币符号",
  26586. "type": "string"
  26587. },
  26588. "customername": {
  26589. "description": "发行单位",
  26590. "type": "string"
  26591. },
  26592. "decimalplace": {
  26593. "description": "报价小数位",
  26594. "type": "integer"
  26595. },
  26596. "desccityid": {
  26597. "description": "目的地(市)ID",
  26598. "type": "integer"
  26599. },
  26600. "descprovinceid": {
  26601. "description": "目的地(省)ID",
  26602. "type": "integer"
  26603. },
  26604. "enableqty": {
  26605. "description": "剩余数量",
  26606. "type": "integer"
  26607. },
  26608. "goodscode": {
  26609. "description": "商品代码(内部)",
  26610. "type": "string"
  26611. },
  26612. "goodsdesc": {
  26613. "description": "商品详情",
  26614. "type": "string"
  26615. },
  26616. "goodsid": {
  26617. "description": "商品ID(自增ID SEQ_GOODS)",
  26618. "type": "integer"
  26619. },
  26620. "goodsname": {
  26621. "description": "商品名称",
  26622. "type": "string"
  26623. },
  26624. "goodsstatus": {
  26625. "description": "商品状态- 2:未上市 3:上市",
  26626. "type": "integer"
  26627. },
  26628. "goodunit": {
  26629. "description": "报价单位",
  26630. "type": "string"
  26631. },
  26632. "lasttradedate": {
  26633. "description": "最后交易日期(状态:待退市)",
  26634. "type": "string"
  26635. },
  26636. "listingdate": {
  26637. "description": "交易开始日期",
  26638. "type": "string"
  26639. },
  26640. "lotsize": {
  26641. "description": "手数最小变动单位",
  26642. "type": "integer"
  26643. },
  26644. "marketid": {
  26645. "description": "所属市场ID",
  26646. "type": "integer"
  26647. },
  26648. "picurls": {
  26649. "description": "介绍图片[多张用逗号分隔]",
  26650. "type": "string"
  26651. },
  26652. "presaledqty": {
  26653. "description": "已预售量(预售结束时更新)",
  26654. "type": "integer"
  26655. },
  26656. "presaleqty": {
  26657. "description": "预售数量",
  26658. "type": "integer"
  26659. },
  26660. "quoteminunit": {
  26661. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26662. "type": "integer"
  26663. },
  26664. "refprice": {
  26665. "description": "参考价格[一口价]",
  26666. "type": "number"
  26667. },
  26668. "relatedgoodsid": {
  26669. "description": "关联交易合约ID",
  26670. "type": "integer"
  26671. },
  26672. "stepvalue": {
  26673. "description": "价格最小变动单位",
  26674. "type": "number"
  26675. },
  26676. "trademode": {
  26677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26678. "type": "integer"
  26679. },
  26680. "vendorattr": {
  26681. "description": "供应商附件(多张,逗号分隔)",
  26682. "type": "string"
  26683. },
  26684. "vendorname": {
  26685. "description": "供应商名称",
  26686. "type": "string"
  26687. },
  26688. "vendorphone": {
  26689. "description": "供应商客服电话",
  26690. "type": "string"
  26691. },
  26692. "videourls": {
  26693. "description": "介绍视频[多张用逗号分隔]",
  26694. "type": "string"
  26695. }
  26696. }
  26697. },
  26698. "models.HsbySellCollectionOrder": {
  26699. "type": "object",
  26700. "required": [
  26701. "goodscode",
  26702. "goodsname",
  26703. "tradeid",
  26704. "trademode"
  26705. ],
  26706. "properties": {
  26707. "agreeunit": {
  26708. "description": "合约单位",
  26709. "type": "number"
  26710. },
  26711. "buyaccountid": {
  26712. "description": "买方账号ID[报价币种]",
  26713. "type": "integer"
  26714. },
  26715. "buyorderid": {
  26716. "description": "买方委托单号",
  26717. "type": "string"
  26718. },
  26719. "createtime": {
  26720. "description": "创建时间",
  26721. "type": "string"
  26722. },
  26723. "currencysign": {
  26724. "description": "货币符号",
  26725. "type": "string"
  26726. },
  26727. "decimalplace": {
  26728. "description": "报价小数位",
  26729. "type": "integer"
  26730. },
  26731. "goodscode": {
  26732. "description": "商品代码(内部)",
  26733. "type": "string"
  26734. },
  26735. "goodsid": {
  26736. "description": "商品ID",
  26737. "type": "integer"
  26738. },
  26739. "goodsname": {
  26740. "description": "商品名称",
  26741. "type": "string"
  26742. },
  26743. "marketid": {
  26744. "description": "市场ID",
  26745. "type": "integer"
  26746. },
  26747. "offamount": {
  26748. "description": "优惠金额",
  26749. "type": "number"
  26750. },
  26751. "payamount": {
  26752. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26753. "type": "number"
  26754. },
  26755. "payflag": {
  26756. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26757. "type": "integer"
  26758. },
  26759. "paylimitedtime": {
  26760. "description": "支付期限",
  26761. "type": "string"
  26762. },
  26763. "paytime": {
  26764. "description": "付款时间",
  26765. "type": "string"
  26766. },
  26767. "picurls": {
  26768. "description": "商品介绍图片[多张用逗号分隔]",
  26769. "type": "string"
  26770. },
  26771. "sellaccountid": {
  26772. "description": "卖方账号ID[报价币种]",
  26773. "type": "integer"
  26774. },
  26775. "sellorderid": {
  26776. "description": "卖方委托单号",
  26777. "type": "string"
  26778. },
  26779. "tradeamount": {
  26780. "description": "成交金额",
  26781. "type": "number"
  26782. },
  26783. "tradecharge": {
  26784. "description": "成交手续费(买方)",
  26785. "type": "number"
  26786. },
  26787. "tradedate": {
  26788. "description": "交易日(yyyyMMdd)",
  26789. "type": "string"
  26790. },
  26791. "tradeid": {
  26792. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26793. "type": "string"
  26794. },
  26795. "trademode": {
  26796. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26797. "type": "integer"
  26798. },
  26799. "tradeprice": {
  26800. "description": "成交价格",
  26801. "type": "number"
  26802. },
  26803. "tradeqty": {
  26804. "description": "成交数量",
  26805. "type": "integer"
  26806. }
  26807. }
  26808. },
  26809. "models.HsbySellMyDetail": {
  26810. "type": "object",
  26811. "required": [
  26812. "accountid",
  26813. "buyorsell",
  26814. "goodscode",
  26815. "goodsid",
  26816. "goodsname",
  26817. "marketid",
  26818. "orderid",
  26819. "time",
  26820. "trademode"
  26821. ],
  26822. "properties": {
  26823. "accountid": {
  26824. "description": "账户ID[报价币种]",
  26825. "type": "integer"
  26826. },
  26827. "agreeunit": {
  26828. "description": "合约单位",
  26829. "type": "number"
  26830. },
  26831. "buyorsell": {
  26832. "description": "买卖 - 0:买 1:卖",
  26833. "type": "integer"
  26834. },
  26835. "currencysign": {
  26836. "description": "货币符号",
  26837. "type": "string"
  26838. },
  26839. "decimalplace": {
  26840. "description": "报价小数位",
  26841. "type": "integer"
  26842. },
  26843. "goodscode": {
  26844. "description": "商品代码(内部)",
  26845. "type": "string"
  26846. },
  26847. "goodsid": {
  26848. "description": "商品ID",
  26849. "type": "integer"
  26850. },
  26851. "goodsname": {
  26852. "description": "商品名称",
  26853. "type": "string"
  26854. },
  26855. "marketid": {
  26856. "description": "市场ID",
  26857. "type": "integer"
  26858. },
  26859. "orderid": {
  26860. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26861. "type": "string"
  26862. },
  26863. "ordertype": {
  26864. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26865. "type": "integer"
  26866. },
  26867. "picurls": {
  26868. "description": "介绍图片[多张用逗号分隔]",
  26869. "type": "string"
  26870. },
  26871. "price": {
  26872. "description": "价格",
  26873. "type": "number"
  26874. },
  26875. "qty": {
  26876. "description": "数量",
  26877. "type": "integer"
  26878. },
  26879. "time": {
  26880. "description": "时间",
  26881. "type": "string"
  26882. },
  26883. "trademode": {
  26884. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26885. "type": "integer"
  26886. },
  26887. "vendorname": {
  26888. "description": "供应商名称",
  26889. "type": "string"
  26890. }
  26891. }
  26892. },
  26893. "models.HsbyTopGoods": {
  26894. "type": "object",
  26895. "required": [
  26896. "goodscode",
  26897. "goodsid",
  26898. "goodsname",
  26899. "marketid",
  26900. "trademode"
  26901. ],
  26902. "properties": {
  26903. "agreeunit": {
  26904. "description": "合约单位",
  26905. "type": "number"
  26906. },
  26907. "currency": {
  26908. "description": "货币",
  26909. "type": "string"
  26910. },
  26911. "currencysign": {
  26912. "description": "货币符号",
  26913. "type": "string"
  26914. },
  26915. "decimalplace": {
  26916. "description": "报价小数位",
  26917. "type": "integer"
  26918. },
  26919. "desccityid": {
  26920. "description": "目的地(市)",
  26921. "type": "integer"
  26922. },
  26923. "descprovinceid": {
  26924. "description": "目的地(省)",
  26925. "type": "integer"
  26926. },
  26927. "goodscode": {
  26928. "description": "商品代码(内部)",
  26929. "type": "string"
  26930. },
  26931. "goodsid": {
  26932. "description": "商品ID(自增ID SEQ_GOODS)",
  26933. "type": "integer"
  26934. },
  26935. "goodsname": {
  26936. "description": "商品名称",
  26937. "type": "string"
  26938. },
  26939. "hotindex": {
  26940. "description": "景点热度",
  26941. "type": "integer"
  26942. },
  26943. "last": {
  26944. "description": "现价",
  26945. "type": "number"
  26946. },
  26947. "marketid": {
  26948. "description": "所属市场ID",
  26949. "type": "integer"
  26950. },
  26951. "picurls": {
  26952. "description": "介绍图片[多张用逗号分隔]",
  26953. "type": "string"
  26954. },
  26955. "quoteminunit": {
  26956. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26957. "type": "integer"
  26958. },
  26959. "trademode": {
  26960. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26961. "type": "integer"
  26962. },
  26963. "videourls": {
  26964. "description": "介绍视频[多张用逗号分隔]",
  26965. "type": "string"
  26966. }
  26967. }
  26968. },
  26969. "models.HybsMyBuyOrderDetail": {
  26970. "type": "object",
  26971. "required": [
  26972. "accountid",
  26973. "buyorsell",
  26974. "goodscode",
  26975. "goodsid",
  26976. "goodsname",
  26977. "marketid",
  26978. "orderid",
  26979. "orderqty",
  26980. "ordertime",
  26981. "trademode"
  26982. ],
  26983. "properties": {
  26984. "accountid": {
  26985. "description": "账户ID[报价币种]",
  26986. "type": "integer"
  26987. },
  26988. "agreeunit": {
  26989. "description": "合约单位",
  26990. "type": "number"
  26991. },
  26992. "buyorsell": {
  26993. "description": "买卖 - 0:买 1:卖",
  26994. "type": "integer"
  26995. },
  26996. "cancelqty": {
  26997. "description": "撤单数量",
  26998. "type": "integer"
  26999. },
  27000. "currencysign": {
  27001. "description": "货币符号",
  27002. "type": "string"
  27003. },
  27004. "decimalplace": {
  27005. "description": "报价小数位",
  27006. "type": "integer"
  27007. },
  27008. "goodscode": {
  27009. "description": "商品代码(内部)",
  27010. "type": "string"
  27011. },
  27012. "goodsid": {
  27013. "description": "商品ID",
  27014. "type": "integer"
  27015. },
  27016. "goodsname": {
  27017. "description": "商品名称",
  27018. "type": "string"
  27019. },
  27020. "listingselecttype": {
  27021. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27022. "type": "integer"
  27023. },
  27024. "marketid": {
  27025. "description": "市场ID",
  27026. "type": "integer"
  27027. },
  27028. "mybuystatus": {
  27029. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27030. "type": "integer"
  27031. },
  27032. "orderamount": {
  27033. "description": "委托金额",
  27034. "type": "number"
  27035. },
  27036. "orderid": {
  27037. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27038. "type": "string"
  27039. },
  27040. "orderprice": {
  27041. "description": "委托价格",
  27042. "type": "number"
  27043. },
  27044. "orderqty": {
  27045. "description": "委托数量",
  27046. "type": "integer"
  27047. },
  27048. "orderstatus": {
  27049. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27050. "type": "integer"
  27051. },
  27052. "ordertime": {
  27053. "description": "委托时间",
  27054. "type": "string"
  27055. },
  27056. "picurls1": {
  27057. "description": "预售商品介绍图片[多张用逗号分隔]",
  27058. "type": "string"
  27059. },
  27060. "picurls2": {
  27061. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27062. "type": "string"
  27063. },
  27064. "trademode": {
  27065. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27066. "type": "integer"
  27067. },
  27068. "tradeqty": {
  27069. "description": "成交数量",
  27070. "type": "integer"
  27071. },
  27072. "vendorname1": {
  27073. "description": "预售商品供应商名称",
  27074. "type": "string"
  27075. },
  27076. "vendorname2": {
  27077. "description": "挂牌商品供应商名称",
  27078. "type": "string"
  27079. }
  27080. }
  27081. },
  27082. "models.Loginaccount": {
  27083. "type": "object",
  27084. "required": [
  27085. "loginid"
  27086. ],
  27087. "properties": {
  27088. "accountname": {
  27089. "description": "账户名称",
  27090. "type": "string"
  27091. },
  27092. "canoutin": {
  27093. "description": "是否可出入金 - 0:不可 1:可",
  27094. "type": "integer"
  27095. },
  27096. "clientroleid": {
  27097. "description": "终端角色ID",
  27098. "type": "integer"
  27099. },
  27100. "haslogined": {
  27101. "description": "是否已登录 - 0:未登录 1:已登录",
  27102. "type": "integer"
  27103. },
  27104. "hasupdatedpwd": {
  27105. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27106. "type": "integer"
  27107. },
  27108. "lastloginip": {
  27109. "description": "最新登录地址",
  27110. "type": "string"
  27111. },
  27112. "lastloginmode": {
  27113. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27114. "type": "integer"
  27115. },
  27116. "lastloginremark": {
  27117. "description": "最新登录描述",
  27118. "type": "string"
  27119. },
  27120. "lastlogintime": {
  27121. "description": "最新登录时间",
  27122. "type": "string"
  27123. },
  27124. "logincode": {
  27125. "description": "登录代码",
  27126. "type": "string"
  27127. },
  27128. "loginfailnum": {
  27129. "description": "连续登录失败次数(登录成功时清零)",
  27130. "type": "integer"
  27131. },
  27132. "loginid": {
  27133. "description": "登陆账号",
  27134. "type": "integer"
  27135. },
  27136. "loginport": {
  27137. "description": "最新登录端口",
  27138. "type": "integer"
  27139. },
  27140. "loginstatus": {
  27141. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27142. "type": "integer"
  27143. },
  27144. "loginusertype": {
  27145. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27146. "type": "integer"
  27147. },
  27148. "mobile": {
  27149. "description": "手机号码(加密存储)",
  27150. "type": "string"
  27151. },
  27152. "modifierid": {
  27153. "description": "修改人",
  27154. "type": "integer"
  27155. },
  27156. "modifysrc": {
  27157. "description": "审核来源 - 1:管理端 2:终端",
  27158. "type": "integer"
  27159. },
  27160. "modifytime": {
  27161. "description": "修改时间",
  27162. "type": "string"
  27163. },
  27164. "password": {
  27165. "description": "登陆密码",
  27166. "type": "string"
  27167. },
  27168. "pwdwrongcount": {
  27169. "description": "密码错误次数",
  27170. "type": "integer"
  27171. },
  27172. "relateduserid": {
  27173. "description": "关联用户ID(机构)",
  27174. "type": "integer"
  27175. },
  27176. "taaccountrighttype": {
  27177. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27178. "type": "integer"
  27179. },
  27180. "unfreezetime": {
  27181. "description": "账户解冻时间",
  27182. "type": "string"
  27183. },
  27184. "userid": {
  27185. "description": "用户ID",
  27186. "type": "integer"
  27187. }
  27188. }
  27189. },
  27190. "models.MainAccountInfo": {
  27191. "type": "object",
  27192. "properties": {
  27193. "accountid": {
  27194. "description": "账号id",
  27195. "type": "integer"
  27196. },
  27197. "accountname": {
  27198. "description": "账号名称(taaccount表中的名称)",
  27199. "type": "string"
  27200. },
  27201. "appid": {
  27202. "description": "AppID",
  27203. "type": "string"
  27204. },
  27205. "authcode": {
  27206. "description": "授权码",
  27207. "type": "string"
  27208. },
  27209. "brokerid": {
  27210. "description": "经纪商id",
  27211. "type": "string"
  27212. },
  27213. "fcid": {
  27214. "description": "期货公司id",
  27215. "type": "integer"
  27216. },
  27217. "fcname": {
  27218. "description": "期货公司代码",
  27219. "type": "string"
  27220. },
  27221. "hedgeaccountcode": {
  27222. "description": "外部账号代码(主账号登录代码)",
  27223. "type": "string"
  27224. },
  27225. "hedgeaccountpwd": {
  27226. "description": "密码",
  27227. "type": "string"
  27228. },
  27229. "ismain": {
  27230. "description": "是否主账号",
  27231. "type": "integer"
  27232. },
  27233. "relateduserid": {
  27234. "description": "关联用户id",
  27235. "type": "integer"
  27236. },
  27237. "userid": {
  27238. "description": "关联用户id",
  27239. "type": "integer"
  27240. }
  27241. }
  27242. },
  27243. "models.Market": {
  27244. "type": "object",
  27245. "required": [
  27246. "marketid",
  27247. "marketstatus",
  27248. "openmethod",
  27249. "reckonpricealgorithm",
  27250. "trademode",
  27251. "tradeproperty"
  27252. ],
  27253. "properties": {
  27254. "auctionwrtype": {
  27255. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27256. "type": "integer"
  27257. },
  27258. "canacceptquote": {
  27259. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27260. "type": "integer"
  27261. },
  27262. "cangoodsexercise": {
  27263. "description": "[期权]是否可现货行权- 0:否 1:是",
  27264. "type": "integer"
  27265. },
  27266. "cangoodsexercisetype": {
  27267. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27268. "type": "integer"
  27269. },
  27270. "canmanualquotestrike": {
  27271. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27272. "type": "integer"
  27273. },
  27274. "canmutistage": {
  27275. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27276. "type": "integer"
  27277. },
  27278. "canpreexercise": {
  27279. "description": "[期权]是否可预申报- 0:否 1:是",
  27280. "type": "integer"
  27281. },
  27282. "clearinterval": {
  27283. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27284. "type": "integer"
  27285. },
  27286. "contracttmp": {
  27287. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27288. "type": "string"
  27289. },
  27290. "exchareaid": {
  27291. "description": "所属交易所,可以没有",
  27292. "type": "integer"
  27293. },
  27294. "goodstype": {
  27295. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27296. "type": "integer"
  27297. },
  27298. "hasrebate": {
  27299. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27300. "type": "integer"
  27301. },
  27302. "hastradecredit": {
  27303. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27304. "type": "integer"
  27305. },
  27306. "haswr": {
  27307. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27308. "type": "integer"
  27309. },
  27310. "isdeductmargin": {
  27311. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27312. "type": "integer"
  27313. },
  27314. "isrecordsource": {
  27315. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27316. "type": "integer"
  27317. },
  27318. "isreleasemargin": {
  27319. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27320. "type": "integer"
  27321. },
  27322. "marginformula": {
  27323. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27324. "type": "integer"
  27325. },
  27326. "marginformula2": {
  27327. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27328. "type": "integer"
  27329. },
  27330. "marketid": {
  27331. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27332. "type": "integer"
  27333. },
  27334. "marketname": {
  27335. "description": "市场名称",
  27336. "type": "string"
  27337. },
  27338. "marketserviceid": {
  27339. "description": "市场服务ID",
  27340. "type": "integer"
  27341. },
  27342. "marketstatus": {
  27343. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27344. "type": "integer"
  27345. },
  27346. "markettype": {
  27347. "description": "市场类型- 1:非交易服务 2:交易服务",
  27348. "type": "integer"
  27349. },
  27350. "matchermode": {
  27351. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27352. "type": "integer"
  27353. },
  27354. "openmethod": {
  27355. "description": "开盘模式 - 0 自动 1手动",
  27356. "type": "integer"
  27357. },
  27358. "otcuserid": {
  27359. "description": "场外期权做市商[场外期权]",
  27360. "type": "integer"
  27361. },
  27362. "outersynctime": {
  27363. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27364. "type": "string"
  27365. },
  27366. "pendingflag": {
  27367. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27368. "type": "integer"
  27369. },
  27370. "pendingtime": {
  27371. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27372. "type": "string"
  27373. },
  27374. "performancetempid": {
  27375. "description": "履约计划模板ID - 作废",
  27376. "type": "integer"
  27377. },
  27378. "premiumquotemode": {
  27379. "description": "权利金报价方式 - 1:自动 2:手动",
  27380. "type": "integer"
  27381. },
  27382. "rebateratio": {
  27383. "description": "返利比率[竞价式]",
  27384. "type": "number"
  27385. },
  27386. "reckonorder": {
  27387. "description": "结算顺序",
  27388. "type": "integer"
  27389. },
  27390. "reckonpricealgorithm": {
  27391. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27392. "type": "integer"
  27393. },
  27394. "reckonpriceparam": {
  27395. "description": "结算价参数",
  27396. "type": "integer"
  27397. },
  27398. "reckontime": {
  27399. "description": "结算时间[通道交易-对冲](HH:mm)",
  27400. "type": "string"
  27401. },
  27402. "roleprioritytype": {
  27403. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27404. "type": "integer"
  27405. },
  27406. "selllistingauditflag": {
  27407. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27408. "type": "integer"
  27409. },
  27410. "trademarkettype": {
  27411. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27412. "type": "integer"
  27413. },
  27414. "trademode": {
  27415. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27416. "type": "integer"
  27417. },
  27418. "tradeproperty": {
  27419. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27420. "type": "integer"
  27421. },
  27422. "tradetype": {
  27423. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27424. "type": "integer"
  27425. }
  27426. }
  27427. },
  27428. "models.Marketrun": {
  27429. "type": "object",
  27430. "required": [
  27431. "marketid",
  27432. "nexttradedate",
  27433. "reckonflag",
  27434. "runstatus",
  27435. "tradedate",
  27436. "tradedate2"
  27437. ],
  27438. "properties": {
  27439. "afternexttradedate": {
  27440. "description": "下下交易日",
  27441. "type": "string"
  27442. },
  27443. "clearquoteflag": {
  27444. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27445. "type": "integer"
  27446. },
  27447. "lastreckondate": {
  27448. "description": "最新交易日(结算成功)",
  27449. "type": "string"
  27450. },
  27451. "machinedate": {
  27452. "description": "机器时间",
  27453. "type": "string"
  27454. },
  27455. "manualflag": {
  27456. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27457. "type": "integer"
  27458. },
  27459. "marketid": {
  27460. "description": "市场ID",
  27461. "type": "integer"
  27462. },
  27463. "nexttradedate": {
  27464. "description": "下一交易日",
  27465. "type": "string"
  27466. },
  27467. "pretradedate": {
  27468. "description": "上一交易日",
  27469. "type": "string"
  27470. },
  27471. "reckonflag": {
  27472. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27473. "type": "integer"
  27474. },
  27475. "runstatus": {
  27476. "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.今日免清算",
  27477. "type": "integer"
  27478. },
  27479. "sectionid": {
  27480. "description": "时间段号[多时段时用]",
  27481. "type": "integer"
  27482. },
  27483. "tradedate": {
  27484. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27485. "type": "string"
  27486. },
  27487. "tradedate2": {
  27488. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27489. "type": "string"
  27490. },
  27491. "updatetime": {
  27492. "description": "更新时间",
  27493. "type": "string"
  27494. }
  27495. }
  27496. },
  27497. "models.Messageboard": {
  27498. "type": "object",
  27499. "required": [
  27500. "messageboardid"
  27501. ],
  27502. "properties": {
  27503. "contactnum": {
  27504. "description": "联系电话",
  27505. "type": "string"
  27506. },
  27507. "createtime": {
  27508. "description": "创建时间",
  27509. "type": "string"
  27510. },
  27511. "message": {
  27512. "description": "留言信息",
  27513. "type": "string"
  27514. },
  27515. "messageboardid": {
  27516. "description": "留言簿ID(SEQ_MessageBoard)",
  27517. "type": "integer"
  27518. },
  27519. "userid": {
  27520. "description": "用户ID",
  27521. "type": "integer"
  27522. }
  27523. }
  27524. },
  27525. "models.MyCoupon": {
  27526. "type": "object",
  27527. "required": [
  27528. "accountid",
  27529. "coupontypeid"
  27530. ],
  27531. "properties": {
  27532. "accountid": {
  27533. "description": "资金账户ID",
  27534. "type": "integer"
  27535. },
  27536. "areauserid": {
  27537. "description": "所属机构",
  27538. "type": "integer"
  27539. },
  27540. "conditionvalue": {
  27541. "description": "条件阈值(可为0)",
  27542. "type": "number"
  27543. },
  27544. "couponcategroy": {
  27545. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27546. "type": "integer"
  27547. },
  27548. "couponname": {
  27549. "description": "优惠券名称",
  27550. "type": "string"
  27551. },
  27552. "coupontypeid": {
  27553. "description": "优惠券类型ID",
  27554. "type": "string"
  27555. },
  27556. "couponvalue": {
  27557. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27558. "type": "number"
  27559. },
  27560. "curfreezeqty": {
  27561. "description": "期末冻结数量",
  27562. "type": "integer"
  27563. },
  27564. "curqty": {
  27565. "description": "期末数量",
  27566. "type": "integer"
  27567. },
  27568. "isgeneral": {
  27569. "description": "是否通用券 - 0:否 1:是",
  27570. "type": "integer"
  27571. },
  27572. "isunusable": {
  27573. "description": "是否不可用",
  27574. "type": "boolean"
  27575. },
  27576. "limitedflag": {
  27577. "description": "是否指定商品 - 0:不限 1:限制",
  27578. "type": "integer"
  27579. },
  27580. "limitedgoodsids": {
  27581. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27582. "type": "string"
  27583. },
  27584. "orifreezeqty": {
  27585. "description": "期初冻结数量",
  27586. "type": "integer"
  27587. },
  27588. "oriqty": {
  27589. "description": "期初数量",
  27590. "type": "integer"
  27591. },
  27592. "reasontype": {
  27593. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27594. "type": "integer"
  27595. },
  27596. "todaydecrease": {
  27597. "description": "今日减少",
  27598. "type": "integer"
  27599. },
  27600. "todayincrease": {
  27601. "description": "今日增加",
  27602. "type": "integer"
  27603. },
  27604. "userid": {
  27605. "description": "用户ID",
  27606. "type": "integer"
  27607. },
  27608. "userscope": {
  27609. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27610. "type": "string"
  27611. }
  27612. }
  27613. },
  27614. "models.MyCouponHold": {
  27615. "type": "object",
  27616. "required": [
  27617. "couponholdid"
  27618. ],
  27619. "properties": {
  27620. "accountid": {
  27621. "description": "资金账户ID",
  27622. "type": "integer"
  27623. },
  27624. "conditionvalue": {
  27625. "description": "条件阈值(可为0)",
  27626. "type": "number"
  27627. },
  27628. "couponcategroy": {
  27629. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27630. "type": "integer"
  27631. },
  27632. "couponholdid": {
  27633. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27634. "type": "string"
  27635. },
  27636. "couponname": {
  27637. "description": "优惠券名称",
  27638. "type": "string"
  27639. },
  27640. "coupontypeid": {
  27641. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27642. "type": "string"
  27643. },
  27644. "couponvalue": {
  27645. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27646. "type": "number"
  27647. },
  27648. "createtime": {
  27649. "description": "创建时间",
  27650. "type": "string"
  27651. },
  27652. "enddate": {
  27653. "description": "结束日期",
  27654. "type": "string"
  27655. },
  27656. "giveapplyid": {
  27657. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27658. "type": "integer"
  27659. },
  27660. "holdstatus": {
  27661. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27662. "type": "integer"
  27663. },
  27664. "isgeneral": {
  27665. "description": "是否通用券 - 0:否 1:是",
  27666. "type": "integer"
  27667. },
  27668. "limitedflag": {
  27669. "description": "是否指定商品 - 0:不限 1:限制",
  27670. "type": "integer"
  27671. },
  27672. "limitedgoodsids": {
  27673. "description": "指定商品IDs[逗号分隔]",
  27674. "type": "string"
  27675. },
  27676. "qty": {
  27677. "description": "数量(按1平铺)",
  27678. "type": "integer"
  27679. },
  27680. "startdate": {
  27681. "description": "开始日期",
  27682. "type": "string"
  27683. },
  27684. "userid": {
  27685. "description": "用户ID",
  27686. "type": "integer"
  27687. },
  27688. "userscope": {
  27689. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27690. "type": "string"
  27691. }
  27692. }
  27693. },
  27694. "models.MyUsedCoupon": {
  27695. "type": "object",
  27696. "required": [
  27697. "coupontypeid",
  27698. "orderid"
  27699. ],
  27700. "properties": {
  27701. "accountid": {
  27702. "description": "资金账户ID(买方)",
  27703. "type": "integer"
  27704. },
  27705. "conditionvalue": {
  27706. "description": "条件阈值(可为0)",
  27707. "type": "number"
  27708. },
  27709. "couponcategroy": {
  27710. "description": "种类 - 1:现金券 2:折扣券",
  27711. "type": "integer"
  27712. },
  27713. "couponname": {
  27714. "description": "优惠券名称",
  27715. "type": "string"
  27716. },
  27717. "coupontypeid": {
  27718. "description": "优惠券类型ID(买方)",
  27719. "type": "string"
  27720. },
  27721. "couponvalue": {
  27722. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27723. "type": "number"
  27724. },
  27725. "createtime": {
  27726. "description": "创建时间",
  27727. "type": "string"
  27728. },
  27729. "goodsid": {
  27730. "description": "商品ID",
  27731. "type": "integer"
  27732. },
  27733. "handlestatus": {
  27734. "description": "处理状态",
  27735. "type": "integer"
  27736. },
  27737. "marketid": {
  27738. "description": "市场ID",
  27739. "type": "integer"
  27740. },
  27741. "offamount": {
  27742. "description": "优惠金额",
  27743. "type": "number"
  27744. },
  27745. "orderid": {
  27746. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27747. "type": "string"
  27748. },
  27749. "sellaccountid": {
  27750. "description": "资金账户ID(卖方)",
  27751. "type": "integer"
  27752. },
  27753. "tradeamount": {
  27754. "description": "成交金额",
  27755. "type": "number"
  27756. },
  27757. "tradeid": {
  27758. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27759. "type": "string"
  27760. },
  27761. "usedqty": {
  27762. "description": "使用数量",
  27763. "type": "integer"
  27764. }
  27765. }
  27766. },
  27767. "models.OperationPrimaryMenu": {
  27768. "type": "object",
  27769. "properties": {
  27770. "Children": {
  27771. "description": "二级功能菜单",
  27772. "type": "array",
  27773. "items": {
  27774. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27775. }
  27776. },
  27777. "Key": {
  27778. "description": "菜单KEY",
  27779. "type": "string"
  27780. },
  27781. "Label": {
  27782. "description": "菜单标题",
  27783. "type": "string"
  27784. }
  27785. }
  27786. },
  27787. "models.OperationSecondaryMenu": {
  27788. "type": "object",
  27789. "properties": {
  27790. "Key": {
  27791. "description": "菜单KEY",
  27792. "type": "string"
  27793. },
  27794. "Label": {
  27795. "description": "菜单标题",
  27796. "type": "string"
  27797. },
  27798. "TabList": {
  27799. "description": "三级功能菜单",
  27800. "type": "array",
  27801. "items": {
  27802. "$ref": "#/definitions/models.OperationTabMenu"
  27803. }
  27804. }
  27805. }
  27806. },
  27807. "models.OperationTabMenu": {
  27808. "type": "object",
  27809. "properties": {
  27810. "Key": {
  27811. "description": "菜单KEY",
  27812. "type": "string"
  27813. },
  27814. "Label": {
  27815. "description": "菜单标题",
  27816. "type": "string"
  27817. }
  27818. }
  27819. },
  27820. "models.QhjAccountOutInApply": {
  27821. "type": "object",
  27822. "properties": {
  27823. "accountcode": {
  27824. "description": "资金账号",
  27825. "type": "string"
  27826. },
  27827. "accountname": {
  27828. "description": "用户名称(名称)",
  27829. "type": "string"
  27830. },
  27831. "accountpwd": {
  27832. "description": "资金密码",
  27833. "type": "string"
  27834. },
  27835. "accountticket": {
  27836. "description": "最新账户服务流水号",
  27837. "type": "string"
  27838. },
  27839. "amount": {
  27840. "description": "金额",
  27841. "type": "number"
  27842. },
  27843. "applyremark": {
  27844. "description": "申请备注",
  27845. "type": "string"
  27846. },
  27847. "applystatus": {
  27848. "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: 复审通过,账户冻结金额检查中;",
  27849. "type": "integer"
  27850. },
  27851. "auditid": {
  27852. "description": "审核人",
  27853. "type": "integer"
  27854. },
  27855. "audittime": {
  27856. "description": "审核时间",
  27857. "type": "string"
  27858. },
  27859. "bank_apply_ticket": {
  27860. "description": "银行申请流水",
  27861. "type": "string"
  27862. },
  27863. "bankaccountname": {
  27864. "description": "银行账户名",
  27865. "type": "string"
  27866. },
  27867. "bankaccountno": {
  27868. "description": "银行卡号",
  27869. "type": "string"
  27870. },
  27871. "bankid": {
  27872. "description": "银行编号",
  27873. "type": "string"
  27874. },
  27875. "bankticket": {
  27876. "description": "银行流水",
  27877. "type": "string"
  27878. },
  27879. "branchbankid": {
  27880. "description": "银行支行号",
  27881. "type": "string"
  27882. },
  27883. "branchbankname": {
  27884. "description": "银行支行名称",
  27885. "type": "string"
  27886. },
  27887. "capamountout": {
  27888. "description": "出金(劣后本金) - 外部子账户",
  27889. "type": "number"
  27890. },
  27891. "certificatephotourl": {
  27892. "description": "凭证地址",
  27893. "type": "string"
  27894. },
  27895. "charge": {
  27896. "description": "手续费",
  27897. "type": "number"
  27898. },
  27899. "checkerrorflag": {
  27900. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27901. "type": "integer"
  27902. },
  27903. "currency": {
  27904. "description": "币种",
  27905. "type": "string"
  27906. },
  27907. "cusbankid": {
  27908. "description": "托管银行编号",
  27909. "type": "string"
  27910. },
  27911. "exchticket": {
  27912. "description": "银行服务流水号",
  27913. "type": "string"
  27914. },
  27915. "executetype": {
  27916. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27917. "type": "integer"
  27918. },
  27919. "extendinfo": {
  27920. "description": "扩展信息",
  27921. "type": "string"
  27922. },
  27923. "extoperateid": {
  27924. "description": "交易服务流水号",
  27925. "type": "integer"
  27926. },
  27927. "infamount": {
  27928. "description": "劣后金额(自有)",
  27929. "type": "number"
  27930. },
  27931. "logincode": {
  27932. "description": "登录账号(账号)",
  27933. "type": "string"
  27934. },
  27935. "netaddr": {
  27936. "description": "调转网址",
  27937. "type": "string"
  27938. },
  27939. "priamount": {
  27940. "description": "优先金额(授信)",
  27941. "type": "number"
  27942. },
  27943. "reauditid": {
  27944. "description": "复审人",
  27945. "type": "integer"
  27946. },
  27947. "reauditremark": {
  27948. "description": "复审备注",
  27949. "type": "string"
  27950. },
  27951. "reaudittime": {
  27952. "description": "复审时间",
  27953. "type": "string"
  27954. },
  27955. "relatedorderid": {
  27956. "description": "三方关联ID",
  27957. "type": "string"
  27958. },
  27959. "remark": {
  27960. "description": "备注",
  27961. "type": "string"
  27962. },
  27963. "remark2": {
  27964. "description": "备注(失败原因)",
  27965. "type": "string"
  27966. },
  27967. "soucreamount": {
  27968. "description": "原始出入金金额",
  27969. "type": "number"
  27970. },
  27971. "soucrecurrencyid": {
  27972. "description": "原始出入金币种",
  27973. "type": "integer"
  27974. },
  27975. "tradedate": {
  27976. "description": "交易日(yyyyMMdd)",
  27977. "type": "string"
  27978. },
  27979. "updatetime": {
  27980. "description": "更新时间(申请时间)",
  27981. "type": "string"
  27982. },
  27983. "userid": {
  27984. "description": "用户id",
  27985. "type": "integer"
  27986. },
  27987. "userinfotype": {
  27988. "description": "账户类型 1-个人 2-企业",
  27989. "type": "integer"
  27990. }
  27991. }
  27992. },
  27993. "models.QhjAgreementChangeLog": {
  27994. "type": "object",
  27995. "properties": {
  27996. "agreementcontent": {
  27997. "description": "协议内容",
  27998. "type": "string"
  27999. },
  28000. "agreementfrequency": {
  28001. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28002. "type": "integer"
  28003. },
  28004. "agreementid": {
  28005. "description": "协议ID",
  28006. "type": "integer"
  28007. },
  28008. "agreementname": {
  28009. "description": "协议名称",
  28010. "type": "string"
  28011. },
  28012. "agreementno": {
  28013. "description": "协议编号",
  28014. "type": "string"
  28015. },
  28016. "agreementtype": {
  28017. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28018. "type": "integer"
  28019. },
  28020. "agreementversion": {
  28021. "description": "协议版本号",
  28022. "type": "integer"
  28023. },
  28024. "logid": {
  28025. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28026. "type": "integer"
  28027. },
  28028. "reviserid": {
  28029. "description": "修改人",
  28030. "type": "integer"
  28031. },
  28032. "revisersrc": {
  28033. "description": "修改来源 - 1:管理端 2:终端",
  28034. "type": "integer"
  28035. },
  28036. "updatetime": {
  28037. "description": "更新时间",
  28038. "type": "string"
  28039. }
  28040. }
  28041. },
  28042. "models.QhjAgreementConfig": {
  28043. "type": "object",
  28044. "properties": {
  28045. "agreementcontent": {
  28046. "description": "协议内容",
  28047. "type": "string"
  28048. },
  28049. "agreementfrequency": {
  28050. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28051. "type": "integer"
  28052. },
  28053. "agreementid": {
  28054. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28055. "type": "integer"
  28056. },
  28057. "agreementname": {
  28058. "description": "协议名称",
  28059. "type": "string"
  28060. },
  28061. "agreementno": {
  28062. "description": "协议编号",
  28063. "type": "string"
  28064. },
  28065. "agreementtype": {
  28066. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28067. "type": "integer"
  28068. },
  28069. "agreementversion": {
  28070. "description": "协议版本号(从1开始每次修改加1)",
  28071. "type": "integer"
  28072. },
  28073. "createtime": {
  28074. "description": "创建时间",
  28075. "type": "string"
  28076. },
  28077. "creatorid": {
  28078. "description": "创建人",
  28079. "type": "integer"
  28080. },
  28081. "creatorsrc": {
  28082. "description": "创建来源 - 1:管理端 2:终端",
  28083. "type": "integer"
  28084. },
  28085. "isvalid": {
  28086. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28087. "type": "integer"
  28088. },
  28089. "reviserid": {
  28090. "description": "修改人",
  28091. "type": "integer"
  28092. },
  28093. "revisersrc": {
  28094. "description": "修改来源 - 1:管理端 2:终端",
  28095. "type": "integer"
  28096. },
  28097. "updatetime": {
  28098. "description": "更新时间",
  28099. "type": "string"
  28100. }
  28101. }
  28102. },
  28103. "models.QhjAreaFinanceConfig": {
  28104. "type": "object",
  28105. "properties": {
  28106. "additionalratio": {
  28107. "description": "追加款比例",
  28108. "type": "number"
  28109. },
  28110. "advanceratio": {
  28111. "description": "预付款比例",
  28112. "type": "number"
  28113. },
  28114. "alarmratio": {
  28115. "description": "告警比例",
  28116. "type": "number"
  28117. },
  28118. "consumptiondirectreward": {
  28119. "description": "消费直推奖励值",
  28120. "type": "number"
  28121. },
  28122. "consumptionenabled": {
  28123. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28124. "type": "integer"
  28125. },
  28126. "consumptionindirectreward": {
  28127. "description": "消费间推奖励值",
  28128. "type": "number"
  28129. },
  28130. "consumptionmodel": {
  28131. "description": "消费奖励方式 - 1:比率 2:固定",
  28132. "type": "integer"
  28133. },
  28134. "customerservicenum": {
  28135. "description": "客服电话",
  28136. "type": "string"
  28137. },
  28138. "dayinterestrate": {
  28139. "description": "日利率",
  28140. "type": "number"
  28141. },
  28142. "disableconsumptiontips": {
  28143. "description": "关闭消费奖励提示",
  28144. "type": "string"
  28145. },
  28146. "modifierid": {
  28147. "description": "修改人ID",
  28148. "type": "integer"
  28149. },
  28150. "modifysrc": {
  28151. "description": "审核来源 - 1:管理端 2:终端",
  28152. "type": "integer"
  28153. },
  28154. "modifytime": {
  28155. "description": "修改时间",
  28156. "type": "string"
  28157. },
  28158. "promotionvalue": {
  28159. "description": "推广奖励值(固定)",
  28160. "type": "number"
  28161. },
  28162. "scoreconfigvalue1": {
  28163. "description": "提货积分配置1",
  28164. "type": "integer"
  28165. },
  28166. "scoreconfigvalue2": {
  28167. "description": "提货积分配置2",
  28168. "type": "integer"
  28169. },
  28170. "userid": {
  28171. "description": "机构用户ID其他做市关系,都设置为 1",
  28172. "type": "integer"
  28173. },
  28174. "username": {
  28175. "description": "用户名称",
  28176. "type": "string"
  28177. }
  28178. }
  28179. },
  28180. "models.QhjBankAccountSign": {
  28181. "type": "object",
  28182. "properties": {
  28183. "accountcode": {
  28184. "description": "资金账号",
  28185. "type": "string"
  28186. },
  28187. "accountname": {
  28188. "description": "资金账号对应的账号名(UserName)",
  28189. "type": "string"
  28190. },
  28191. "accountname2": {
  28192. "description": "资金账号对应的账号名(UserName) - 密文",
  28193. "type": "string"
  28194. },
  28195. "accounttype": {
  28196. "description": "账户类型(UserType)",
  28197. "type": "integer"
  28198. },
  28199. "applicationtime": {
  28200. "description": "最后一次更新的时间",
  28201. "type": "string"
  28202. },
  28203. "applyexchticket": {
  28204. "description": "申请流水",
  28205. "type": "string"
  28206. },
  28207. "auditid": {
  28208. "description": "审核人",
  28209. "type": "integer"
  28210. },
  28211. "audittime": {
  28212. "description": "审核时间",
  28213. "type": "string"
  28214. },
  28215. "bankaccountname": {
  28216. "description": "签约银行卡账号名",
  28217. "type": "string"
  28218. },
  28219. "bankaccountname2": {
  28220. "description": "签约银行卡账号名 - 密文",
  28221. "type": "string"
  28222. },
  28223. "bankaccountno": {
  28224. "description": "银行卡号",
  28225. "type": "string"
  28226. },
  28227. "bankaccountno2": {
  28228. "description": "银行卡号 - 密文",
  28229. "type": "string"
  28230. },
  28231. "bankaccounttype": {
  28232. "description": "银行账户类型 - 1-对私; 2-对公",
  28233. "type": "integer"
  28234. },
  28235. "bankcardtype": {
  28236. "description": "银行卡类型",
  28237. "type": "integer"
  28238. },
  28239. "bankchildaccount": {
  28240. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28241. "type": "string"
  28242. },
  28243. "bankcity": {
  28244. "description": "开户行城市",
  28245. "type": "string"
  28246. },
  28247. "bankid": {
  28248. "description": "签约银行ID",
  28249. "type": "string"
  28250. },
  28251. "bankname": {
  28252. "description": "签约银行名称",
  28253. "type": "string"
  28254. },
  28255. "bankprovince": {
  28256. "description": "开户行省份",
  28257. "type": "string"
  28258. },
  28259. "branchbankid": {
  28260. "description": "签约银行支行号",
  28261. "type": "string"
  28262. },
  28263. "branchbankname": {
  28264. "description": "签约银行支行名称",
  28265. "type": "string"
  28266. },
  28267. "cardno": {
  28268. "description": "证件号码",
  28269. "type": "string"
  28270. },
  28271. "cardno2": {
  28272. "description": "证件号码 - 密文",
  28273. "type": "string"
  28274. },
  28275. "cardtype": {
  28276. "description": "证件类型",
  28277. "type": "string"
  28278. },
  28279. "currency": {
  28280. "description": "币种",
  28281. "type": "string"
  28282. },
  28283. "cusbankid": {
  28284. "description": "托管银行编号",
  28285. "type": "string"
  28286. },
  28287. "direct": {
  28288. "description": "方向(可以判断那方先发起的签约)",
  28289. "type": "integer"
  28290. },
  28291. "exchticket": {
  28292. "description": "最后一次签约成功的流水号",
  28293. "type": "string"
  28294. },
  28295. "extendinfo": {
  28296. "description": "扩展信息(JSON字符串)",
  28297. "type": "string"
  28298. },
  28299. "mobilephone": {
  28300. "description": "手机号",
  28301. "type": "string"
  28302. },
  28303. "mobilephone2": {
  28304. "description": "手机号 - 密文",
  28305. "type": "string"
  28306. },
  28307. "netaddr": {
  28308. "description": "调转网址",
  28309. "type": "string"
  28310. },
  28311. "relateduserid": {
  28312. "description": "关联使用者userid",
  28313. "type": "integer"
  28314. },
  28315. "signstatus": {
  28316. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28317. "type": "integer"
  28318. },
  28319. "updatetime": {
  28320. "description": "更新时间(签解约更新时间)",
  28321. "type": "string"
  28322. }
  28323. }
  28324. },
  28325. "models.QhjBankInfo": {
  28326. "type": "object",
  28327. "properties": {
  28328. "bankid": {
  28329. "description": "银行ID",
  28330. "type": "string"
  28331. },
  28332. "bankname": {
  28333. "description": "银行名称",
  28334. "type": "string"
  28335. },
  28336. "clearbankno": {
  28337. "description": "清算系统银行编号",
  28338. "type": "string"
  28339. },
  28340. "orderindex": {
  28341. "description": "排序顺序",
  28342. "type": "integer"
  28343. },
  28344. "status": {
  28345. "description": "状态 - 0:正常 1:注销",
  28346. "type": "integer"
  28347. }
  28348. }
  28349. },
  28350. "models.QhjBrokerApply": {
  28351. "type": "object",
  28352. "properties": {
  28353. "applicantid": {
  28354. "description": "申请人",
  28355. "type": "integer"
  28356. },
  28357. "applysrc": {
  28358. "description": "申请来源 - 1:管理端 2:终端",
  28359. "type": "integer"
  28360. },
  28361. "applystatus": {
  28362. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28363. "type": "integer"
  28364. },
  28365. "applytime": {
  28366. "description": "申请时间",
  28367. "type": "string"
  28368. },
  28369. "auditorid": {
  28370. "description": "审核人",
  28371. "type": "integer"
  28372. },
  28373. "auditremark": {
  28374. "description": "审核备注",
  28375. "type": "string"
  28376. },
  28377. "auditsrc": {
  28378. "description": "审核来源 - 1:管理端 2:终端",
  28379. "type": "integer"
  28380. },
  28381. "audittime": {
  28382. "description": "审核时间",
  28383. "type": "string"
  28384. },
  28385. "audittradedate": {
  28386. "description": "审核交易日(yyyyMMdd)",
  28387. "type": "string"
  28388. },
  28389. "brokerapplyid": {
  28390. "description": "申请ID(SEQ_BROKERAPPLY)",
  28391. "type": "integer"
  28392. },
  28393. "cardbackphotourl": {
  28394. "description": "证件背面图片地址",
  28395. "type": "string"
  28396. },
  28397. "cardfrontphotourl": {
  28398. "description": "证件正面图片地址",
  28399. "type": "string"
  28400. },
  28401. "cardnum": {
  28402. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28403. "type": "string"
  28404. },
  28405. "customername": {
  28406. "description": "姓名",
  28407. "type": "string"
  28408. },
  28409. "logincode": {
  28410. "description": "登录代码",
  28411. "type": "string"
  28412. },
  28413. "mobile": {
  28414. "description": "手机号码",
  28415. "type": "string"
  28416. },
  28417. "parentuserid": {
  28418. "description": "所属机构id",
  28419. "type": "integer"
  28420. },
  28421. "parentusername": {
  28422. "description": "所属机构名称",
  28423. "type": "string"
  28424. },
  28425. "refereeuserid": {
  28426. "description": "推荐人id(经纪人)",
  28427. "type": "integer"
  28428. },
  28429. "refernum": {
  28430. "description": "推荐码",
  28431. "type": "string"
  28432. },
  28433. "remark": {
  28434. "description": "备注",
  28435. "type": "string"
  28436. },
  28437. "subarealevelpath": {
  28438. "description": "层级路径",
  28439. "type": "string"
  28440. },
  28441. "tradedate": {
  28442. "description": "交易日(yyyyMMdd)",
  28443. "type": "string"
  28444. },
  28445. "userid": {
  28446. "description": "申请人用户ID",
  28447. "type": "integer"
  28448. },
  28449. "userinfotype": {
  28450. "description": "用户类型 1-个人 2-企业",
  28451. "type": "integer"
  28452. },
  28453. "username": {
  28454. "description": "用户名称",
  28455. "type": "string"
  28456. }
  28457. }
  28458. },
  28459. "models.QhjBrokerApplyEx": {
  28460. "type": "object",
  28461. "properties": {
  28462. "applylist": {
  28463. "description": "经纪人申请记录(只返回最新一条)",
  28464. "type": "array",
  28465. "items": {
  28466. "$ref": "#/definitions/models.QhjBrokerApply"
  28467. }
  28468. },
  28469. "canrecommend": {
  28470. "description": "是否经纪人 0-不是 1-是",
  28471. "type": "integer"
  28472. },
  28473. "refernum": {
  28474. "description": "推荐码",
  28475. "type": "string"
  28476. },
  28477. "userid": {
  28478. "description": "用户id",
  28479. "type": "integer"
  28480. },
  28481. "userinfotype": {
  28482. "description": "用户类型 1-个人 2-企业",
  28483. "type": "integer"
  28484. }
  28485. }
  28486. },
  28487. "models.QhjBrokerRewardLog": {
  28488. "type": "object",
  28489. "properties": {
  28490. "accountid": {
  28491. "description": "资金账号ID",
  28492. "type": "integer"
  28493. },
  28494. "createtime": {
  28495. "description": "创建时间(时间)",
  28496. "type": "string"
  28497. },
  28498. "handlestatus": {
  28499. "description": "处理状态",
  28500. "type": "integer"
  28501. },
  28502. "logid": {
  28503. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28504. "type": "string"
  28505. },
  28506. "marketid": {
  28507. "description": "市场ID",
  28508. "type": "integer"
  28509. },
  28510. "mmaccountid": {
  28511. "description": "做市商资金账号ID",
  28512. "type": "string"
  28513. },
  28514. "mmuserid": {
  28515. "description": "做市商用户ID",
  28516. "type": "string"
  28517. },
  28518. "rewardamount": {
  28519. "description": "奖励金额",
  28520. "type": "number"
  28521. },
  28522. "rewardmodel": {
  28523. "description": "消费奖励方式 - 1:比率 2:固定",
  28524. "type": "integer"
  28525. },
  28526. "rewardtype": {
  28527. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28528. "type": "integer"
  28529. },
  28530. "rewardvalue": {
  28531. "description": "配置奖励值",
  28532. "type": "number"
  28533. },
  28534. "srcamount": {
  28535. "description": "成交金额 [消费奖励] (金额)",
  28536. "type": "number"
  28537. },
  28538. "srcgoodsid": {
  28539. "description": "来源商品ID [消费奖励]",
  28540. "type": "string"
  28541. },
  28542. "srctime": {
  28543. "description": "来源时间 (成交时间) [消费奖励]",
  28544. "type": "string"
  28545. },
  28546. "srctradeid": {
  28547. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28548. "type": "string"
  28549. },
  28550. "srcuserid": {
  28551. "description": "来源用户ID(推广账户)",
  28552. "type": "string"
  28553. },
  28554. "srcusername": {
  28555. "description": "推广账户名称",
  28556. "type": "string"
  28557. },
  28558. "tradedate": {
  28559. "description": "交易日(yyyyMMdd)",
  28560. "type": "string"
  28561. },
  28562. "userid": {
  28563. "description": "经纪人用户ID",
  28564. "type": "integer"
  28565. }
  28566. }
  28567. },
  28568. "models.QhjContract": {
  28569. "type": "object",
  28570. "properties": {
  28571. "contractconfirmtime": {
  28572. "description": "合同确认时间(时间)",
  28573. "type": "string"
  28574. },
  28575. "currisklevel": {
  28576. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28577. "type": "integer"
  28578. },
  28579. "decimalplace": {
  28580. "description": "商品报价小数位",
  28581. "type": "integer"
  28582. },
  28583. "enumdicname": {
  28584. "description": "单位名称",
  28585. "type": "string"
  28586. },
  28587. "goodscode": {
  28588. "description": "商品代码",
  28589. "type": "string"
  28590. },
  28591. "goodsid": {
  28592. "description": "商品ID [5:融资单]",
  28593. "type": "integer"
  28594. },
  28595. "goodsname": {
  28596. "description": "商品名称",
  28597. "type": "string"
  28598. },
  28599. "goodunitid": {
  28600. "description": "商品单位id",
  28601. "type": "integer"
  28602. },
  28603. "initmargin": {
  28604. "description": "初始保证金(首付款)",
  28605. "type": "number"
  28606. },
  28607. "lenderamount": {
  28608. "description": "贷款金额(总额|订单总额)",
  28609. "type": "number"
  28610. },
  28611. "marginratio": {
  28612. "description": "保证金比率(首付比例)",
  28613. "type": "number"
  28614. },
  28615. "payamount": {
  28616. "description": "已付(已付货款)",
  28617. "type": "number"
  28618. },
  28619. "reckonrecovermargin": {
  28620. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28621. "type": "number"
  28622. },
  28623. "recoveredmargin": {
  28624. "description": "已追缴保证金",
  28625. "type": "number"
  28626. },
  28627. "remainamount": {
  28628. "description": "合同剩余金额(融资额)",
  28629. "type": "number"
  28630. },
  28631. "scfcontractid": {
  28632. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28633. "type": "string"
  28634. },
  28635. "scfcontractstatus": {
  28636. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28637. "type": "integer"
  28638. },
  28639. "scfcontracttype": {
  28640. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28641. "type": "integer"
  28642. },
  28643. "totalinterest": {
  28644. "description": "已计总利息(利息)",
  28645. "type": "number"
  28646. },
  28647. "tradeprice": {
  28648. "description": "成交价格(成本价格)",
  28649. "type": "number"
  28650. },
  28651. "userid": {
  28652. "description": "用户ID",
  28653. "type": "integer"
  28654. },
  28655. "username": {
  28656. "description": "用户名称",
  28657. "type": "string"
  28658. },
  28659. "wrqty": {
  28660. "description": "仓单数量(数量)",
  28661. "type": "number"
  28662. }
  28663. }
  28664. },
  28665. "models.QhjContractLog": {
  28666. "type": "object",
  28667. "properties": {
  28668. "amount": {
  28669. "description": "支付金额",
  28670. "type": "number"
  28671. },
  28672. "amounttype": {
  28673. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28674. "type": "integer"
  28675. },
  28676. "logid": {
  28677. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28678. "type": "string"
  28679. },
  28680. "remainamount": {
  28681. "description": "剩余货款",
  28682. "type": "number"
  28683. },
  28684. "scfcontractid": {
  28685. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28686. "type": "integer"
  28687. },
  28688. "updatetime": {
  28689. "description": "更新时间",
  28690. "type": "string"
  28691. }
  28692. }
  28693. },
  28694. "models.QhjCusBankSignBankEx": {
  28695. "type": "object",
  28696. "properties": {
  28697. "banklst": {
  28698. "description": "银行列表",
  28699. "type": "array",
  28700. "items": {
  28701. "$ref": "#/definitions/models.QhjBankInfo"
  28702. }
  28703. },
  28704. "canallot": {
  28705. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28706. "type": "integer"
  28707. },
  28708. "canallotquery": {
  28709. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28710. "type": "integer"
  28711. },
  28712. "canbindcard": {
  28713. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28714. "type": "integer"
  28715. },
  28716. "caninamount": {
  28717. "description": "是否可入金 - 0:不可 1:可以",
  28718. "type": "integer"
  28719. },
  28720. "caninamount2": {
  28721. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28722. "type": "integer"
  28723. },
  28724. "canmodifybankcard": {
  28725. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28726. "type": "integer"
  28727. },
  28728. "canmodifyphone": {
  28729. "description": "是否可修改手机号 - 0:不可 1:可以",
  28730. "type": "integer"
  28731. },
  28732. "canmodifysigninfo": {
  28733. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28734. "type": "integer"
  28735. },
  28736. "canoutamount": {
  28737. "description": "是否可出金 - 0:不可 1:可以",
  28738. "type": "integer"
  28739. },
  28740. "canoutamount2": {
  28741. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28742. "type": "integer"
  28743. },
  28744. "canrelease": {
  28745. "description": "是否可解约 - 0:不可 1:可以",
  28746. "type": "integer"
  28747. },
  28748. "canrelease2": {
  28749. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28750. "type": "integer"
  28751. },
  28752. "cansign": {
  28753. "description": "是否可签约 - 0:不可 1:可以",
  28754. "type": "integer"
  28755. },
  28756. "cansign2": {
  28757. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28758. "type": "integer"
  28759. },
  28760. "currency": {
  28761. "description": "币种",
  28762. "type": "string"
  28763. },
  28764. "cusbankid": {
  28765. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28766. "type": "string"
  28767. },
  28768. "cusbankname": {
  28769. "description": "银行业务名称",
  28770. "type": "string"
  28771. },
  28772. "cusbankshortname": {
  28773. "description": "银行业务简称",
  28774. "type": "string"
  28775. },
  28776. "exchbankid": {
  28777. "description": "交易所开户银行ID",
  28778. "type": "string"
  28779. },
  28780. "exchpaybankaccname": {
  28781. "description": "交易所支出结算账户户名",
  28782. "type": "string"
  28783. },
  28784. "exchpaybankaccno": {
  28785. "description": "交易所支出结算账户",
  28786. "type": "string"
  28787. },
  28788. "isneedcheck": {
  28789. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28790. "type": "integer"
  28791. },
  28792. "isneedclear": {
  28793. "description": "是否需要清算 - 0:不需要 1:需要",
  28794. "type": "integer"
  28795. },
  28796. "lastcheckstatus": {
  28797. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28798. "type": "integer"
  28799. },
  28800. "lastchecktime": {
  28801. "description": "最后对账时间",
  28802. "type": "string"
  28803. },
  28804. "lastclearstatus": {
  28805. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28806. "type": "integer"
  28807. },
  28808. "lastcleartime": {
  28809. "description": "最后清算时间",
  28810. "type": "string"
  28811. },
  28812. "lastsignintime": {
  28813. "description": "最后签到时间",
  28814. "type": "string"
  28815. },
  28816. "lastsignouttime": {
  28817. "description": "最后签退时间",
  28818. "type": "string"
  28819. },
  28820. "riskinfo": {
  28821. "description": "签约风险提示书",
  28822. "type": "string"
  28823. },
  28824. "signstatus": {
  28825. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28826. "type": "integer"
  28827. },
  28828. "tradedate": {
  28829. "description": "交易日(yyyyMMdd)",
  28830. "type": "string"
  28831. },
  28832. "updatetime": {
  28833. "description": "当前签到/签退更新时间",
  28834. "type": "string"
  28835. }
  28836. }
  28837. },
  28838. "models.QhjCustomer": {
  28839. "type": "object",
  28840. "properties": {
  28841. "address": {
  28842. "description": "通讯地址",
  28843. "type": "string"
  28844. },
  28845. "attachment1": {
  28846. "description": "附件1",
  28847. "type": "string"
  28848. },
  28849. "attachment2": {
  28850. "description": "附件2",
  28851. "type": "string"
  28852. },
  28853. "audittime": {
  28854. "description": "审核时间",
  28855. "type": "string"
  28856. },
  28857. "cardbackphotourl": {
  28858. "description": "证件反面图片地址",
  28859. "type": "string"
  28860. },
  28861. "cardfrontphotourl": {
  28862. "description": "证件正面图片地址",
  28863. "type": "string"
  28864. },
  28865. "cardnum": {
  28866. "description": "证件号码",
  28867. "type": "string"
  28868. },
  28869. "cardtype": {
  28870. "description": "证件类型",
  28871. "type": "integer"
  28872. },
  28873. "cardtypename": {
  28874. "description": "证件类型名称",
  28875. "type": "string"
  28876. },
  28877. "cityid": {
  28878. "description": "市",
  28879. "type": "integer"
  28880. },
  28881. "cityname": {
  28882. "description": "城市名称",
  28883. "type": "string"
  28884. },
  28885. "contactname": {
  28886. "description": "联系人",
  28887. "type": "string"
  28888. },
  28889. "countryid": {
  28890. "description": "国家",
  28891. "type": "integer"
  28892. },
  28893. "countryname": {
  28894. "description": "国家名称",
  28895. "type": "string"
  28896. },
  28897. "createtime": {
  28898. "description": "创建时间",
  28899. "type": "string"
  28900. },
  28901. "customername": {
  28902. "description": "客户名称",
  28903. "type": "string"
  28904. },
  28905. "districtid": {
  28906. "description": "区域",
  28907. "type": "integer"
  28908. },
  28909. "districtname": {
  28910. "description": "地区名称",
  28911. "type": "string"
  28912. },
  28913. "email": {
  28914. "description": "邮件",
  28915. "type": "string"
  28916. },
  28917. "legalpersonname": {
  28918. "description": "法人姓名(企业)",
  28919. "type": "string"
  28920. },
  28921. "logincode": {
  28922. "description": "登录账号(代码)",
  28923. "type": "string"
  28924. },
  28925. "memberuserid": {
  28926. "description": "所属机构ID(所属会员)",
  28927. "type": "integer"
  28928. },
  28929. "memberusername": {
  28930. "description": "所属会员名称",
  28931. "type": "string"
  28932. },
  28933. "mobile": {
  28934. "description": "手机号码",
  28935. "type": "string"
  28936. },
  28937. "modifytime": {
  28938. "description": "修改时间",
  28939. "type": "string"
  28940. },
  28941. "nickname": {
  28942. "description": "昵称",
  28943. "type": "string"
  28944. },
  28945. "parentuserid": {
  28946. "description": "上级机构(所属机构)",
  28947. "type": "integer"
  28948. },
  28949. "parentusername": {
  28950. "description": "所属机构名称",
  28951. "type": "string"
  28952. },
  28953. "provinceid": {
  28954. "description": "省",
  28955. "type": "integer"
  28956. },
  28957. "provincename": {
  28958. "description": "省名称",
  28959. "type": "string"
  28960. },
  28961. "proxystatementurl": {
  28962. "description": "授权委托书",
  28963. "type": "string"
  28964. },
  28965. "remark": {
  28966. "description": "备注",
  28967. "type": "string"
  28968. },
  28969. "status": {
  28970. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28971. "type": "integer"
  28972. },
  28973. "statusdesc": {
  28974. "description": "账户状态中文描述",
  28975. "type": "string"
  28976. },
  28977. "taxpayernum": {
  28978. "description": "纳税人识别号",
  28979. "type": "string"
  28980. },
  28981. "telphone": {
  28982. "description": "联系电话",
  28983. "type": "string"
  28984. },
  28985. "userid": {
  28986. "description": "用户ID",
  28987. "type": "integer"
  28988. },
  28989. "userinfotype": {
  28990. "description": "客户类型 1-个人 2-企业",
  28991. "type": "integer"
  28992. },
  28993. "username": {
  28994. "description": "用户名称",
  28995. "type": "string"
  28996. }
  28997. }
  28998. },
  28999. "models.QhjCustomerSignLog": {
  29000. "type": "object",
  29001. "properties": {
  29002. "agreementcontent": {
  29003. "description": "协议内容",
  29004. "type": "string"
  29005. },
  29006. "agreementid": {
  29007. "description": "协议ID",
  29008. "type": "integer"
  29009. },
  29010. "agreementname": {
  29011. "description": "协议名称",
  29012. "type": "string"
  29013. },
  29014. "agreementno": {
  29015. "description": "协议编号",
  29016. "type": "string"
  29017. },
  29018. "agreementtype": {
  29019. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29020. "type": "integer"
  29021. },
  29022. "agreementversion": {
  29023. "description": "协议版本号",
  29024. "type": "integer"
  29025. },
  29026. "createtime": {
  29027. "description": "创建时间",
  29028. "type": "string"
  29029. },
  29030. "goodscode": {
  29031. "description": "商品代码",
  29032. "type": "string"
  29033. },
  29034. "goodsid": {
  29035. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29036. "type": "integer"
  29037. },
  29038. "goodsname": {
  29039. "description": "商品名称",
  29040. "type": "string"
  29041. },
  29042. "logid": {
  29043. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29044. "type": "integer"
  29045. },
  29046. "nodetype": {
  29047. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29048. "type": "integer"
  29049. },
  29050. "signadressurl": {
  29051. "description": "签约文件地址",
  29052. "type": "string"
  29053. },
  29054. "signtimestamp": {
  29055. "description": "签约状态时间戳",
  29056. "type": "string"
  29057. },
  29058. "userid": {
  29059. "description": "客户ID",
  29060. "type": "integer"
  29061. },
  29062. "username": {
  29063. "description": "客户名称",
  29064. "type": "string"
  29065. }
  29066. }
  29067. },
  29068. "models.QhjCustomerSignStatus": {
  29069. "type": "object",
  29070. "properties": {
  29071. "createtime": {
  29072. "description": "创建时间",
  29073. "type": "string"
  29074. },
  29075. "goodscode": {
  29076. "description": "商品代码",
  29077. "type": "string"
  29078. },
  29079. "goodsid": {
  29080. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29081. "type": "integer"
  29082. },
  29083. "goodsname": {
  29084. "description": "商品名称",
  29085. "type": "string"
  29086. },
  29087. "nodetype": {
  29088. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29089. "type": "integer"
  29090. },
  29091. "signtimestamp": {
  29092. "description": "签约状态时间戳",
  29093. "type": "string"
  29094. },
  29095. "tradedate": {
  29096. "description": "创建交易日(yyyyMMdd)",
  29097. "type": "string"
  29098. },
  29099. "updatetime": {
  29100. "description": "更新时间",
  29101. "type": "string"
  29102. },
  29103. "userid": {
  29104. "description": "客户ID",
  29105. "type": "integer"
  29106. },
  29107. "username": {
  29108. "description": "客户名称",
  29109. "type": "string"
  29110. }
  29111. }
  29112. },
  29113. "models.QhjMgrAccountOutInApply": {
  29114. "type": "object",
  29115. "properties": {
  29116. "accountcode": {
  29117. "description": "资金账号",
  29118. "type": "string"
  29119. },
  29120. "accountname": {
  29121. "description": "用户名称(名称)",
  29122. "type": "string"
  29123. },
  29124. "accountpwd": {
  29125. "description": "资金密码",
  29126. "type": "string"
  29127. },
  29128. "accountticket": {
  29129. "description": "最新账户服务流水号",
  29130. "type": "string"
  29131. },
  29132. "amount": {
  29133. "description": "金额",
  29134. "type": "number"
  29135. },
  29136. "applyremark": {
  29137. "description": "申请备注",
  29138. "type": "string"
  29139. },
  29140. "applystatus": {
  29141. "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: 复审通过,账户冻结金额检查中;",
  29142. "type": "integer"
  29143. },
  29144. "auditid": {
  29145. "description": "审核人",
  29146. "type": "integer"
  29147. },
  29148. "audittime": {
  29149. "description": "审核时间",
  29150. "type": "string"
  29151. },
  29152. "bank_apply_ticket": {
  29153. "description": "银行申请流水",
  29154. "type": "string"
  29155. },
  29156. "bankaccountname": {
  29157. "description": "银行账户名",
  29158. "type": "string"
  29159. },
  29160. "bankaccountno": {
  29161. "description": "银行卡号",
  29162. "type": "string"
  29163. },
  29164. "bankid": {
  29165. "description": "银行编号",
  29166. "type": "string"
  29167. },
  29168. "bankname": {
  29169. "description": "银行名称",
  29170. "type": "string"
  29171. },
  29172. "bankticket": {
  29173. "description": "银行流水",
  29174. "type": "string"
  29175. },
  29176. "branchbankid": {
  29177. "description": "银行支行号",
  29178. "type": "string"
  29179. },
  29180. "branchbankname": {
  29181. "description": "银行支行名称",
  29182. "type": "string"
  29183. },
  29184. "capamountout": {
  29185. "description": "出金(劣后本金) - 外部子账户",
  29186. "type": "number"
  29187. },
  29188. "certificatephotourl": {
  29189. "description": "凭证地址",
  29190. "type": "string"
  29191. },
  29192. "charge": {
  29193. "description": "手续费",
  29194. "type": "number"
  29195. },
  29196. "checkerrorflag": {
  29197. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29198. "type": "integer"
  29199. },
  29200. "currency": {
  29201. "description": "币种",
  29202. "type": "string"
  29203. },
  29204. "cusbankid": {
  29205. "description": "托管银行编号",
  29206. "type": "string"
  29207. },
  29208. "exchticket": {
  29209. "description": "银行服务流水号",
  29210. "type": "string"
  29211. },
  29212. "executetype": {
  29213. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29214. "type": "integer"
  29215. },
  29216. "extendinfo": {
  29217. "description": "扩展信息",
  29218. "type": "string"
  29219. },
  29220. "extoperateid": {
  29221. "description": "交易服务流水号",
  29222. "type": "integer"
  29223. },
  29224. "infamount": {
  29225. "description": "劣后金额(自有)",
  29226. "type": "number"
  29227. },
  29228. "logincode": {
  29229. "description": "登录账号(账号)",
  29230. "type": "string"
  29231. },
  29232. "netaddr": {
  29233. "description": "调转网址",
  29234. "type": "string"
  29235. },
  29236. "priamount": {
  29237. "description": "优先金额(授信)",
  29238. "type": "number"
  29239. },
  29240. "reauditid": {
  29241. "description": "复审人",
  29242. "type": "integer"
  29243. },
  29244. "reauditremark": {
  29245. "description": "复审备注",
  29246. "type": "string"
  29247. },
  29248. "reaudittime": {
  29249. "description": "复审时间",
  29250. "type": "string"
  29251. },
  29252. "relatedorderid": {
  29253. "description": "三方关联ID",
  29254. "type": "string"
  29255. },
  29256. "remark": {
  29257. "description": "备注",
  29258. "type": "string"
  29259. },
  29260. "remark2": {
  29261. "description": "备注(失败原因)",
  29262. "type": "string"
  29263. },
  29264. "soucreamount": {
  29265. "description": "原始出入金金额",
  29266. "type": "number"
  29267. },
  29268. "soucrecurrencyid": {
  29269. "description": "原始出入金币种",
  29270. "type": "integer"
  29271. },
  29272. "tradedate": {
  29273. "description": "交易日(yyyyMMdd)",
  29274. "type": "string"
  29275. },
  29276. "updatetime": {
  29277. "description": "更新时间(申请时间)",
  29278. "type": "string"
  29279. },
  29280. "userid": {
  29281. "description": "用户id",
  29282. "type": "integer"
  29283. },
  29284. "userinfotype": {
  29285. "description": "账户类型 1-个人 2-企业",
  29286. "type": "integer"
  29287. }
  29288. }
  29289. },
  29290. "models.QhjMgrBrokerApply": {
  29291. "type": "object",
  29292. "properties": {
  29293. "applicantid": {
  29294. "description": "申请人",
  29295. "type": "integer"
  29296. },
  29297. "applysrc": {
  29298. "description": "申请来源 - 1:管理端 2:终端",
  29299. "type": "integer"
  29300. },
  29301. "applystatus": {
  29302. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29303. "type": "integer"
  29304. },
  29305. "applytime": {
  29306. "description": "申请时间",
  29307. "type": "string"
  29308. },
  29309. "auditorid": {
  29310. "description": "审核人",
  29311. "type": "integer"
  29312. },
  29313. "auditremark": {
  29314. "description": "审核备注",
  29315. "type": "string"
  29316. },
  29317. "auditsrc": {
  29318. "description": "审核来源 - 1:管理端 2:终端",
  29319. "type": "integer"
  29320. },
  29321. "audittime": {
  29322. "description": "审核时间",
  29323. "type": "string"
  29324. },
  29325. "audittradedate": {
  29326. "description": "审核交易日(yyyyMMdd)",
  29327. "type": "string"
  29328. },
  29329. "brokerapplyid": {
  29330. "description": "申请ID(SEQ_BROKERAPPLY)",
  29331. "type": "integer"
  29332. },
  29333. "cardbackphotourl": {
  29334. "description": "证件背面图片地址",
  29335. "type": "string"
  29336. },
  29337. "cardfrontphotourl": {
  29338. "description": "证件正面图片地址",
  29339. "type": "string"
  29340. },
  29341. "cardnum": {
  29342. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29343. "type": "string"
  29344. },
  29345. "customername": {
  29346. "description": "姓名",
  29347. "type": "string"
  29348. },
  29349. "filterstatus": {
  29350. "description": "筛选条件",
  29351. "type": "string"
  29352. },
  29353. "logincode": {
  29354. "description": "登录代码",
  29355. "type": "string"
  29356. },
  29357. "mobile": {
  29358. "description": "手机号码",
  29359. "type": "string"
  29360. },
  29361. "parentuserid": {
  29362. "description": "所属机构id",
  29363. "type": "integer"
  29364. },
  29365. "parentusername": {
  29366. "description": "所属机构名称",
  29367. "type": "string"
  29368. },
  29369. "refereeuserid": {
  29370. "description": "推荐人id(经纪人)",
  29371. "type": "integer"
  29372. },
  29373. "refernum": {
  29374. "description": "推荐码",
  29375. "type": "string"
  29376. },
  29377. "remark": {
  29378. "description": "备注",
  29379. "type": "string"
  29380. },
  29381. "subarealevelpath": {
  29382. "description": "层级路径",
  29383. "type": "string"
  29384. },
  29385. "tradedate": {
  29386. "description": "交易日(yyyyMMdd)",
  29387. "type": "string"
  29388. },
  29389. "userid": {
  29390. "description": "申请人用户ID",
  29391. "type": "integer"
  29392. },
  29393. "userinfotype": {
  29394. "description": "用户类型 1-个人 2-企业",
  29395. "type": "integer"
  29396. },
  29397. "username": {
  29398. "description": "用户名称",
  29399. "type": "string"
  29400. }
  29401. }
  29402. },
  29403. "models.QhjMgrBrokerRewardReport": {
  29404. "type": "object",
  29405. "properties": {
  29406. "createtime": {
  29407. "description": "创建时间(注册时间)",
  29408. "type": "string"
  29409. },
  29410. "cycletime": {
  29411. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29412. "type": "string"
  29413. },
  29414. "cycletype": {
  29415. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29416. "type": "integer"
  29417. },
  29418. "directtotalnum": {
  29419. "description": "直推总人数【期末】",
  29420. "type": "integer"
  29421. },
  29422. "indirecttotalnum": {
  29423. "description": "间推总人数【期末】",
  29424. "type": "integer"
  29425. },
  29426. "mobile": {
  29427. "description": "电话号码",
  29428. "type": "string"
  29429. },
  29430. "refereeuserid": {
  29431. "description": "推荐人id(经纪人id)",
  29432. "type": "integer"
  29433. },
  29434. "refereeusername": {
  29435. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29436. "type": "string"
  29437. },
  29438. "refernum": {
  29439. "description": "推荐码",
  29440. "type": "string"
  29441. },
  29442. "subarealevelpath": {
  29443. "description": "用户层级路径",
  29444. "type": "string"
  29445. },
  29446. "todayrewardamount": {
  29447. "description": "奖励总金额【汇总】",
  29448. "type": "number"
  29449. },
  29450. "updatetime": {
  29451. "description": "更新时间",
  29452. "type": "string"
  29453. },
  29454. "userid": {
  29455. "description": "经纪人用户ID",
  29456. "type": "integer"
  29457. },
  29458. "userinfotype": {
  29459. "description": "用户类型 1-个人 2-企业",
  29460. "type": "integer"
  29461. },
  29462. "username": {
  29463. "description": "用户名称",
  29464. "type": "string"
  29465. }
  29466. }
  29467. },
  29468. "models.QhjMgrContract": {
  29469. "type": "object",
  29470. "properties": {
  29471. "contractconfirmtime": {
  29472. "description": "合同确认时间(时间)",
  29473. "type": "string"
  29474. },
  29475. "currisklevel": {
  29476. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29477. "type": "integer"
  29478. },
  29479. "decimalplace": {
  29480. "description": "商品报价小数位",
  29481. "type": "integer"
  29482. },
  29483. "enumdicname": {
  29484. "description": "单位名称",
  29485. "type": "string"
  29486. },
  29487. "goodscode": {
  29488. "description": "商品代码",
  29489. "type": "string"
  29490. },
  29491. "goodsid": {
  29492. "description": "商品ID [5:融资单]",
  29493. "type": "integer"
  29494. },
  29495. "goodsname": {
  29496. "description": "商品名称",
  29497. "type": "string"
  29498. },
  29499. "goodunitid": {
  29500. "description": "商品单位id",
  29501. "type": "integer"
  29502. },
  29503. "initmargin": {
  29504. "description": "初始保证金(首付款)",
  29505. "type": "number"
  29506. },
  29507. "lenderamount": {
  29508. "description": "贷款金额(总额|订单总额)",
  29509. "type": "number"
  29510. },
  29511. "logincode": {
  29512. "description": "账号(登录代码)",
  29513. "type": "string"
  29514. },
  29515. "marginratio": {
  29516. "description": "保证金比率(首付比例)",
  29517. "type": "number"
  29518. },
  29519. "mobile": {
  29520. "description": "电话号码(用户资料里的电话)",
  29521. "type": "string"
  29522. },
  29523. "payamount": {
  29524. "description": "已付(已付货款)",
  29525. "type": "number"
  29526. },
  29527. "reckonrecovermargin": {
  29528. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29529. "type": "number"
  29530. },
  29531. "recoveredmargin": {
  29532. "description": "已追缴保证金",
  29533. "type": "number"
  29534. },
  29535. "remainamount": {
  29536. "description": "合同剩余金额(融资额)",
  29537. "type": "number"
  29538. },
  29539. "scfcontractid": {
  29540. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29541. "type": "string"
  29542. },
  29543. "scfcontractstatus": {
  29544. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29545. "type": "integer"
  29546. },
  29547. "scfcontracttype": {
  29548. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29549. "type": "integer"
  29550. },
  29551. "totalinterest": {
  29552. "description": "已计总利息(利息)",
  29553. "type": "number"
  29554. },
  29555. "tradedate": {
  29556. "description": "交易日",
  29557. "type": "string"
  29558. },
  29559. "tradeprice": {
  29560. "description": "成交价格(成本价格)",
  29561. "type": "number"
  29562. },
  29563. "userid": {
  29564. "description": "用户ID",
  29565. "type": "integer"
  29566. },
  29567. "userinfotype": {
  29568. "description": "用户类型 1-个人 2-企业",
  29569. "type": "integer"
  29570. },
  29571. "username": {
  29572. "description": "用户名称",
  29573. "type": "string"
  29574. },
  29575. "wrqty": {
  29576. "description": "仓单数量(数量)",
  29577. "type": "number"
  29578. }
  29579. }
  29580. },
  29581. "models.QhjMgrCustomer": {
  29582. "type": "object",
  29583. "properties": {
  29584. "address": {
  29585. "description": "通讯地址",
  29586. "type": "string"
  29587. },
  29588. "attachment1": {
  29589. "description": "附件1",
  29590. "type": "string"
  29591. },
  29592. "audittime": {
  29593. "description": "审核时间",
  29594. "type": "string"
  29595. },
  29596. "birthday": {
  29597. "description": "生日",
  29598. "type": "string"
  29599. },
  29600. "brokerid": {
  29601. "description": "所属客户经理id",
  29602. "type": "integer"
  29603. },
  29604. "brokername": {
  29605. "description": "所属客户经理名称",
  29606. "type": "string"
  29607. },
  29608. "cardbackphotourl": {
  29609. "description": "证件反面图片地址",
  29610. "type": "string"
  29611. },
  29612. "cardfrontphotourl": {
  29613. "description": "证件正面图片地址",
  29614. "type": "string"
  29615. },
  29616. "cardnum": {
  29617. "description": "证件号码",
  29618. "type": "string"
  29619. },
  29620. "cardtype": {
  29621. "description": "证件类型",
  29622. "type": "integer"
  29623. },
  29624. "cardtypename": {
  29625. "description": "证件类型名称",
  29626. "type": "string"
  29627. },
  29628. "cityid": {
  29629. "description": "市",
  29630. "type": "integer"
  29631. },
  29632. "cityname": {
  29633. "description": "城市名称",
  29634. "type": "string"
  29635. },
  29636. "contactname": {
  29637. "description": "联系人",
  29638. "type": "string"
  29639. },
  29640. "countryid": {
  29641. "description": "国家",
  29642. "type": "integer"
  29643. },
  29644. "countryname": {
  29645. "description": "国家名称",
  29646. "type": "string"
  29647. },
  29648. "createtime": {
  29649. "description": "创建时间",
  29650. "type": "string"
  29651. },
  29652. "customername": {
  29653. "description": "客户名称",
  29654. "type": "string"
  29655. },
  29656. "districtid": {
  29657. "description": "区域",
  29658. "type": "integer"
  29659. },
  29660. "districtname": {
  29661. "description": "地区名称",
  29662. "type": "string"
  29663. },
  29664. "email": {
  29665. "description": "邮件",
  29666. "type": "string"
  29667. },
  29668. "legalpersonname": {
  29669. "description": "法人姓名(企业)",
  29670. "type": "string"
  29671. },
  29672. "logincode": {
  29673. "description": "登录账号(代码)",
  29674. "type": "string"
  29675. },
  29676. "memberuserid": {
  29677. "description": "所属机构ID(所属会员)",
  29678. "type": "integer"
  29679. },
  29680. "memberusername": {
  29681. "description": "所属会员名称",
  29682. "type": "string"
  29683. },
  29684. "mobile": {
  29685. "description": "手机号码",
  29686. "type": "string"
  29687. },
  29688. "modifytime": {
  29689. "description": "修改时间",
  29690. "type": "string"
  29691. },
  29692. "nickname": {
  29693. "description": "昵称",
  29694. "type": "string"
  29695. },
  29696. "parentuserid": {
  29697. "description": "上级机构(所属机构)",
  29698. "type": "integer"
  29699. },
  29700. "parentusername": {
  29701. "description": "所属机构名称",
  29702. "type": "string"
  29703. },
  29704. "provinceid": {
  29705. "description": "省",
  29706. "type": "integer"
  29707. },
  29708. "provincename": {
  29709. "description": "省名称",
  29710. "type": "string"
  29711. },
  29712. "proxystatementurl": {
  29713. "description": "授权委托书",
  29714. "type": "string"
  29715. },
  29716. "querytype": {
  29717. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29718. "type": "integer"
  29719. },
  29720. "remark": {
  29721. "description": "备注",
  29722. "type": "string"
  29723. },
  29724. "sex": {
  29725. "description": "性别 0-女 1-男",
  29726. "type": "integer"
  29727. },
  29728. "status": {
  29729. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29730. "type": "integer"
  29731. },
  29732. "statusdesc": {
  29733. "description": "账户状态中文描述",
  29734. "type": "string"
  29735. },
  29736. "taxpayernum": {
  29737. "description": "纳税人识别号",
  29738. "type": "string"
  29739. },
  29740. "telphone": {
  29741. "description": "联系电话",
  29742. "type": "string"
  29743. },
  29744. "userid": {
  29745. "description": "用户ID",
  29746. "type": "integer"
  29747. },
  29748. "userinfotype": {
  29749. "description": "客户类型 1-个人 2-企业",
  29750. "type": "integer"
  29751. },
  29752. "username": {
  29753. "description": "用户名称",
  29754. "type": "string"
  29755. }
  29756. }
  29757. },
  29758. "models.QhjMgrPickGoods": {
  29759. "type": "object",
  29760. "properties": {
  29761. "enumdicname": {
  29762. "description": "单位名称(提货商品)",
  29763. "type": "string"
  29764. },
  29765. "goodsid": {
  29766. "description": "商品id",
  29767. "type": "integer"
  29768. },
  29769. "imageaddress": {
  29770. "description": "图片",
  29771. "type": "string"
  29772. },
  29773. "modifierid": {
  29774. "description": "修改人",
  29775. "type": "integer"
  29776. },
  29777. "modifiername": {
  29778. "description": "修改人名称",
  29779. "type": "string"
  29780. },
  29781. "modifysrc": {
  29782. "description": "修改来源 - 1:管理端 2:终端",
  29783. "type": "integer"
  29784. },
  29785. "pickupgoodsagreeunit": {
  29786. "description": "合约乘数",
  29787. "type": "number"
  29788. },
  29789. "pickupgoodsdesc": {
  29790. "description": "描述",
  29791. "type": "string"
  29792. },
  29793. "pickupgoodsid": {
  29794. "description": "提货商品ID",
  29795. "type": "string"
  29796. },
  29797. "pickupgoodsname": {
  29798. "description": "提货商品名称",
  29799. "type": "string"
  29800. },
  29801. "pickupgoodsstatus": {
  29802. "description": "状态 - 1:正常 2:停用 3:注销",
  29803. "type": "integer"
  29804. },
  29805. "pickupgoodsunitid": {
  29806. "description": "单位ID",
  29807. "type": "integer"
  29808. },
  29809. "pickupratio": {
  29810. "description": "提货系数",
  29811. "type": "number"
  29812. },
  29813. "preparedays": {
  29814. "description": "备货期(天)",
  29815. "type": "integer"
  29816. },
  29817. "remark": {
  29818. "description": "备注",
  29819. "type": "string"
  29820. },
  29821. "updatetime": {
  29822. "description": "更新时间",
  29823. "type": "string"
  29824. }
  29825. }
  29826. },
  29827. "models.QhjMgrPositionRsp": {
  29828. "type": "object",
  29829. "properties": {
  29830. "accountid": {
  29831. "description": "账号Id",
  29832. "type": "integer"
  29833. },
  29834. "accountname": {
  29835. "description": "用户名称",
  29836. "type": "string"
  29837. },
  29838. "agreeunit": {
  29839. "description": "合约乘数",
  29840. "type": "number"
  29841. },
  29842. "averageprice": {
  29843. "description": "均价",
  29844. "type": "number"
  29845. },
  29846. "avialqty": {
  29847. "description": "可用数量",
  29848. "type": "number"
  29849. },
  29850. "decimalplace": {
  29851. "description": "报价小数位",
  29852. "type": "integer"
  29853. },
  29854. "enumdicname": {
  29855. "description": "单位名称(商品)",
  29856. "type": "string"
  29857. },
  29858. "frozenqty": {
  29859. "description": "冻结数量",
  29860. "type": "number"
  29861. },
  29862. "goodscode": {
  29863. "description": "商品代码(内部)",
  29864. "type": "string"
  29865. },
  29866. "goodsid": {
  29867. "description": "商品Id",
  29868. "type": "integer"
  29869. },
  29870. "goodsname": {
  29871. "description": "商品名称",
  29872. "type": "string"
  29873. },
  29874. "goodunitid": {
  29875. "description": "报价单位ID",
  29876. "type": "integer"
  29877. },
  29878. "holderamount": {
  29879. "description": "金额",
  29880. "type": "number"
  29881. },
  29882. "holderqty": {
  29883. "description": "持有数量",
  29884. "type": "number"
  29885. },
  29886. "holdertype": {
  29887. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29888. "type": "integer"
  29889. },
  29890. "logincode": {
  29891. "description": "登录代码(账户)",
  29892. "type": "string"
  29893. },
  29894. "marketid": {
  29895. "description": "市场id",
  29896. "type": "integer"
  29897. },
  29898. "qtydecimalplace": {
  29899. "description": "成交量小数位",
  29900. "type": "integer"
  29901. },
  29902. "trademode": {
  29903. "description": "交易模式",
  29904. "type": "integer"
  29905. },
  29906. "userid": {
  29907. "description": "用户id",
  29908. "type": "integer"
  29909. },
  29910. "userinfotype": {
  29911. "description": "账户类型 1-个人 2-企业",
  29912. "type": "integer"
  29913. }
  29914. }
  29915. },
  29916. "models.QhjMgrSubArea": {
  29917. "type": "object",
  29918. "properties": {
  29919. "accountname": {
  29920. "description": "账户名称(机构名称)",
  29921. "type": "string"
  29922. },
  29923. "memberuserid": {
  29924. "description": "所属会员ID",
  29925. "type": "integer"
  29926. },
  29927. "parenttopuser": {
  29928. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29929. "type": "string"
  29930. },
  29931. "parentuserid": {
  29932. "description": "所属机构ID",
  29933. "type": "integer"
  29934. },
  29935. "rootuserid": {
  29936. "description": "根用户ID",
  29937. "type": "string"
  29938. },
  29939. "subaccountlevel": {
  29940. "description": "子账户层数",
  29941. "type": "integer"
  29942. },
  29943. "subarealevelpath": {
  29944. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29945. "type": "string"
  29946. },
  29947. "userid": {
  29948. "description": "用户ID",
  29949. "type": "integer"
  29950. },
  29951. "usertype": {
  29952. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29953. "type": "integer"
  29954. }
  29955. }
  29956. },
  29957. "models.QhjMgrTradeDetailRsp": {
  29958. "type": "object",
  29959. "properties": {
  29960. "accountid": {
  29961. "description": "资金账号",
  29962. "type": "integer"
  29963. },
  29964. "accountname": {
  29965. "description": "用户名称",
  29966. "type": "string"
  29967. },
  29968. "agreeunit": {
  29969. "description": "合约乘数",
  29970. "type": "number"
  29971. },
  29972. "buyorsell": {
  29973. "description": "成交类型(方向) 0:买 1:卖",
  29974. "type": "integer"
  29975. },
  29976. "decimalplace": {
  29977. "description": "报价小数位",
  29978. "type": "integer"
  29979. },
  29980. "enumdicname": {
  29981. "description": "单位名称(商品)",
  29982. "type": "string"
  29983. },
  29984. "goodscode": {
  29985. "description": "商品代码(内部)",
  29986. "type": "string"
  29987. },
  29988. "goodsid": {
  29989. "description": "商品id",
  29990. "type": "integer"
  29991. },
  29992. "goodsname": {
  29993. "description": "商品名称",
  29994. "type": "string"
  29995. },
  29996. "goodunitid": {
  29997. "description": "报价单位ID",
  29998. "type": "integer"
  29999. },
  30000. "logincode": {
  30001. "description": "登录代码(账户)",
  30002. "type": "string"
  30003. },
  30004. "marketid": {
  30005. "description": "市场id",
  30006. "type": "integer"
  30007. },
  30008. "orderid": {
  30009. "description": "关联委托单号",
  30010. "type": "string"
  30011. },
  30012. "qtydecimalplace": {
  30013. "description": "成交量小数位",
  30014. "type": "integer"
  30015. },
  30016. "tradeamount": {
  30017. "description": "金额",
  30018. "type": "number"
  30019. },
  30020. "tradedate": {
  30021. "description": "交易日",
  30022. "type": "string"
  30023. },
  30024. "tradeid": {
  30025. "description": "成交单号",
  30026. "type": "string"
  30027. },
  30028. "trademode": {
  30029. "description": "交易模式",
  30030. "type": "integer"
  30031. },
  30032. "tradeprice": {
  30033. "description": "价格",
  30034. "type": "number"
  30035. },
  30036. "tradeqty": {
  30037. "description": "数量",
  30038. "type": "number"
  30039. },
  30040. "tradetime": {
  30041. "description": "成交时间",
  30042. "type": "string"
  30043. },
  30044. "userid": {
  30045. "description": "用户id",
  30046. "type": "integer"
  30047. },
  30048. "userinfotype": {
  30049. "description": "账户类型 1-个人 2-企业",
  30050. "type": "integer"
  30051. }
  30052. }
  30053. },
  30054. "models.QhjMgrTradeOrderDetailRsp": {
  30055. "type": "object",
  30056. "properties": {
  30057. "accountid": {
  30058. "description": "资金账号",
  30059. "type": "integer"
  30060. },
  30061. "accountname": {
  30062. "description": "用户名称",
  30063. "type": "string"
  30064. },
  30065. "agreeunit": {
  30066. "description": "合约乘数",
  30067. "type": "number"
  30068. },
  30069. "amount": {
  30070. "description": "金额",
  30071. "type": "number"
  30072. },
  30073. "decimalplace": {
  30074. "description": "报价小数位",
  30075. "type": "integer"
  30076. },
  30077. "enumdicname": {
  30078. "description": "单位名称(商品)",
  30079. "type": "string"
  30080. },
  30081. "goodscode": {
  30082. "description": "商品代码(内部)",
  30083. "type": "string"
  30084. },
  30085. "goodsid": {
  30086. "description": "商品id",
  30087. "type": "integer"
  30088. },
  30089. "goodsname": {
  30090. "description": "商品名称",
  30091. "type": "string"
  30092. },
  30093. "goodunitid": {
  30094. "description": "报价单位ID",
  30095. "type": "integer"
  30096. },
  30097. "logincode": {
  30098. "description": "登录代码(账户)",
  30099. "type": "string"
  30100. },
  30101. "marketid": {
  30102. "description": "市场id",
  30103. "type": "integer"
  30104. },
  30105. "orderid": {
  30106. "description": "关联委托单号",
  30107. "type": "string"
  30108. },
  30109. "orderprice": {
  30110. "description": "价格",
  30111. "type": "number"
  30112. },
  30113. "orderqty": {
  30114. "description": "数量",
  30115. "type": "number"
  30116. },
  30117. "orderstatus": {
  30118. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30119. "type": "integer"
  30120. },
  30121. "ordertime": {
  30122. "description": "委托时间",
  30123. "type": "string"
  30124. },
  30125. "qtydecimalplace": {
  30126. "description": "成交量小数位",
  30127. "type": "integer"
  30128. },
  30129. "tradedate": {
  30130. "description": "交易日",
  30131. "type": "string"
  30132. },
  30133. "trademode": {
  30134. "description": "交易模式",
  30135. "type": "integer"
  30136. },
  30137. "userid": {
  30138. "description": "用户id",
  30139. "type": "integer"
  30140. },
  30141. "userinfotype": {
  30142. "description": "账户类型 1-个人 2-企业",
  30143. "type": "integer"
  30144. }
  30145. }
  30146. },
  30147. "models.QhjMgrTradePayOrder": {
  30148. "type": "object",
  30149. "properties": {
  30150. "accountname": {
  30151. "description": "用户名称",
  30152. "type": "string"
  30153. },
  30154. "advanceratio": {
  30155. "description": "首付比率",
  30156. "type": "number"
  30157. },
  30158. "agreeunit": {
  30159. "description": "合约乘数",
  30160. "type": "number"
  30161. },
  30162. "buyaccountid": {
  30163. "description": "买方账号ID[报价币种]",
  30164. "type": "integer"
  30165. },
  30166. "buyorderid": {
  30167. "description": "买方委托单号(关联单号)",
  30168. "type": "string"
  30169. },
  30170. "createtime": {
  30171. "description": "创建时间",
  30172. "type": "string"
  30173. },
  30174. "decimalplace": {
  30175. "description": "报价小数位",
  30176. "type": "integer"
  30177. },
  30178. "enumdicname": {
  30179. "description": "单位名称(商品)",
  30180. "type": "string"
  30181. },
  30182. "goodscode": {
  30183. "description": "商品代码(内部)",
  30184. "type": "string"
  30185. },
  30186. "goodsid": {
  30187. "description": "商品ID",
  30188. "type": "integer"
  30189. },
  30190. "goodsname": {
  30191. "description": "商品名称",
  30192. "type": "string"
  30193. },
  30194. "goodunitid": {
  30195. "description": "报价单位ID",
  30196. "type": "integer"
  30197. },
  30198. "logincode": {
  30199. "description": "登录代码(账户)",
  30200. "type": "string"
  30201. },
  30202. "marketid": {
  30203. "description": "市场id",
  30204. "type": "integer"
  30205. },
  30206. "offamount": {
  30207. "description": "优惠金额",
  30208. "type": "number"
  30209. },
  30210. "operatetype": {
  30211. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30212. "type": "integer"
  30213. },
  30214. "payamount": {
  30215. "description": "支付金额(金额)",
  30216. "type": "number"
  30217. },
  30218. "payflag": {
  30219. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30220. "type": "integer"
  30221. },
  30222. "paylimitedtime": {
  30223. "description": "支付期限",
  30224. "type": "string"
  30225. },
  30226. "paytime": {
  30227. "description": "付款时间",
  30228. "type": "string"
  30229. },
  30230. "qtydecimalplace": {
  30231. "description": "成交量小数位",
  30232. "type": "integer"
  30233. },
  30234. "sellaccountid": {
  30235. "description": "卖方账号ID[报价币种]",
  30236. "type": "integer"
  30237. },
  30238. "sellorderid": {
  30239. "description": "卖方委托单号",
  30240. "type": "string"
  30241. },
  30242. "tradeamount": {
  30243. "description": "成交金额(优惠后金额)",
  30244. "type": "number"
  30245. },
  30246. "tradecharge": {
  30247. "description": "成交手续费(买方)",
  30248. "type": "number"
  30249. },
  30250. "tradedate": {
  30251. "description": "交易日(yyyyMMdd)",
  30252. "type": "string"
  30253. },
  30254. "tradeid": {
  30255. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30256. "type": "string"
  30257. },
  30258. "trademode": {
  30259. "description": "交易模式",
  30260. "type": "integer"
  30261. },
  30262. "tradeprice": {
  30263. "description": "成交价格(价格)",
  30264. "type": "number"
  30265. },
  30266. "tradeqty": {
  30267. "description": "成交数量(数量)",
  30268. "type": "number"
  30269. },
  30270. "tradetime": {
  30271. "description": "成交时间",
  30272. "type": "string"
  30273. },
  30274. "userid": {
  30275. "description": "用户id",
  30276. "type": "integer"
  30277. },
  30278. "userinfotype": {
  30279. "description": "账户类型 1-个人 2-企业",
  30280. "type": "integer"
  30281. }
  30282. }
  30283. },
  30284. "models.QhjMyTeamEx": {
  30285. "type": "object",
  30286. "properties": {
  30287. "accountname": {
  30288. "description": "用户名称",
  30289. "type": "string"
  30290. },
  30291. "accountstatus": {
  30292. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30293. "type": "integer"
  30294. },
  30295. "createtime": {
  30296. "description": "创建时间",
  30297. "type": "string"
  30298. },
  30299. "mobile": {
  30300. "description": "手机号码",
  30301. "type": "string"
  30302. },
  30303. "refereeuserid": {
  30304. "description": "推荐人id",
  30305. "type": "integer"
  30306. },
  30307. "refernum": {
  30308. "description": "推荐码",
  30309. "type": "string"
  30310. },
  30311. "subList": {
  30312. "type": "array",
  30313. "items": {
  30314. "$ref": "#/definitions/models.QhjMyTeamEx"
  30315. }
  30316. },
  30317. "userid": {
  30318. "description": "用户id",
  30319. "type": "integer"
  30320. },
  30321. "userinfotype": {
  30322. "description": "用户类型 1-个人 2-企业",
  30323. "type": "integer"
  30324. }
  30325. }
  30326. },
  30327. "models.QhjNodeAgreementConfig": {
  30328. "type": "object",
  30329. "properties": {
  30330. "agreementcontent": {
  30331. "description": "协议内容",
  30332. "type": "string"
  30333. },
  30334. "agreementid": {
  30335. "description": "协议ID",
  30336. "type": "integer"
  30337. },
  30338. "agreementname": {
  30339. "description": "协议名称",
  30340. "type": "string"
  30341. },
  30342. "agreementno": {
  30343. "description": "协议编号",
  30344. "type": "string"
  30345. },
  30346. "agreementtype": {
  30347. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30348. "type": "integer"
  30349. },
  30350. "agreementversion": {
  30351. "description": "协议版本号",
  30352. "type": "integer"
  30353. },
  30354. "configid": {
  30355. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30356. "type": "integer"
  30357. },
  30358. "createtime": {
  30359. "description": "创建时间",
  30360. "type": "string"
  30361. },
  30362. "goodsid": {
  30363. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30364. "type": "integer"
  30365. },
  30366. "nodetype": {
  30367. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30368. "type": "integer"
  30369. }
  30370. }
  30371. },
  30372. "models.QhjParentAreaList": {
  30373. "type": "object",
  30374. "properties": {
  30375. "accountname": {
  30376. "description": "账户名称(机构名称)",
  30377. "type": "string"
  30378. },
  30379. "userid": {
  30380. "description": "用户ID",
  30381. "type": "integer"
  30382. },
  30383. "usertype": {
  30384. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30385. "type": "integer"
  30386. }
  30387. }
  30388. },
  30389. "models.QhjPayOrder": {
  30390. "type": "object",
  30391. "properties": {
  30392. "advanceratio": {
  30393. "description": "首付比率",
  30394. "type": "number"
  30395. },
  30396. "buyaccountid": {
  30397. "description": "买方账号ID[报价币种]",
  30398. "type": "integer"
  30399. },
  30400. "buyorderid": {
  30401. "description": "买方委托单号",
  30402. "type": "string"
  30403. },
  30404. "createtime": {
  30405. "description": "创建时间",
  30406. "type": "string"
  30407. },
  30408. "decimalplace": {
  30409. "description": "商品报价小数位",
  30410. "type": "integer"
  30411. },
  30412. "enumdicname": {
  30413. "description": "单位名称",
  30414. "type": "string"
  30415. },
  30416. "goodscode": {
  30417. "description": "商品代码",
  30418. "type": "string"
  30419. },
  30420. "goodsid": {
  30421. "description": "商品ID",
  30422. "type": "integer"
  30423. },
  30424. "goodsname": {
  30425. "description": "商品名称",
  30426. "type": "string"
  30427. },
  30428. "goodunitid": {
  30429. "description": "商品单位id",
  30430. "type": "integer"
  30431. },
  30432. "marketid": {
  30433. "description": "市场ID",
  30434. "type": "integer"
  30435. },
  30436. "offamount": {
  30437. "description": "优惠金额",
  30438. "type": "number"
  30439. },
  30440. "operatetype": {
  30441. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30442. "type": "integer"
  30443. },
  30444. "payamount": {
  30445. "description": "支付金额",
  30446. "type": "number"
  30447. },
  30448. "payflag": {
  30449. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30450. "type": "integer"
  30451. },
  30452. "paylimitedtime": {
  30453. "description": "支付期限",
  30454. "type": "string"
  30455. },
  30456. "paytime": {
  30457. "description": "付款时间",
  30458. "type": "string"
  30459. },
  30460. "qtydecimalplace": {
  30461. "description": "成交量小数位",
  30462. "type": "integer"
  30463. },
  30464. "sellaccountid": {
  30465. "description": "卖方账号ID[报价币种]",
  30466. "type": "integer"
  30467. },
  30468. "sellorderid": {
  30469. "description": "卖方委托单号",
  30470. "type": "string"
  30471. },
  30472. "tradeamount": {
  30473. "description": "成交金额(优惠后金额)",
  30474. "type": "number"
  30475. },
  30476. "tradecharge": {
  30477. "description": "成交手续费(买方)",
  30478. "type": "number"
  30479. },
  30480. "tradedate": {
  30481. "description": "交易日(yyyyMMdd)",
  30482. "type": "string"
  30483. },
  30484. "tradeid": {
  30485. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30486. "type": "string"
  30487. },
  30488. "tradeprice": {
  30489. "description": "成交价格",
  30490. "type": "number"
  30491. },
  30492. "tradeqty": {
  30493. "description": "成交数量",
  30494. "type": "number"
  30495. }
  30496. }
  30497. },
  30498. "models.QhjPickArea": {
  30499. "type": "object",
  30500. "properties": {
  30501. "address": {
  30502. "description": "详细地址",
  30503. "type": "string"
  30504. },
  30505. "cityid": {
  30506. "description": "市",
  30507. "type": "integer"
  30508. },
  30509. "cityname": {
  30510. "description": "城市名称",
  30511. "type": "string"
  30512. },
  30513. "countryid": {
  30514. "description": "国家",
  30515. "type": "integer"
  30516. },
  30517. "countryname": {
  30518. "description": "国家名称",
  30519. "type": "string"
  30520. },
  30521. "districtid": {
  30522. "description": "地区",
  30523. "type": "integer"
  30524. },
  30525. "districtname": {
  30526. "description": "地区名称",
  30527. "type": "string"
  30528. },
  30529. "fromuserid": {
  30530. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30531. "type": "integer"
  30532. },
  30533. "fromusername": {
  30534. "description": "所属机构名称",
  30535. "type": "string"
  30536. },
  30537. "provinceid": {
  30538. "description": "省",
  30539. "type": "integer"
  30540. },
  30541. "provincename": {
  30542. "description": "省名称",
  30543. "type": "string"
  30544. },
  30545. "suborgtype": {
  30546. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30547. "type": "integer"
  30548. },
  30549. "userid": {
  30550. "description": "机构用户ID 其他做市关系,都设置为 1",
  30551. "type": "integer"
  30552. },
  30553. "username": {
  30554. "description": "机构用户名称(门店门称)",
  30555. "type": "string"
  30556. }
  30557. }
  30558. },
  30559. "models.QhjPickGoods": {
  30560. "type": "object",
  30561. "properties": {
  30562. "enumdicname": {
  30563. "description": "单位名称(提货商品)",
  30564. "type": "string"
  30565. },
  30566. "goodsid": {
  30567. "description": "商品id",
  30568. "type": "integer"
  30569. },
  30570. "imageaddress": {
  30571. "description": "图片",
  30572. "type": "string"
  30573. },
  30574. "modifierid": {
  30575. "description": "修改人",
  30576. "type": "integer"
  30577. },
  30578. "modifiername": {
  30579. "description": "修改人名称",
  30580. "type": "string"
  30581. },
  30582. "modifysrc": {
  30583. "description": "修改来源 - 1:管理端 2:终端",
  30584. "type": "integer"
  30585. },
  30586. "pickupgoodsagreeunit": {
  30587. "description": "合约乘数",
  30588. "type": "number"
  30589. },
  30590. "pickupgoodsdesc": {
  30591. "description": "描述",
  30592. "type": "string"
  30593. },
  30594. "pickupgoodsid": {
  30595. "description": "提货商品ID",
  30596. "type": "string"
  30597. },
  30598. "pickupgoodsname": {
  30599. "description": "提货商品名称",
  30600. "type": "string"
  30601. },
  30602. "pickupgoodsstatus": {
  30603. "description": "状态 - 1:正常 2:停用 3:注销",
  30604. "type": "integer"
  30605. },
  30606. "pickupgoodsunitid": {
  30607. "description": "单位ID",
  30608. "type": "integer"
  30609. },
  30610. "pickupratio": {
  30611. "description": "提货系数",
  30612. "type": "number"
  30613. },
  30614. "preparedays": {
  30615. "description": "备货期(天)",
  30616. "type": "integer"
  30617. },
  30618. "remark": {
  30619. "description": "备注",
  30620. "type": "string"
  30621. },
  30622. "updatetime": {
  30623. "description": "更新时间",
  30624. "type": "string"
  30625. }
  30626. }
  30627. },
  30628. "models.QhjRSTriggerLog": {
  30629. "type": "object",
  30630. "properties": {
  30631. "accountid": {
  30632. "description": "用户资金账户",
  30633. "type": "integer"
  30634. },
  30635. "accountname": {
  30636. "description": "账号名称(ACCOUNTID对应的名称)",
  30637. "type": "string"
  30638. },
  30639. "currencyid": {
  30640. "description": "币种id",
  30641. "type": "integer"
  30642. },
  30643. "currencyname": {
  30644. "description": "币种名称",
  30645. "type": "string"
  30646. },
  30647. "decimalplace": {
  30648. "description": "商品报价小数位",
  30649. "type": "integer"
  30650. },
  30651. "enumdicname": {
  30652. "description": "单位名称",
  30653. "type": "string"
  30654. },
  30655. "goodscode": {
  30656. "description": "定投商品代码",
  30657. "type": "string"
  30658. },
  30659. "goodsid": {
  30660. "description": "定投商品ID",
  30661. "type": "integer"
  30662. },
  30663. "goodsname": {
  30664. "description": "定投商品名称",
  30665. "type": "string"
  30666. },
  30667. "goodunitid": {
  30668. "description": "定投商品单位id",
  30669. "type": "integer"
  30670. },
  30671. "logid": {
  30672. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30673. "type": "string"
  30674. },
  30675. "logincode": {
  30676. "description": "账号(登录代码)",
  30677. "type": "string"
  30678. },
  30679. "qtydecimalplace": {
  30680. "description": "成交量小数位",
  30681. "type": "integer"
  30682. },
  30683. "regularlycycle": {
  30684. "description": "定投频率 - 1:每周 2:每月",
  30685. "type": "integer"
  30686. },
  30687. "regularlycyclevalue": {
  30688. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30689. "type": "string"
  30690. },
  30691. "regularlymode": {
  30692. "description": "定投方式 - 1:按数量 2:按金额",
  30693. "type": "integer"
  30694. },
  30695. "regularlymodevalue": {
  30696. "description": "定投方式值 - 数量或金额",
  30697. "type": "number"
  30698. },
  30699. "regularlystrategyid": {
  30700. "description": "定投策略ID",
  30701. "type": "integer"
  30702. },
  30703. "retcode": {
  30704. "description": "错误码",
  30705. "type": "string"
  30706. },
  30707. "tradeid": {
  30708. "description": "成交单ID",
  30709. "type": "string"
  30710. },
  30711. "triggeramount": {
  30712. "description": "触发金额",
  30713. "type": "number"
  30714. },
  30715. "triggerqty": {
  30716. "description": "触发数量",
  30717. "type": "number"
  30718. },
  30719. "triggerstatus": {
  30720. "description": "触发状态 - 1:成功 2:失败",
  30721. "type": "integer"
  30722. },
  30723. "triggertime": {
  30724. "description": "触发时间",
  30725. "type": "string"
  30726. },
  30727. "triggertradedate": {
  30728. "description": "触发交易日",
  30729. "type": "string"
  30730. },
  30731. "userid": {
  30732. "description": "所属用户ID",
  30733. "type": "integer"
  30734. },
  30735. "userinfotype": {
  30736. "description": "用户类型 1-个人 2-企业",
  30737. "type": "integer"
  30738. },
  30739. "username": {
  30740. "description": "用户名称(userid对应的名称)",
  30741. "type": "string"
  30742. }
  30743. }
  30744. },
  30745. "models.QhjRStrategy": {
  30746. "type": "object",
  30747. "properties": {
  30748. "accountid": {
  30749. "description": "用户资金账户",
  30750. "type": "integer"
  30751. },
  30752. "accountname": {
  30753. "description": "账号名称(ACCOUNTID对应的名称)",
  30754. "type": "string"
  30755. },
  30756. "currencyid": {
  30757. "description": "币种id",
  30758. "type": "integer"
  30759. },
  30760. "currencyname": {
  30761. "description": "币种名称",
  30762. "type": "string"
  30763. },
  30764. "decimalplace": {
  30765. "description": "商品报价小数位",
  30766. "type": "integer"
  30767. },
  30768. "enumdicname": {
  30769. "description": "单位名称",
  30770. "type": "string"
  30771. },
  30772. "goodscode": {
  30773. "description": "定投商品代码",
  30774. "type": "string"
  30775. },
  30776. "goodsid": {
  30777. "description": "定投商品ID",
  30778. "type": "integer"
  30779. },
  30780. "goodsname": {
  30781. "description": "定投商品名称",
  30782. "type": "string"
  30783. },
  30784. "goodunitid": {
  30785. "description": "定投商品单位id",
  30786. "type": "integer"
  30787. },
  30788. "lasteffecttradedate": {
  30789. "description": "最新生效交易日",
  30790. "type": "string"
  30791. },
  30792. "laststoptradedate": {
  30793. "description": "最新暂停交易日",
  30794. "type": "string"
  30795. },
  30796. "lasttriggertradedate": {
  30797. "description": "最新触发交易日",
  30798. "type": "string"
  30799. },
  30800. "logincode": {
  30801. "description": "账号(登录代码)",
  30802. "type": "string"
  30803. },
  30804. "nexttriggeramount": {
  30805. "description": "下次触发金额",
  30806. "type": "number"
  30807. },
  30808. "nexttriggerdate": {
  30809. "description": "下次触发日期",
  30810. "type": "string"
  30811. },
  30812. "nexttriggerqty": {
  30813. "description": "下次触发数量 [按小数位放大值]",
  30814. "type": "number"
  30815. },
  30816. "qtydecimalplace": {
  30817. "description": "成交量小数位",
  30818. "type": "integer"
  30819. },
  30820. "regularlycycle": {
  30821. "description": "定投频率 - 1:每周 2:每月",
  30822. "type": "integer"
  30823. },
  30824. "regularlycyclevalue": {
  30825. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30826. "type": "string"
  30827. },
  30828. "regularlymode": {
  30829. "description": "定投方式 - 1:按数量 2:按金额",
  30830. "type": "integer"
  30831. },
  30832. "regularlymodevalue": {
  30833. "description": "定投方式值 - 数量或金额",
  30834. "type": "number"
  30835. },
  30836. "regularlystrategyid": {
  30837. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30838. "type": "integer"
  30839. },
  30840. "regularlystrategystatus": {
  30841. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30842. "type": "integer"
  30843. },
  30844. "remark": {
  30845. "description": "备注",
  30846. "type": "string"
  30847. },
  30848. "triggersuccesstimes": {
  30849. "description": "累计定投成功次数",
  30850. "type": "string"
  30851. },
  30852. "triggertotalamount": {
  30853. "description": "累计定投金额(成功)",
  30854. "type": "number"
  30855. },
  30856. "triggertotalqty": {
  30857. "description": "累计定投数量(成功) [按小数位放大值]",
  30858. "type": "number"
  30859. },
  30860. "triggertotaltimes": {
  30861. "description": "累计定投总次数",
  30862. "type": "string"
  30863. },
  30864. "updatesrc": {
  30865. "description": "更新来源 - 1:管理端 2:终端",
  30866. "type": "integer"
  30867. },
  30868. "updatetime": {
  30869. "description": "更新时间",
  30870. "type": "string"
  30871. },
  30872. "updatorid": {
  30873. "description": "更新人",
  30874. "type": "string"
  30875. },
  30876. "userid": {
  30877. "description": "所属用户ID",
  30878. "type": "integer"
  30879. },
  30880. "userinfotype": {
  30881. "description": "用户类型 1-个人 2-企业",
  30882. "type": "integer"
  30883. },
  30884. "username": {
  30885. "description": "用户名称(userid对应的名称)",
  30886. "type": "string"
  30887. }
  30888. }
  30889. },
  30890. "models.QhjReckonPriceLog": {
  30891. "type": "object",
  30892. "properties": {
  30893. "decimalplace": {
  30894. "description": "商品报价小数位",
  30895. "type": "integer"
  30896. },
  30897. "goodscode": {
  30898. "description": "商品代码",
  30899. "type": "string"
  30900. },
  30901. "goodsid": {
  30902. "description": "商品ID",
  30903. "type": "integer"
  30904. },
  30905. "goodsname": {
  30906. "description": "商品名称",
  30907. "type": "string"
  30908. },
  30909. "lastreckonprice": {
  30910. "description": "上日结算价",
  30911. "type": "number"
  30912. },
  30913. "nextdnlimitprice": {
  30914. "description": "下个交易日跌停价",
  30915. "type": "number"
  30916. },
  30917. "nexttrade": {
  30918. "description": "下个交易日",
  30919. "type": "string"
  30920. },
  30921. "nextuplimitprice": {
  30922. "description": "下个交易日涨停价",
  30923. "type": "number"
  30924. },
  30925. "reckonprice": {
  30926. "description": "今日结算价(定投价)",
  30927. "type": "number"
  30928. },
  30929. "reckontime": {
  30930. "description": "结算时间",
  30931. "type": "string"
  30932. },
  30933. "totalholderqty": {
  30934. "description": "总持仓数",
  30935. "type": "integer"
  30936. },
  30937. "totalstock": {
  30938. "description": "总库存",
  30939. "type": "integer"
  30940. },
  30941. "tradedate": {
  30942. "description": "交易日",
  30943. "type": "string"
  30944. },
  30945. "updowncount": {
  30946. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30947. "type": "integer"
  30948. },
  30949. "updownflag": {
  30950. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30951. "type": "integer"
  30952. },
  30953. "updownrate": {
  30954. "description": "今日涨跌幅",
  30955. "type": "number"
  30956. },
  30957. "updownrate_2d": {
  30958. "description": "连续两日涨跌幅",
  30959. "type": "number"
  30960. },
  30961. "updownrate_3d": {
  30962. "description": "连续三日涨跌幅",
  30963. "type": "number"
  30964. }
  30965. }
  30966. },
  30967. "models.QhjScoreLog": {
  30968. "type": "object",
  30969. "properties": {
  30970. "accountid": {
  30971. "description": "账户ID",
  30972. "type": "integer"
  30973. },
  30974. "createtime": {
  30975. "description": "创建时间(时间)",
  30976. "type": "string"
  30977. },
  30978. "goodsid": {
  30979. "description": "商品ID",
  30980. "type": "integer"
  30981. },
  30982. "hasuploaded": {
  30983. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30984. "type": "integer"
  30985. },
  30986. "logid": {
  30987. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30988. "type": "string"
  30989. },
  30990. "marketid": {
  30991. "description": "市场ID",
  30992. "type": "integer"
  30993. },
  30994. "relatedamount": {
  30995. "description": "关联金额",
  30996. "type": "number"
  30997. },
  30998. "relatedorderid": {
  30999. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31000. "type": "string"
  31001. },
  31002. "scoreconfigvalue1": {
  31003. "description": "积分配置1",
  31004. "type": "integer"
  31005. },
  31006. "scoreconfigvalue2": {
  31007. "description": "积分配置1",
  31008. "type": "integer"
  31009. },
  31010. "scoretype": {
  31011. "description": "积分类型 - 1:提货积分",
  31012. "type": "integer"
  31013. },
  31014. "scorevalue": {
  31015. "description": "积分",
  31016. "type": "number"
  31017. },
  31018. "tradedate": {
  31019. "description": "交易日(yyyyMMdd)",
  31020. "type": "string"
  31021. },
  31022. "uploadedtime": {
  31023. "description": "同步时间",
  31024. "type": "string"
  31025. },
  31026. "userid": {
  31027. "description": "用户ID",
  31028. "type": "integer"
  31029. }
  31030. }
  31031. },
  31032. "models.QhjSiteColumnDetail": {
  31033. "type": "object",
  31034. "properties": {
  31035. "author": {
  31036. "description": "作者",
  31037. "type": "string"
  31038. },
  31039. "brief": {
  31040. "description": "简介",
  31041. "type": "string"
  31042. },
  31043. "columnid": {
  31044. "description": "所属栏目",
  31045. "type": "integer"
  31046. },
  31047. "context": {
  31048. "description": "内容",
  31049. "type": "string"
  31050. },
  31051. "coverimage": {
  31052. "description": "封面图片",
  31053. "type": "string"
  31054. },
  31055. "creaedate": {
  31056. "description": "创建时间",
  31057. "type": "string"
  31058. },
  31059. "creatorid": {
  31060. "description": "创建人",
  31061. "type": "integer"
  31062. },
  31063. "hits": {
  31064. "description": "点击数",
  31065. "type": "integer"
  31066. },
  31067. "id": {
  31068. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31069. "type": "integer"
  31070. },
  31071. "isshow": {
  31072. "description": "是否展示 - 0:不展示 1:展示",
  31073. "type": "integer"
  31074. },
  31075. "istop": {
  31076. "description": "是否置顶 - 0:不置 1:置顶",
  31077. "type": "integer"
  31078. },
  31079. "modifierid": {
  31080. "description": "操作人",
  31081. "type": "integer"
  31082. },
  31083. "publishdate": {
  31084. "description": "发布日期",
  31085. "type": "string"
  31086. },
  31087. "status": {
  31088. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31089. "type": "integer"
  31090. },
  31091. "title": {
  31092. "description": "标题",
  31093. "type": "string"
  31094. },
  31095. "updatedate": {
  31096. "description": "修改时间",
  31097. "type": "string"
  31098. },
  31099. "userid": {
  31100. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31101. "type": "integer"
  31102. },
  31103. "username": {
  31104. "description": "用户名称",
  31105. "type": "string"
  31106. }
  31107. }
  31108. },
  31109. "models.QhjTeamOrder": {
  31110. "type": "object",
  31111. "properties": {
  31112. "accountid": {
  31113. "description": "账户ID[报价币种]",
  31114. "type": "integer"
  31115. },
  31116. "accountname": {
  31117. "description": "账户名称",
  31118. "type": "string"
  31119. },
  31120. "agreeunit": {
  31121. "description": "合约乘数",
  31122. "type": "number"
  31123. },
  31124. "buyorsell": {
  31125. "description": "方向 - 0:买 1:卖",
  31126. "type": "integer"
  31127. },
  31128. "decimalplace": {
  31129. "description": "报价小数位",
  31130. "type": "integer"
  31131. },
  31132. "enumdicname": {
  31133. "description": "单位名称",
  31134. "type": "string"
  31135. },
  31136. "goodscode": {
  31137. "description": "商品代码(内部)",
  31138. "type": "string"
  31139. },
  31140. "goodsid": {
  31141. "description": "商品ID",
  31142. "type": "integer"
  31143. },
  31144. "goodsname": {
  31145. "description": "商品名称",
  31146. "type": "string"
  31147. },
  31148. "goodunitid": {
  31149. "description": "报价单位ID",
  31150. "type": "integer"
  31151. },
  31152. "marketid": {
  31153. "description": "市场ID",
  31154. "type": "integer"
  31155. },
  31156. "marketname": {
  31157. "description": "市场名称",
  31158. "type": "string"
  31159. },
  31160. "qtydecimalplace": {
  31161. "description": "成交量小数位",
  31162. "type": "integer"
  31163. },
  31164. "refereeuserid": {
  31165. "description": "推荐人ID",
  31166. "type": "integer"
  31167. },
  31168. "tradeamount": {
  31169. "description": "成交金额[账户币种,用于所有权]",
  31170. "type": "number"
  31171. },
  31172. "tradedate": {
  31173. "description": "交易日(yyyyMMdd)",
  31174. "type": "string"
  31175. },
  31176. "trademode": {
  31177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31178. "type": "integer"
  31179. },
  31180. "tradeprice": {
  31181. "description": "成交价格",
  31182. "type": "number"
  31183. },
  31184. "tradeqty": {
  31185. "description": "成交数量",
  31186. "type": "number"
  31187. },
  31188. "tradetime": {
  31189. "description": "成交时间",
  31190. "type": "string"
  31191. },
  31192. "userid": {
  31193. "description": "用户ID",
  31194. "type": "integer"
  31195. }
  31196. }
  31197. },
  31198. "models.QhjTradeGoodsPickup": {
  31199. "type": "object",
  31200. "properties": {
  31201. "accountid": {
  31202. "description": "账户ID",
  31203. "type": "integer"
  31204. },
  31205. "address": {
  31206. "description": "提货人详细地址",
  31207. "type": "string"
  31208. },
  31209. "amount": {
  31210. "description": "提货金额",
  31211. "type": "number"
  31212. },
  31213. "artradedate": {
  31214. "description": "自动收货交易日(yyyyMMdd)",
  31215. "type": "string"
  31216. },
  31217. "auditer": {
  31218. "description": "审核人",
  31219. "type": "integer"
  31220. },
  31221. "auditsrc": {
  31222. "description": "更新来源 - 1:管理端 2:终端",
  31223. "type": "integer"
  31224. },
  31225. "audittime": {
  31226. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31227. "type": "string"
  31228. },
  31229. "audittradedate": {
  31230. "description": "审核交易日(yyyyMMdd)",
  31231. "type": "string"
  31232. },
  31233. "cardnum": {
  31234. "description": "提货人证件号码",
  31235. "type": "string"
  31236. },
  31237. "cardtypeid": {
  31238. "description": "提货人证件类型",
  31239. "type": "integer"
  31240. },
  31241. "checkremark": {
  31242. "description": "审核备注",
  31243. "type": "string"
  31244. },
  31245. "cityid": {
  31246. "description": "市",
  31247. "type": "integer"
  31248. },
  31249. "cityname": {
  31250. "description": "城市名称",
  31251. "type": "string"
  31252. },
  31253. "confirmtime": {
  31254. "description": "取货时间 或 收货时间",
  31255. "type": "string"
  31256. },
  31257. "countryid": {
  31258. "description": "国家",
  31259. "type": "integer"
  31260. },
  31261. "countryname": {
  31262. "description": "国家名称",
  31263. "type": "string"
  31264. },
  31265. "decimalplace": {
  31266. "description": "商品报价小数位",
  31267. "type": "integer"
  31268. },
  31269. "districtid": {
  31270. "description": "地区",
  31271. "type": "integer"
  31272. },
  31273. "districtname": {
  31274. "description": "地区名称",
  31275. "type": "string"
  31276. },
  31277. "enumdicname": {
  31278. "description": "单位名称(提货商品)",
  31279. "type": "string"
  31280. },
  31281. "expresscompany": {
  31282. "description": "物流公司",
  31283. "type": "string"
  31284. },
  31285. "expressnum": {
  31286. "description": "物流单号",
  31287. "type": "string"
  31288. },
  31289. "goodsagreeunit": {
  31290. "description": "交易商品乘数",
  31291. "type": "number"
  31292. },
  31293. "goodscode": {
  31294. "description": "商品代码",
  31295. "type": "string"
  31296. },
  31297. "goodsid": {
  31298. "description": "商品ID",
  31299. "type": "integer"
  31300. },
  31301. "goodsname": {
  31302. "description": "商品名称",
  31303. "type": "string"
  31304. },
  31305. "goodsqty": {
  31306. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31307. "type": "number"
  31308. },
  31309. "handlestatus": {
  31310. "description": "处理状态",
  31311. "type": "integer"
  31312. },
  31313. "logincode": {
  31314. "description": "账号(登录代码, 有可能为空)",
  31315. "type": "string"
  31316. },
  31317. "marketid": {
  31318. "description": "市场ID",
  31319. "type": "integer"
  31320. },
  31321. "phonenum": {
  31322. "description": "提货人联系方式",
  31323. "type": "string"
  31324. },
  31325. "pickupgoodsagreeunit": {
  31326. "description": "提货商品合约乘数",
  31327. "type": "number"
  31328. },
  31329. "pickupgoodsid": {
  31330. "description": "提货商品ID",
  31331. "type": "string"
  31332. },
  31333. "pickupgoodsname": {
  31334. "description": "提货商品名称",
  31335. "type": "string"
  31336. },
  31337. "pickupgoodsqty": {
  31338. "description": "提货商品手数(数量)",
  31339. "type": "number"
  31340. },
  31341. "pickupgoodsunitid": {
  31342. "description": "单位ID(提货商品)",
  31343. "type": "integer"
  31344. },
  31345. "pickupratio": {
  31346. "description": "提货系数",
  31347. "type": "number"
  31348. },
  31349. "preparedays": {
  31350. "description": "备货期(天)-提货单明细表",
  31351. "type": "integer"
  31352. },
  31353. "provinceid": {
  31354. "description": "省",
  31355. "type": "integer"
  31356. },
  31357. "provincename": {
  31358. "description": "省名称",
  31359. "type": "string"
  31360. },
  31361. "qty": {
  31362. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31363. "type": "number"
  31364. },
  31365. "qtydecimalplace": {
  31366. "description": "商品数量小数位",
  31367. "type": "integer"
  31368. },
  31369. "recivername": {
  31370. "description": "提货人姓名",
  31371. "type": "string"
  31372. },
  31373. "reqtime": {
  31374. "description": "提货申请时间",
  31375. "type": "string"
  31376. },
  31377. "storeuserid": {
  31378. "description": "门店用户ID (千海金)",
  31379. "type": "integer"
  31380. },
  31381. "storeusername": {
  31382. "description": "门店用户名称",
  31383. "type": "string"
  31384. },
  31385. "takemode": {
  31386. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31387. "type": "integer"
  31388. },
  31389. "takeorderid": {
  31390. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31391. "type": "string"
  31392. },
  31393. "takeorderstatus": {
  31394. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31395. "type": "integer"
  31396. },
  31397. "takeremark": {
  31398. "description": "提货备注",
  31399. "type": "string"
  31400. },
  31401. "tradedate": {
  31402. "description": "交易日(yyyyMMdd)",
  31403. "type": "string"
  31404. },
  31405. "updatetime": {
  31406. "description": "更新时间",
  31407. "type": "string"
  31408. },
  31409. "userid": {
  31410. "description": "用户ID",
  31411. "type": "integer"
  31412. },
  31413. "userinfotype": {
  31414. "description": "客户类型 1-个人 2-企业",
  31415. "type": "integer"
  31416. },
  31417. "username": {
  31418. "description": "用户名称",
  31419. "type": "string"
  31420. }
  31421. }
  31422. },
  31423. "models.QhjUserNodeCfgAndStatus": {
  31424. "type": "object",
  31425. "properties": {
  31426. "agreementcontent": {
  31427. "description": "协议内容",
  31428. "type": "string"
  31429. },
  31430. "agreementid": {
  31431. "description": "协议ID",
  31432. "type": "integer"
  31433. },
  31434. "agreementname": {
  31435. "description": "协议名称",
  31436. "type": "string"
  31437. },
  31438. "agreementno": {
  31439. "description": "协议编号",
  31440. "type": "string"
  31441. },
  31442. "agreementtype": {
  31443. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31444. "type": "integer"
  31445. },
  31446. "agreementversion": {
  31447. "description": "协议版本号",
  31448. "type": "integer"
  31449. },
  31450. "configid": {
  31451. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31452. "type": "integer"
  31453. },
  31454. "createtime": {
  31455. "description": "创建时间",
  31456. "type": "string"
  31457. },
  31458. "goodsid": {
  31459. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31460. "type": "integer"
  31461. },
  31462. "nodetype": {
  31463. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31464. "type": "integer"
  31465. },
  31466. "signtimestamp": {
  31467. "description": "签约状态时间戳(最近一次)",
  31468. "type": "string"
  31469. },
  31470. "tradedate": {
  31471. "description": "签约交易日(yyyyMMdd)",
  31472. "type": "string"
  31473. },
  31474. "userid": {
  31475. "description": "客户ID",
  31476. "type": "integer"
  31477. }
  31478. }
  31479. },
  31480. "models.Qhjgoodsex": {
  31481. "type": "object",
  31482. "properties": {
  31483. "canfinance": {
  31484. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31485. "type": "integer"
  31486. },
  31487. "canregularlybuy": {
  31488. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31489. "type": "integer"
  31490. },
  31491. "defaulttradeuserid": {
  31492. "description": "默认交易用户ID",
  31493. "type": "integer"
  31494. },
  31495. "deliverygoodsid": {
  31496. "description": "现货品种ID",
  31497. "type": "integer"
  31498. },
  31499. "goodsid": {
  31500. "description": "商品ID(自增ID SEQ_GOODS)",
  31501. "type": "integer"
  31502. },
  31503. "minamount": {
  31504. "description": "最小购买金额",
  31505. "type": "number"
  31506. },
  31507. "regularlybuyminamount": {
  31508. "description": "定投最小金额",
  31509. "type": "number"
  31510. },
  31511. "regularlybuyminqty": {
  31512. "description": "定投最小数量",
  31513. "type": "number"
  31514. },
  31515. "spotgoodsbrandid": {
  31516. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31517. "type": "integer"
  31518. },
  31519. "visibilityforenterprise": {
  31520. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31521. "type": "integer"
  31522. },
  31523. "visibilityforpersonal": {
  31524. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31525. "type": "integer"
  31526. },
  31527. "wrstandardid": {
  31528. "description": "现货商品ID",
  31529. "type": "integer"
  31530. }
  31531. }
  31532. },
  31533. "models.QueryErrorInfosRsp": {
  31534. "type": "object",
  31535. "required": [
  31536. "errorid"
  31537. ],
  31538. "properties": {
  31539. "description": {
  31540. "description": "异常描述",
  31541. "type": "string"
  31542. },
  31543. "errorcode": {
  31544. "description": "异常代码",
  31545. "type": "string"
  31546. },
  31547. "errorid": {
  31548. "description": "异常ID",
  31549. "type": "integer"
  31550. },
  31551. "modulecode": {
  31552. "description": "所属模块",
  31553. "type": "string"
  31554. },
  31555. "operatecode": {
  31556. "description": "所属操作",
  31557. "type": "string"
  31558. },
  31559. "rownumber": {
  31560. "description": "行号",
  31561. "type": "string"
  31562. }
  31563. }
  31564. },
  31565. "models.QueryHedgeOrderDetailRsp": {
  31566. "type": "object",
  31567. "properties": {
  31568. "accountid": {
  31569. "description": "账户ID",
  31570. "type": "integer"
  31571. },
  31572. "buyorsell": {
  31573. "description": "买卖 - 0:买 1:卖",
  31574. "type": "integer"
  31575. },
  31576. "cancellogincode": {
  31577. "description": "撤单人",
  31578. "type": "string"
  31579. },
  31580. "channelbuildtype": {
  31581. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31582. "type": "integer"
  31583. },
  31584. "channelinnerorderstatus": {
  31585. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31586. "type": "integer"
  31587. },
  31588. "channeloperatetype": {
  31589. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31590. "type": "integer"
  31591. },
  31592. "closetype": {
  31593. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31594. "type": "integer"
  31595. },
  31596. "curexchangerate": {
  31597. "description": "当前汇率",
  31598. "type": "number"
  31599. },
  31600. "exchangefullname": {
  31601. "description": "外部交易所全称",
  31602. "type": "string"
  31603. },
  31604. "goodscode": {
  31605. "description": "商品代码(内部)",
  31606. "type": "string"
  31607. },
  31608. "goodsid": {
  31609. "description": "商品ID",
  31610. "type": "integer"
  31611. },
  31612. "goodsname": {
  31613. "description": "商品名称",
  31614. "type": "string"
  31615. },
  31616. "marketid": {
  31617. "description": "市场ID",
  31618. "type": "integer"
  31619. },
  31620. "openfreezemargin": {
  31621. "description": "冻结保证金(冻结交易金额)",
  31622. "type": "number"
  31623. },
  31624. "orderid": {
  31625. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31626. "type": "string"
  31627. },
  31628. "orderlogincode": {
  31629. "description": "委托人",
  31630. "type": "string"
  31631. },
  31632. "orderprice": {
  31633. "description": "委托价格(账户)",
  31634. "type": "number"
  31635. },
  31636. "orderqty": {
  31637. "description": "委托数量",
  31638. "type": "integer"
  31639. },
  31640. "ordertime": {
  31641. "description": "委托时间",
  31642. "type": "string"
  31643. },
  31644. "pricemode": {
  31645. "description": "取价方式 - 1:市价 2: 限价",
  31646. "type": "integer"
  31647. },
  31648. "tradedate": {
  31649. "description": "交易日(yyyyMMdd)",
  31650. "type": "string"
  31651. },
  31652. "tradeqty": {
  31653. "description": "成交数量",
  31654. "type": "integer"
  31655. }
  31656. }
  31657. },
  31658. "models.QueryHedgeTradeDetailRsp": {
  31659. "type": "object",
  31660. "properties": {
  31661. "accountid": {
  31662. "description": "账号ID",
  31663. "type": "integer"
  31664. },
  31665. "buyorsell": {
  31666. "description": "方向 - 0:买 1:卖",
  31667. "type": "integer"
  31668. },
  31669. "channelbuildtype": {
  31670. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31671. "type": "integer"
  31672. },
  31673. "closecharge": {
  31674. "description": "平仓手续费(账户)",
  31675. "type": "number"
  31676. },
  31677. "closecharge2": {
  31678. "description": "平仓手续费(商品)",
  31679. "type": "number"
  31680. },
  31681. "closepl": {
  31682. "description": "平仓盈亏(账户)",
  31683. "type": "number"
  31684. },
  31685. "closepl2": {
  31686. "description": "平仓盈亏(商品)",
  31687. "type": "number"
  31688. },
  31689. "closepl3": {
  31690. "description": "平仓盈亏(账户)(逐笔)",
  31691. "type": "number"
  31692. },
  31693. "closepl4": {
  31694. "description": "平仓盈亏(商品)(逐笔)",
  31695. "type": "number"
  31696. },
  31697. "closetype": {
  31698. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31699. "type": "integer"
  31700. },
  31701. "curexchangerate": {
  31702. "description": "当前汇率",
  31703. "type": "number"
  31704. },
  31705. "exchangefullname": {
  31706. "description": "外部交易所全称",
  31707. "type": "string"
  31708. },
  31709. "goodscode": {
  31710. "description": "商品代码(内部)",
  31711. "type": "string"
  31712. },
  31713. "goodsid": {
  31714. "description": "商品ID",
  31715. "type": "integer"
  31716. },
  31717. "goodsname": {
  31718. "description": "商品名称",
  31719. "type": "string"
  31720. },
  31721. "marketid": {
  31722. "description": "市场ID",
  31723. "type": "integer"
  31724. },
  31725. "opencharge": {
  31726. "description": "建仓手续费(账户)",
  31727. "type": "number"
  31728. },
  31729. "opencharge2": {
  31730. "description": "建仓手续费(商品)",
  31731. "type": "number"
  31732. },
  31733. "orderid": {
  31734. "description": "委托单号",
  31735. "type": "string"
  31736. },
  31737. "orderlogincode": {
  31738. "description": "委托人",
  31739. "type": "string"
  31740. },
  31741. "tradeamount": {
  31742. "description": "成交金额(账户)",
  31743. "type": "number"
  31744. },
  31745. "tradedate": {
  31746. "description": "交易日(yyyyMMdd)",
  31747. "type": "string"
  31748. },
  31749. "tradeid": {
  31750. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31751. "type": "string"
  31752. },
  31753. "tradeprice": {
  31754. "description": "成交价格",
  31755. "type": "number"
  31756. },
  31757. "tradeqty": {
  31758. "description": "成交数量",
  31759. "type": "integer"
  31760. },
  31761. "tradetime": {
  31762. "description": "成交时间",
  31763. "type": "string"
  31764. },
  31765. "tradetype": {
  31766. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31767. "type": "integer"
  31768. }
  31769. }
  31770. },
  31771. "models.QuotePrimaryMenu": {
  31772. "type": "object",
  31773. "properties": {
  31774. "Index": {
  31775. "description": "序号",
  31776. "type": "integer"
  31777. },
  31778. "Key": {
  31779. "description": "键名",
  31780. "type": "string"
  31781. },
  31782. "Name": {
  31783. "description": "菜单名称",
  31784. "type": "string"
  31785. },
  31786. "SubMenus": {
  31787. "description": "子菜单",
  31788. "type": "array",
  31789. "items": {
  31790. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31791. }
  31792. },
  31793. "SubTitleType": {
  31794. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31795. "type": "integer"
  31796. },
  31797. "TradeModes": {
  31798. "description": "包含市场交易类型",
  31799. "type": "string"
  31800. }
  31801. }
  31802. },
  31803. "models.QuoteSecondaryMenu": {
  31804. "type": "object",
  31805. "properties": {
  31806. "ExExchangeCode": {
  31807. "description": "外部交易所代码",
  31808. "type": "string"
  31809. },
  31810. "ExExchangeID": {
  31811. "description": "外部交易所ID",
  31812. "type": "integer"
  31813. },
  31814. "GoodsGroupIDs": {
  31815. "description": "商品组ID列表",
  31816. "type": "array",
  31817. "items": {
  31818. "type": "integer"
  31819. }
  31820. },
  31821. "Index": {
  31822. "description": "序号",
  31823. "type": "integer"
  31824. },
  31825. "MarketID": {
  31826. "description": "市场ID",
  31827. "type": "integer"
  31828. },
  31829. "MenuTitle": {
  31830. "description": "菜单标题(市场名称或外部交易所名称)",
  31831. "type": "string"
  31832. },
  31833. "TradeMode": {
  31834. "description": "交易模式",
  31835. "type": "integer"
  31836. }
  31837. }
  31838. },
  31839. "models.RoleMenu": {
  31840. "type": "object",
  31841. "properties": {
  31842. "hasright": {
  31843. "description": "是否有权限 0-没有权限 1-有权限",
  31844. "type": "integer"
  31845. },
  31846. "iconame": {
  31847. "description": "菜单图标",
  31848. "type": "string"
  31849. },
  31850. "menutype": {
  31851. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31852. "type": "integer"
  31853. },
  31854. "parentcode": {
  31855. "description": "上级资源代码",
  31856. "type": "string"
  31857. },
  31858. "remark": {
  31859. "description": "菜单备注",
  31860. "type": "string"
  31861. },
  31862. "resourcecode": {
  31863. "description": "菜单代码",
  31864. "type": "string"
  31865. },
  31866. "resourcelevel": {
  31867. "description": "级别",
  31868. "type": "integer"
  31869. },
  31870. "resourcename": {
  31871. "description": "菜单名称",
  31872. "type": "string"
  31873. },
  31874. "roleid": {
  31875. "description": "角色id",
  31876. "type": "integer"
  31877. },
  31878. "sort": {
  31879. "description": "排序",
  31880. "type": "integer"
  31881. },
  31882. "subMenu": {
  31883. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31884. "type": "array",
  31885. "items": {
  31886. "$ref": "#/definitions/models.RoleMenu"
  31887. }
  31888. },
  31889. "url": {
  31890. "description": "URL",
  31891. "type": "string"
  31892. },
  31893. "userid": {
  31894. "description": "用户id",
  31895. "type": "integer"
  31896. }
  31897. }
  31898. },
  31899. "models.SearchGoods": {
  31900. "type": "object",
  31901. "required": [
  31902. "goodscode",
  31903. "goodsid",
  31904. "goodsname",
  31905. "marketid",
  31906. "trademode"
  31907. ],
  31908. "properties": {
  31909. "goodscode": {
  31910. "description": "商品代码(内部)",
  31911. "type": "string"
  31912. },
  31913. "goodsid": {
  31914. "description": "商品ID(自增ID SEQ_GOODS)",
  31915. "type": "integer"
  31916. },
  31917. "goodsname": {
  31918. "description": "商品名称",
  31919. "type": "string"
  31920. },
  31921. "marketid": {
  31922. "description": "所属市场ID",
  31923. "type": "integer"
  31924. },
  31925. "marketname": {
  31926. "description": "市场名称",
  31927. "type": "string"
  31928. },
  31929. "trademode": {
  31930. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31931. "type": "integer"
  31932. }
  31933. }
  31934. },
  31935. "models.Systemparam": {
  31936. "type": "object",
  31937. "required": [
  31938. "paramcode"
  31939. ],
  31940. "properties": {
  31941. "loginid": {
  31942. "description": "更新用户账号,登录账号",
  31943. "type": "string"
  31944. },
  31945. "modifyflag": {
  31946. "description": "修改标志0 不允许修改 1 允许修改",
  31947. "type": "integer"
  31948. },
  31949. "paramcode": {
  31950. "description": "参数代码",
  31951. "type": "string"
  31952. },
  31953. "paramname": {
  31954. "description": "参数名",
  31955. "type": "string"
  31956. },
  31957. "paramtype": {
  31958. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31959. "type": "integer"
  31960. },
  31961. "paramvalue": {
  31962. "description": "参数值",
  31963. "type": "string"
  31964. },
  31965. "paramvalue2": {
  31966. "description": "参数值(CLOB)",
  31967. "type": "string"
  31968. },
  31969. "regexpress": {
  31970. "description": "正则表达式",
  31971. "type": "string"
  31972. },
  31973. "remark": {
  31974. "description": "备注",
  31975. "type": "string"
  31976. },
  31977. "serverip": {
  31978. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31979. "type": "string"
  31980. },
  31981. "showflag": {
  31982. "description": "是否显示0 不显示 1 显示",
  31983. "type": "integer"
  31984. },
  31985. "updatetime": {
  31986. "description": "更新时间",
  31987. "type": "string"
  31988. },
  31989. "userid": {
  31990. "description": "更新用户ID",
  31991. "type": "integer"
  31992. }
  31993. }
  31994. },
  31995. "models.Szdz3convertconfig": {
  31996. "type": "object",
  31997. "required": [
  31998. "converttype",
  31999. "innergoodsid",
  32000. "outergoodscode"
  32001. ],
  32002. "properties": {
  32003. "canin": {
  32004. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32005. "type": "integer"
  32006. },
  32007. "canout": {
  32008. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32009. "type": "integer"
  32010. },
  32011. "converttype": {
  32012. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32013. "type": "integer"
  32014. },
  32015. "createtime": {
  32016. "description": "创建时间",
  32017. "type": "string"
  32018. },
  32019. "creatorid": {
  32020. "description": "创建人",
  32021. "type": "integer"
  32022. },
  32023. "daymaxvalue": {
  32024. "description": "当日最大转入限制",
  32025. "type": "number"
  32026. },
  32027. "freezedays": {
  32028. "description": "冻结天数 [5:花生米转交易]",
  32029. "type": "integer"
  32030. },
  32031. "innergoodsid": {
  32032. "description": "内部商品ID[交易]",
  32033. "type": "integer"
  32034. },
  32035. "inratio": {
  32036. "description": "目标值",
  32037. "type": "integer"
  32038. },
  32039. "modifierid": {
  32040. "description": "修改人",
  32041. "type": "integer"
  32042. },
  32043. "modifytime": {
  32044. "description": "修改时间",
  32045. "type": "string"
  32046. },
  32047. "outergoodscode": {
  32048. "description": "外部商品代码[JD\\PD]",
  32049. "type": "string"
  32050. },
  32051. "outratio": {
  32052. "description": "源值",
  32053. "type": "integer"
  32054. },
  32055. "pddecimalplace": {
  32056. "description": "PD小数位",
  32057. "type": "integer"
  32058. },
  32059. "timemaxvalue": {
  32060. "description": "单次最大转入限制",
  32061. "type": "number"
  32062. },
  32063. "timeminvalue": {
  32064. "description": "单次最小转入限制",
  32065. "type": "number"
  32066. }
  32067. }
  32068. },
  32069. "models.Szdz3searchwhitelist": {
  32070. "type": "object",
  32071. "required": [
  32072. "userid"
  32073. ],
  32074. "properties": {
  32075. "createtime": {
  32076. "description": "创建时间",
  32077. "type": "string"
  32078. },
  32079. "creatorid": {
  32080. "description": "创建人",
  32081. "type": "integer"
  32082. },
  32083. "modifierid": {
  32084. "description": "修改人",
  32085. "type": "integer"
  32086. },
  32087. "modifytime": {
  32088. "description": "修改时间",
  32089. "type": "string"
  32090. },
  32091. "userid": {
  32092. "description": "用户ID",
  32093. "type": "integer"
  32094. }
  32095. }
  32096. },
  32097. "models.TBGoods": {
  32098. "type": "object",
  32099. "properties": {
  32100. "agreeunit": {
  32101. "description": "合约乘数",
  32102. "type": "number"
  32103. },
  32104. "enumdicname": {
  32105. "description": "单位名称",
  32106. "type": "string"
  32107. },
  32108. "goodscode": {
  32109. "description": "商品代码(内部)",
  32110. "type": "string"
  32111. },
  32112. "goodsid": {
  32113. "description": "商品ID(自增ID SEQ_GOODS)",
  32114. "type": "integer"
  32115. },
  32116. "goodsname": {
  32117. "description": "商品名称",
  32118. "type": "string"
  32119. }
  32120. }
  32121. },
  32122. "models.TBGoodsGroup": {
  32123. "type": "object",
  32124. "properties": {
  32125. "GDLST": {
  32126. "description": "商品列表",
  32127. "type": "array",
  32128. "items": {
  32129. "$ref": "#/definitions/models.TBGoods"
  32130. }
  32131. },
  32132. "convertratio": {
  32133. "description": "折算系数",
  32134. "type": "number"
  32135. },
  32136. "enumdicname": {
  32137. "description": "单位名称",
  32138. "type": "string"
  32139. },
  32140. "exexchangecode": {
  32141. "description": "交易所代码",
  32142. "type": "string"
  32143. },
  32144. "exexchangename": {
  32145. "description": "交易所名称",
  32146. "type": "string"
  32147. },
  32148. "goodsgroupid": {
  32149. "description": "商品组ID(自增ID)",
  32150. "type": "integer"
  32151. },
  32152. "goodsgroupname": {
  32153. "description": "商品组名称",
  32154. "type": "string"
  32155. },
  32156. "goodunitid": {
  32157. "description": "报价单位ID",
  32158. "type": "integer"
  32159. }
  32160. }
  32161. },
  32162. "models.TBMiddleGoods": {
  32163. "type": "object",
  32164. "properties": {
  32165. "GPLST": {
  32166. "description": "期货品种列表",
  32167. "type": "array",
  32168. "items": {
  32169. "$ref": "#/definitions/models.TBGoodsGroup"
  32170. }
  32171. },
  32172. "WDLST": {
  32173. "description": "商品信息列表(现货品类)",
  32174. "type": "array",
  32175. "items": {
  32176. "$ref": "#/definitions/models.TBWrstandard"
  32177. }
  32178. },
  32179. "areauserid": {
  32180. "description": "机构用户ID",
  32181. "type": "integer"
  32182. },
  32183. "enumdicname": {
  32184. "description": "单位名称",
  32185. "type": "string"
  32186. },
  32187. "goodsunitid": {
  32188. "description": "套保品种单位id",
  32189. "type": "integer"
  32190. },
  32191. "middlegoodscode": {
  32192. "description": "套保品种代码",
  32193. "type": "string"
  32194. },
  32195. "middlegoodsid": {
  32196. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32197. "type": "integer"
  32198. },
  32199. "middlegoodsname": {
  32200. "description": "套保品种名称",
  32201. "type": "string"
  32202. },
  32203. "needarbitrageratio": {
  32204. "description": "套利比率",
  32205. "type": "number"
  32206. },
  32207. "needhedgeratio": {
  32208. "description": "套保比率",
  32209. "type": "number"
  32210. }
  32211. }
  32212. },
  32213. "models.TBWrstandard": {
  32214. "type": "object",
  32215. "properties": {
  32216. "convertratio": {
  32217. "description": "折算系数",
  32218. "type": "number"
  32219. },
  32220. "deliverygoodsname": {
  32221. "description": "品种名称",
  32222. "type": "string"
  32223. },
  32224. "enumdicname": {
  32225. "description": "单位名称",
  32226. "type": "string"
  32227. },
  32228. "vatrate": {
  32229. "description": "增值税率",
  32230. "type": "number"
  32231. },
  32232. "wrstandardcode": {
  32233. "description": "现货商品代码",
  32234. "type": "string"
  32235. },
  32236. "wrstandardid": {
  32237. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32238. "type": "integer"
  32239. },
  32240. "wrstandardname": {
  32241. "description": "现货商品名称",
  32242. "type": "string"
  32243. }
  32244. }
  32245. },
  32246. "models.Taaccount": {
  32247. "type": "object",
  32248. "required": [
  32249. "accountid",
  32250. "userid"
  32251. ],
  32252. "properties": {
  32253. "accountflag": {
  32254. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32255. "type": "integer"
  32256. },
  32257. "accountid": {
  32258. "description": "资金账户ID",
  32259. "type": "integer"
  32260. },
  32261. "accountname": {
  32262. "description": "账户名称",
  32263. "type": "string"
  32264. },
  32265. "balance": {
  32266. "description": "期初余额",
  32267. "type": "number"
  32268. },
  32269. "capitalbalance": {
  32270. "description": "本金余额[外部子账户实际出入金余额]",
  32271. "type": "number"
  32272. },
  32273. "changeflag": {
  32274. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32275. "type": "integer"
  32276. },
  32277. "changetime": {
  32278. "description": "账户状态变更时间",
  32279. "type": "string"
  32280. },
  32281. "closepl": {
  32282. "description": "今日平仓盈亏",
  32283. "type": "number"
  32284. },
  32285. "creditdecrease": {
  32286. "description": "今日授信减少",
  32287. "type": "number"
  32288. },
  32289. "creditincrease": {
  32290. "description": "今日授信增加",
  32291. "type": "number"
  32292. },
  32293. "curamount": {
  32294. "description": "总市值(从持仓中统计)",
  32295. "type": "number"
  32296. },
  32297. "currencyid": {
  32298. "description": "货币ID",
  32299. "type": "integer"
  32300. },
  32301. "currentbalance": {
  32302. "description": "期末余额",
  32303. "type": "number"
  32304. },
  32305. "freezecharge": {
  32306. "description": "手续费冻结",
  32307. "type": "number"
  32308. },
  32309. "freezemargin": {
  32310. "description": "冻结保证金",
  32311. "type": "number"
  32312. },
  32313. "fromaccountid": {
  32314. "description": "所属上级账户",
  32315. "type": "integer"
  32316. },
  32317. "inamount": {
  32318. "description": "今日入金金额(包括三方入金)",
  32319. "type": "number"
  32320. },
  32321. "ismain": {
  32322. "description": "是否母账号 0:不是母账户 1:是母账户",
  32323. "type": "integer"
  32324. },
  32325. "ismarketaccount": {
  32326. "description": "是否机构接单账号 0:不是 1:是",
  32327. "type": "integer"
  32328. },
  32329. "isreckonaccount": {
  32330. "description": "是否机构分润账号 0:不是 1:是",
  32331. "type": "integer"
  32332. },
  32333. "mortgagecredit": {
  32334. "description": "授信金额",
  32335. "type": "number"
  32336. },
  32337. "orifreezecharge": {
  32338. "description": "期初手续费冻结",
  32339. "type": "number"
  32340. },
  32341. "orifreezemargin": {
  32342. "description": "期初冻结保证金",
  32343. "type": "number"
  32344. },
  32345. "orimortgagecredit": {
  32346. "description": "期初授信金额",
  32347. "type": "number"
  32348. },
  32349. "oriothercredit": {
  32350. "description": "期初其它授信金额",
  32351. "type": "number"
  32352. },
  32353. "oriotherfreezemargin": {
  32354. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32355. "type": "number"
  32356. },
  32357. "orioutamountfreeze": {
  32358. "description": "期初出金冻结",
  32359. "type": "number"
  32360. },
  32361. "oriusedmargin": {
  32362. "description": "期初占用保证金",
  32363. "type": "number"
  32364. },
  32365. "othercredit": {
  32366. "description": "其它授信金额",
  32367. "type": "number"
  32368. },
  32369. "othercreditdecrease": {
  32370. "description": "今日其它授信减少",
  32371. "type": "number"
  32372. },
  32373. "othercreditincrease": {
  32374. "description": "今日其它授信增加",
  32375. "type": "number"
  32376. },
  32377. "otherfreezemargin": {
  32378. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32379. "type": "number"
  32380. },
  32381. "otherincome": {
  32382. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32383. "type": "number"
  32384. },
  32385. "otherpay": {
  32386. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32387. "type": "number"
  32388. },
  32389. "outamount": {
  32390. "description": "今日出金金额(包括三方出金)",
  32391. "type": "number"
  32392. },
  32393. "outamountfreeze": {
  32394. "description": "出金冻结",
  32395. "type": "number"
  32396. },
  32397. "outthreshold": {
  32398. "description": "出金阈值",
  32399. "type": "number"
  32400. },
  32401. "parentaccountid": {
  32402. "description": "所属根账号",
  32403. "type": "integer"
  32404. },
  32405. "paycharge": {
  32406. "description": "今日手续费支出",
  32407. "type": "number"
  32408. },
  32409. "relatedaccountstatus": {
  32410. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32411. "type": "integer"
  32412. },
  32413. "relateduserid": {
  32414. "description": "关联用户",
  32415. "type": "integer"
  32416. },
  32417. "remainamount": {
  32418. "description": "融资额(从融资合同中统计)",
  32419. "type": "number"
  32420. },
  32421. "serivcegroup": {
  32422. "description": "服务分组",
  32423. "type": "integer"
  32424. },
  32425. "signstatus": {
  32426. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32427. "type": "integer"
  32428. },
  32429. "sublevelpath": {
  32430. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32431. "type": "string"
  32432. },
  32433. "taaccounttype": {
  32434. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32435. "type": "integer"
  32436. },
  32437. "thirdinamount": {
  32438. "description": "今日三方入金",
  32439. "type": "number"
  32440. },
  32441. "thirdoutamount": {
  32442. "description": "今日三方出金",
  32443. "type": "number"
  32444. },
  32445. "tradestatus": {
  32446. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32447. "type": "integer"
  32448. },
  32449. "tradestatuschangetime": {
  32450. "description": "激活时间",
  32451. "type": "string"
  32452. },
  32453. "transferamount": {
  32454. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32455. "type": "number"
  32456. },
  32457. "usedmargin": {
  32458. "description": "占用保证金",
  32459. "type": "number"
  32460. },
  32461. "userid": {
  32462. "description": "用户ID",
  32463. "type": "integer"
  32464. }
  32465. }
  32466. },
  32467. "models.Tablecolumnconfig": {
  32468. "type": "object",
  32469. "required": [
  32470. "autoid"
  32471. ],
  32472. "properties": {
  32473. "aligntype": {
  32474. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32475. "type": "integer"
  32476. },
  32477. "autoid": {
  32478. "description": "AutoID",
  32479. "type": "integer"
  32480. },
  32481. "columnfield": {
  32482. "description": "列字段",
  32483. "type": "string"
  32484. },
  32485. "columntitle": {
  32486. "description": "列Title",
  32487. "type": "string"
  32488. },
  32489. "columnwidth": {
  32490. "description": "列宽",
  32491. "type": "string"
  32492. },
  32493. "formatterstring": {
  32494. "description": "格式化字符",
  32495. "type": "string"
  32496. },
  32497. "formattertype": {
  32498. "description": "格式化类型",
  32499. "type": "string"
  32500. },
  32501. "groupname": {
  32502. "description": "表头分组名称",
  32503. "type": "string"
  32504. },
  32505. "isshow": {
  32506. "description": "是否显示 - 0:不显示 1:显示",
  32507. "type": "integer"
  32508. },
  32509. "needsummary": {
  32510. "description": "是否需要汇总 - 0:不需要 1:需要",
  32511. "type": "integer"
  32512. },
  32513. "orderindex": {
  32514. "description": "顺序",
  32515. "type": "integer"
  32516. },
  32517. "remark": {
  32518. "description": "备注",
  32519. "type": "string"
  32520. },
  32521. "summarytype": {
  32522. "description": "汇总类型 - 1:加总 2:最后一个",
  32523. "type": "integer"
  32524. },
  32525. "tablekey": {
  32526. "description": "列表Key",
  32527. "type": "string"
  32528. }
  32529. }
  32530. },
  32531. "models.TjmdMarketSection": {
  32532. "type": "object",
  32533. "properties": {
  32534. "marketsectionid": {
  32535. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32536. "type": "integer"
  32537. },
  32538. "marketsectionname": {
  32539. "description": "市场版块名称",
  32540. "type": "string"
  32541. },
  32542. "mlist": {
  32543. "description": "市场列表(板块下面有多少个市场)",
  32544. "type": "array",
  32545. "items": {
  32546. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32547. }
  32548. },
  32549. "orderindex": {
  32550. "description": "排序",
  32551. "type": "integer"
  32552. },
  32553. "remark": {
  32554. "description": "备注",
  32555. "type": "string"
  32556. }
  32557. }
  32558. },
  32559. "models.TjmdMarketSectionConfig": {
  32560. "type": "object",
  32561. "properties": {
  32562. "auctionwrtype": {
  32563. "description": "仓单类型(现货交易) 1:无仓单 2:有仓单 3;有无仓单均可",
  32564. "type": "integer"
  32565. },
  32566. "listingmode": {
  32567. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32568. "type": "integer"
  32569. },
  32570. "marketid": {
  32571. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32572. "type": "integer"
  32573. },
  32574. "marketname": {
  32575. "description": "市场名称",
  32576. "type": "string"
  32577. },
  32578. "marketsectionid": {
  32579. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32580. "type": "integer"
  32581. },
  32582. "markettype": {
  32583. "description": "市场类型 1:非交易服务 2:交易服务",
  32584. "type": "integer"
  32585. },
  32586. "nowrquotaflag": {
  32587. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32588. "type": "integer"
  32589. },
  32590. "orderindex": {
  32591. "description": "排序",
  32592. "type": "integer"
  32593. }
  32594. }
  32595. },
  32596. "models.TjmdQuoteGoods": {
  32597. "type": "object",
  32598. "properties": {
  32599. "buyqty": {
  32600. "description": "买量(暂不做, 无值, 保留字段)",
  32601. "type": "number"
  32602. },
  32603. "goodscode": {
  32604. "description": "合约代码",
  32605. "type": "string"
  32606. },
  32607. "goodsgroupid": {
  32608. "description": "商品组ID(自增ID)",
  32609. "type": "integer"
  32610. },
  32611. "goodsgroupname": {
  32612. "description": "商品组名称",
  32613. "type": "string"
  32614. },
  32615. "goodsid": {
  32616. "description": "合约id",
  32617. "type": "integer"
  32618. },
  32619. "goodsname": {
  32620. "description": "合约名称",
  32621. "type": "string"
  32622. },
  32623. "refgoodscode": {
  32624. "description": "标的合约代码",
  32625. "type": "string"
  32626. },
  32627. "refgoodsid": {
  32628. "description": "标的合约id",
  32629. "type": "integer"
  32630. },
  32631. "refgoodsname": {
  32632. "description": "标的合约名称",
  32633. "type": "string"
  32634. },
  32635. "sellqty": {
  32636. "description": "卖量(暂不做, 无值, 保留字段)",
  32637. "type": "number"
  32638. }
  32639. }
  32640. },
  32641. "models.TjmdTodayAccountMargin": {
  32642. "type": "object",
  32643. "properties": {
  32644. "accountid": {
  32645. "description": "账号ID",
  32646. "type": "integer"
  32647. },
  32648. "goodsid": {
  32649. "description": "商品ID",
  32650. "type": "integer"
  32651. },
  32652. "infoc": {
  32653. "description": "配置参数",
  32654. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32655. },
  32656. "marketid": {
  32657. "description": "市场ID",
  32658. "type": "integer"
  32659. }
  32660. }
  32661. },
  32662. "models.TjmdTradeOrderDetail": {
  32663. "type": "object",
  32664. "properties": {
  32665. "buyorsell": {
  32666. "description": "买卖方向 0-买 1-卖",
  32667. "type": "integer"
  32668. },
  32669. "goodsid": {
  32670. "description": "商品id",
  32671. "type": "integer"
  32672. },
  32673. "marketmaxsub": {
  32674. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32675. "type": "number"
  32676. },
  32677. "orderid": {
  32678. "description": "委托单号",
  32679. "type": "string"
  32680. },
  32681. "orderprice": {
  32682. "description": "委托价格",
  32683. "type": "number"
  32684. },
  32685. "orderqty": {
  32686. "description": "委托数量",
  32687. "type": "integer"
  32688. },
  32689. "pricemode": {
  32690. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32691. "type": "integer"
  32692. },
  32693. "userid": {
  32694. "description": "用户id",
  32695. "type": "integer"
  32696. },
  32697. "username": {
  32698. "description": "用户名称(已脱敏)",
  32699. "type": "string"
  32700. }
  32701. }
  32702. },
  32703. "models.TjmdTransferApply": {
  32704. "type": "object",
  32705. "properties": {
  32706. "applyid": {
  32707. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32708. "type": "integer"
  32709. },
  32710. "applystatus": {
  32711. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32712. "type": "integer"
  32713. },
  32714. "applytime": {
  32715. "description": "申请时间(时间)",
  32716. "type": "string"
  32717. },
  32718. "auditremark": {
  32719. "description": "审核备注(拒绝原因?)",
  32720. "type": "string"
  32721. },
  32722. "begindate": {
  32723. "description": "开始交易日(yyyymmdd)",
  32724. "type": "string"
  32725. },
  32726. "buyorsell": {
  32727. "description": "买卖 - 0:买 1:卖",
  32728. "type": "integer"
  32729. },
  32730. "enddate": {
  32731. "description": "结束交易日(yyyymmdd)",
  32732. "type": "string"
  32733. },
  32734. "goodscode": {
  32735. "description": "商品代码",
  32736. "type": "string"
  32737. },
  32738. "goodsid": {
  32739. "description": "商品ID",
  32740. "type": "integer"
  32741. },
  32742. "goodsname": {
  32743. "description": "商品名称",
  32744. "type": "string"
  32745. },
  32746. "marketid": {
  32747. "description": "市场ID",
  32748. "type": "integer"
  32749. },
  32750. "qty": {
  32751. "description": "转让数量(数量)",
  32752. "type": "number"
  32753. },
  32754. "tradeid": {
  32755. "description": "成交单号(关联持仓)",
  32756. "type": "string"
  32757. },
  32758. "transferamount": {
  32759. "description": "转让总金额(金额)",
  32760. "type": "number"
  32761. },
  32762. "transferprice": {
  32763. "description": "转让价格(协议价格)",
  32764. "type": "number"
  32765. }
  32766. }
  32767. },
  32768. "models.TradeHolderDetail": {
  32769. "type": "object",
  32770. "properties": {
  32771. "accountid": {
  32772. "description": "账号ID",
  32773. "type": "integer"
  32774. },
  32775. "agreeunit": {
  32776. "description": "合约乘数",
  32777. "type": "number"
  32778. },
  32779. "buyorsell": {
  32780. "description": "方向 - 0:买 1:卖",
  32781. "type": "integer"
  32782. },
  32783. "currencyid": {
  32784. "description": "商品币种id",
  32785. "type": "integer"
  32786. },
  32787. "currencyname": {
  32788. "description": "币种名称",
  32789. "type": "string"
  32790. },
  32791. "decimalplace": {
  32792. "description": "商品价格小数位",
  32793. "type": "integer"
  32794. },
  32795. "enumdicname": {
  32796. "description": "商品单位名称",
  32797. "type": "string"
  32798. },
  32799. "expirecycle": {
  32800. "description": "行权周期(天) - 1:滚动行权时填写",
  32801. "type": "integer"
  32802. },
  32803. "expiredate": {
  32804. "description": "行权日(yyyyMMdd) - 到期日",
  32805. "type": "string"
  32806. },
  32807. "expiretype": {
  32808. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32809. "type": "integer"
  32810. },
  32811. "freezeqty": {
  32812. "description": "冻结数量",
  32813. "type": "number"
  32814. },
  32815. "goodscode": {
  32816. "description": "商品代码",
  32817. "type": "string"
  32818. },
  32819. "goodsid": {
  32820. "description": "商品ID",
  32821. "type": "integer"
  32822. },
  32823. "goodsname": {
  32824. "description": "商品名称",
  32825. "type": "string"
  32826. },
  32827. "goodunitid": {
  32828. "description": "商品单位id",
  32829. "type": "integer"
  32830. },
  32831. "holderamount": {
  32832. "description": "持仓金额",
  32833. "type": "number"
  32834. },
  32835. "holdercredit": {
  32836. "description": "持仓授信金额",
  32837. "type": "number"
  32838. },
  32839. "holderdays": {
  32840. "description": "剩余冻结天数",
  32841. "type": "integer"
  32842. },
  32843. "holderprice": {
  32844. "description": "持仓价格",
  32845. "type": "number"
  32846. },
  32847. "holderqty": {
  32848. "description": "持仓数量",
  32849. "type": "number"
  32850. },
  32851. "isconfirmexercise": {
  32852. "description": "是否确认行权- 0:否 1:是",
  32853. "type": "integer"
  32854. },
  32855. "ispreexercise": {
  32856. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32857. "type": "integer"
  32858. },
  32859. "marketid": {
  32860. "description": "市场id",
  32861. "type": "integer"
  32862. },
  32863. "marketname": {
  32864. "description": "市场名称",
  32865. "type": "string"
  32866. },
  32867. "openprice": {
  32868. "description": "建仓价格",
  32869. "type": "number"
  32870. },
  32871. "openqty": {
  32872. "description": "建仓数量",
  32873. "type": "number"
  32874. },
  32875. "optiontype": {
  32876. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32877. "type": "integer"
  32878. },
  32879. "preexerciseprice": {
  32880. "description": "预申报价格",
  32881. "type": "number"
  32882. },
  32883. "premium": {
  32884. "description": "权利金",
  32885. "type": "number"
  32886. },
  32887. "qtydecimalplace": {
  32888. "description": "商品成交量小数位",
  32889. "type": "integer"
  32890. },
  32891. "refgoodscode": {
  32892. "description": "标的合约代码",
  32893. "type": "string"
  32894. },
  32895. "refgoodsid": {
  32896. "description": "标的合约id",
  32897. "type": "integer"
  32898. },
  32899. "releaseamount": {
  32900. "description": "释放持仓金额",
  32901. "type": "number"
  32902. },
  32903. "releaseholdercredit": {
  32904. "description": "释放持仓授信金额",
  32905. "type": "number"
  32906. },
  32907. "taname": {
  32908. "description": "资金账号名称",
  32909. "type": "string"
  32910. },
  32911. "tradeamount": {
  32912. "description": "成交金额",
  32913. "type": "number"
  32914. },
  32915. "tradedate": {
  32916. "description": "交易日(yyyyMMdd)",
  32917. "type": "string"
  32918. },
  32919. "tradeid": {
  32920. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32921. "type": "string"
  32922. },
  32923. "trademode": {
  32924. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32925. "type": "integer"
  32926. },
  32927. "tradeproperty": {
  32928. "description": "交易属性",
  32929. "type": "integer"
  32930. },
  32931. "tradetime": {
  32932. "description": "交易时间",
  32933. "type": "string"
  32934. },
  32935. "userid": {
  32936. "description": "用户id",
  32937. "type": "integer"
  32938. },
  32939. "username": {
  32940. "description": "用户名称",
  32941. "type": "string"
  32942. }
  32943. }
  32944. },
  32945. "models.UserCollectConfig": {
  32946. "type": "object",
  32947. "properties": {
  32948. "accountstatus": {
  32949. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32950. "type": "integer"
  32951. },
  32952. "collectaccountname": {
  32953. "description": "收款人账户名称",
  32954. "type": "string"
  32955. },
  32956. "collectaccountno": {
  32957. "description": "收款人账户",
  32958. "type": "string"
  32959. },
  32960. "collectbankname": {
  32961. "description": "收款人开户行",
  32962. "type": "string"
  32963. },
  32964. "collectbranchbankname": {
  32965. "description": "收款人开户支行",
  32966. "type": "string"
  32967. },
  32968. "collectconfigid": {
  32969. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32970. "type": "string"
  32971. },
  32972. "remark": {
  32973. "description": "备注",
  32974. "type": "string"
  32975. },
  32976. "userid": {
  32977. "description": "收款人用户ID",
  32978. "type": "integer"
  32979. }
  32980. }
  32981. },
  32982. "models.UserReceiveInfo": {
  32983. "type": "object",
  32984. "properties": {
  32985. "address": {
  32986. "description": "提货人详细地址",
  32987. "type": "string"
  32988. },
  32989. "autoid": {
  32990. "description": "AutoID",
  32991. "type": "integer"
  32992. },
  32993. "cardnum": {
  32994. "description": "证件号码(加密存储)",
  32995. "type": "string"
  32996. },
  32997. "cardtypeid": {
  32998. "description": "证件类型",
  32999. "type": "integer"
  33000. },
  33001. "cityid": {
  33002. "description": "市",
  33003. "type": "integer"
  33004. },
  33005. "cityname": {
  33006. "description": "城市名称",
  33007. "type": "string"
  33008. },
  33009. "countryid": {
  33010. "description": "国家",
  33011. "type": "integer"
  33012. },
  33013. "countryname": {
  33014. "description": "国家名称",
  33015. "type": "string"
  33016. },
  33017. "districtid": {
  33018. "description": "地区",
  33019. "type": "integer"
  33020. },
  33021. "districtname": {
  33022. "description": "地区名称",
  33023. "type": "string"
  33024. },
  33025. "hasencrypt": {
  33026. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33027. "type": "integer"
  33028. },
  33029. "isdefault": {
  33030. "description": "是否默认地址 - 0:否 1:是",
  33031. "type": "integer"
  33032. },
  33033. "phonenum": {
  33034. "description": "提货人联系方式(加密存储)",
  33035. "type": "string"
  33036. },
  33037. "provinceid": {
  33038. "description": "省",
  33039. "type": "integer"
  33040. },
  33041. "provincename": {
  33042. "description": "省名称",
  33043. "type": "string"
  33044. },
  33045. "receivername": {
  33046. "description": "提货人姓名",
  33047. "type": "string"
  33048. },
  33049. "takeremark": {
  33050. "description": "提货备注",
  33051. "type": "string"
  33052. },
  33053. "userid": {
  33054. "description": "用户ID",
  33055. "type": "integer"
  33056. }
  33057. }
  33058. },
  33059. "models.Useraccount": {
  33060. "type": "object",
  33061. "required": [
  33062. "userid"
  33063. ],
  33064. "properties": {
  33065. "accountname": {
  33066. "description": "账户名称(机构名称)",
  33067. "type": "string"
  33068. },
  33069. "accountstatus": {
  33070. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33071. "type": "integer"
  33072. },
  33073. "applysrc": {
  33074. "description": "申请来源 - 1:管理端 2:终端",
  33075. "type": "integer"
  33076. },
  33077. "auditremark": {
  33078. "description": "审核备注",
  33079. "type": "string"
  33080. },
  33081. "auditsrc": {
  33082. "description": "审核来源 - 1:管理端 2:终端",
  33083. "type": "integer"
  33084. },
  33085. "audittime": {
  33086. "description": "审核时间",
  33087. "type": "string"
  33088. },
  33089. "audituserid": {
  33090. "description": "审核人",
  33091. "type": "integer"
  33092. },
  33093. "broker": {
  33094. "description": "所属经纪人ID",
  33095. "type": "integer"
  33096. },
  33097. "canceltime": {
  33098. "description": "销户时间",
  33099. "type": "string"
  33100. },
  33101. "canceluserid": {
  33102. "description": "销户人",
  33103. "type": "integer"
  33104. },
  33105. "canrecommend": {
  33106. "description": "是否可推荐 - 0:不可 1;可",
  33107. "type": "integer"
  33108. },
  33109. "createtime": {
  33110. "description": "创建时间",
  33111. "type": "string"
  33112. },
  33113. "creatorid": {
  33114. "description": "创建人",
  33115. "type": "integer"
  33116. },
  33117. "hasauth": {
  33118. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33119. "type": "integer"
  33120. },
  33121. "isanonymous": {
  33122. "description": "是否匿名下单 - 0:否 1:是",
  33123. "type": "integer"
  33124. },
  33125. "maxinvestornum": {
  33126. "description": "最大用户数(经纪会员下投资者个数)",
  33127. "type": "integer"
  33128. },
  33129. "memberuserid": {
  33130. "description": "所属会员ID",
  33131. "type": "integer"
  33132. },
  33133. "modifierid": {
  33134. "description": "修改人",
  33135. "type": "integer"
  33136. },
  33137. "modifyremark": {
  33138. "description": "变更备注",
  33139. "type": "string"
  33140. },
  33141. "modifystatus": {
  33142. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33143. "type": "integer"
  33144. },
  33145. "modifytime": {
  33146. "description": "修改时间",
  33147. "type": "string"
  33148. },
  33149. "parenttopuser": {
  33150. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33151. "type": "string"
  33152. },
  33153. "parentuserid": {
  33154. "description": "所属机构ID",
  33155. "type": "integer"
  33156. },
  33157. "reckonaccountid": {
  33158. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33159. "type": "integer"
  33160. },
  33161. "refercount": {
  33162. "description": "推荐总人数",
  33163. "type": "integer"
  33164. },
  33165. "refereeuserid": {
  33166. "description": "推荐人ID",
  33167. "type": "integer"
  33168. },
  33169. "refernum": {
  33170. "description": "推荐码",
  33171. "type": "string"
  33172. },
  33173. "rootuserid": {
  33174. "description": "根用户ID",
  33175. "type": "integer"
  33176. },
  33177. "subaccountlevel": {
  33178. "description": "子账户层数",
  33179. "type": "integer"
  33180. },
  33181. "subarealevelpath": {
  33182. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33183. "type": "string"
  33184. },
  33185. "userid": {
  33186. "description": "用户ID",
  33187. "type": "integer"
  33188. },
  33189. "usertype": {
  33190. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33191. "type": "integer"
  33192. }
  33193. }
  33194. },
  33195. "models.Userfavoritegoods": {
  33196. "type": "object",
  33197. "required": [
  33198. "goodsid"
  33199. ],
  33200. "properties": {
  33201. "goodsid": {
  33202. "description": "商品ID",
  33203. "type": "integer"
  33204. }
  33205. }
  33206. },
  33207. "models.Userinfo": {
  33208. "type": "object",
  33209. "required": [
  33210. "userid"
  33211. ],
  33212. "properties": {
  33213. "address": {
  33214. "description": "地址",
  33215. "type": "string"
  33216. },
  33217. "attachment1": {
  33218. "description": "附件1",
  33219. "type": "string"
  33220. },
  33221. "attachment2": {
  33222. "description": "附件2",
  33223. "type": "string"
  33224. },
  33225. "bankaccount": {
  33226. "description": "银行帐号 (加密存储)",
  33227. "type": "string"
  33228. },
  33229. "bankaccountname": {
  33230. "description": "收款人名称",
  33231. "type": "string"
  33232. },
  33233. "bankcardfrontphotourl": {
  33234. "description": "银行卡正面照地址",
  33235. "type": "string"
  33236. },
  33237. "bankid": {
  33238. "description": "银行编码",
  33239. "type": "string"
  33240. },
  33241. "bankname": {
  33242. "description": "银行名称",
  33243. "type": "string"
  33244. },
  33245. "biznature": {
  33246. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33247. "type": "integer"
  33248. },
  33249. "bizscope": {
  33250. "description": "企业经营范围(企业)",
  33251. "type": "string"
  33252. },
  33253. "cardbackphotourl": {
  33254. "description": "证件背面图片地址",
  33255. "type": "string"
  33256. },
  33257. "cardfrontphotourl": {
  33258. "description": "证件正面图片地址",
  33259. "type": "string"
  33260. },
  33261. "cardnum": {
  33262. "description": "证件号码(加密存储)",
  33263. "type": "string"
  33264. },
  33265. "cardtypeid": {
  33266. "description": "证件类型ID",
  33267. "type": "integer"
  33268. },
  33269. "cityid": {
  33270. "description": "市",
  33271. "type": "integer"
  33272. },
  33273. "company": {
  33274. "description": "公司(个人)",
  33275. "type": "string"
  33276. },
  33277. "contactname": {
  33278. "description": "联系人",
  33279. "type": "string"
  33280. },
  33281. "countryid": {
  33282. "description": "国家",
  33283. "type": "integer"
  33284. },
  33285. "createtime": {
  33286. "description": "创建时间",
  33287. "type": "string"
  33288. },
  33289. "creatorid": {
  33290. "description": "创建人",
  33291. "type": "integer"
  33292. },
  33293. "customername": {
  33294. "description": "客户名称(企业名称)",
  33295. "type": "string"
  33296. },
  33297. "districtid": {
  33298. "description": "地区",
  33299. "type": "integer"
  33300. },
  33301. "email": {
  33302. "description": "邮件(加密存储)",
  33303. "type": "string"
  33304. },
  33305. "fax": {
  33306. "description": "传真(加密存储)",
  33307. "type": "string"
  33308. },
  33309. "halfbodyphotourl": {
  33310. "description": "半身照地址",
  33311. "type": "string"
  33312. },
  33313. "hasencrypt": {
  33314. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33315. "type": "integer"
  33316. },
  33317. "headurl": {
  33318. "description": "头像地址",
  33319. "type": "string"
  33320. },
  33321. "legalcardbackphotourl": {
  33322. "description": "法人身份证背面照地址",
  33323. "type": "string"
  33324. },
  33325. "legalcardfrontphotourl": {
  33326. "description": "法人身份证正面照地址",
  33327. "type": "string"
  33328. },
  33329. "legalpersonname": {
  33330. "description": "法人姓名(企业)",
  33331. "type": "string"
  33332. },
  33333. "mobile": {
  33334. "description": "手机号码(加密存储)",
  33335. "type": "string"
  33336. },
  33337. "mobile2": {
  33338. "description": "手机号码[明文-尚志]",
  33339. "type": "string"
  33340. },
  33341. "modifierid": {
  33342. "description": "修改人",
  33343. "type": "integer"
  33344. },
  33345. "modifiertime": {
  33346. "description": "修改时间",
  33347. "type": "string"
  33348. },
  33349. "needinvoice": {
  33350. "description": "是否需要发票 - 0:不需要 1:需要",
  33351. "type": "integer"
  33352. },
  33353. "nickname": {
  33354. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33355. "type": "string"
  33356. },
  33357. "openmode": {
  33358. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33359. "type": "integer"
  33360. },
  33361. "otherurl": {
  33362. "description": "其它图片地址[使用分号分隔]",
  33363. "type": "string"
  33364. },
  33365. "postalcode": {
  33366. "description": "邮政编码",
  33367. "type": "string"
  33368. },
  33369. "provinceid": {
  33370. "description": "省",
  33371. "type": "integer"
  33372. },
  33373. "qq": {
  33374. "description": "QQ(加密存储",
  33375. "type": "string"
  33376. },
  33377. "remark": {
  33378. "description": "备注",
  33379. "type": "string"
  33380. },
  33381. "sex": {
  33382. "description": "用户性别 0: 女 1: 男",
  33383. "type": "integer"
  33384. },
  33385. "signpdfurl": {
  33386. "description": "签约pdf文件",
  33387. "type": "string"
  33388. },
  33389. "telphone": {
  33390. "description": "联系电话(加密存储)",
  33391. "type": "string"
  33392. },
  33393. "userid": {
  33394. "description": "用户ID",
  33395. "type": "integer"
  33396. },
  33397. "userinfotype": {
  33398. "description": "用户信息类型 - 1:个人 2:企业",
  33399. "type": "integer"
  33400. },
  33401. "userstatus": {
  33402. "description": "用户状态 - 1:正常 2:注销",
  33403. "type": "integer"
  33404. },
  33405. "usertype": {
  33406. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33407. "type": "integer"
  33408. },
  33409. "wechat": {
  33410. "description": "微信(加密存储)",
  33411. "type": "string"
  33412. },
  33413. "wskhinfo": {
  33414. "description": "开户申请信息(JSON)",
  33415. "type": "string"
  33416. }
  33417. }
  33418. },
  33419. "models.WRSConverTDetail": {
  33420. "type": "object",
  33421. "properties": {
  33422. "convertratio": {
  33423. "description": "套保系数",
  33424. "type": "number"
  33425. },
  33426. "deliverygoodscode": {
  33427. "description": "现货商品代码",
  33428. "type": "string"
  33429. },
  33430. "deliverygoodsid": {
  33431. "description": "现货品种ID",
  33432. "type": "integer"
  33433. },
  33434. "deliverygoodsname": {
  33435. "description": "现货商品名称",
  33436. "type": "string"
  33437. },
  33438. "enumdicname": {
  33439. "description": "单位名称",
  33440. "type": "string"
  33441. },
  33442. "goodsunitid": {
  33443. "description": "套保品种单位id",
  33444. "type": "integer"
  33445. },
  33446. "middlegoodscode": {
  33447. "description": "套保品种代码",
  33448. "type": "string"
  33449. },
  33450. "middlegoodsid": {
  33451. "description": "套保品种ID",
  33452. "type": "integer"
  33453. },
  33454. "middlegoodsname": {
  33455. "description": "套保品种名称",
  33456. "type": "string"
  33457. },
  33458. "modifytime": {
  33459. "description": "修改时间",
  33460. "type": "string"
  33461. },
  33462. "wrstandardid": {
  33463. "description": "品类ID",
  33464. "type": "integer"
  33465. }
  33466. }
  33467. },
  33468. "models.WRStandardInfo": {
  33469. "type": "object",
  33470. "required": [
  33471. "wrstandardid"
  33472. ],
  33473. "properties": {
  33474. "areauserid": {
  33475. "description": "所属机构",
  33476. "type": "integer"
  33477. },
  33478. "convertfactor": {
  33479. "description": "标仓系数",
  33480. "type": "number"
  33481. },
  33482. "createtime": {
  33483. "description": "创建时间",
  33484. "type": "string"
  33485. },
  33486. "creatorid": {
  33487. "description": "创建人",
  33488. "type": "integer"
  33489. },
  33490. "deliverygoodsid": {
  33491. "description": "品种ID",
  33492. "type": "integer"
  33493. },
  33494. "deliverygoodsname": {
  33495. "description": "交割商品名称",
  33496. "type": "string"
  33497. },
  33498. "factoryitemjson": {
  33499. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33500. "type": "string"
  33501. },
  33502. "isvalid": {
  33503. "description": "是否有效 - 0:无效 1:有效",
  33504. "type": "integer"
  33505. },
  33506. "minivalue": {
  33507. "description": "最小变动值",
  33508. "type": "integer"
  33509. },
  33510. "minivaluedp": {
  33511. "description": "最小变动值小数位",
  33512. "type": "integer"
  33513. },
  33514. "realminivalue": {
  33515. "description": "实际最小变动值",
  33516. "type": "integer"
  33517. },
  33518. "realminivaluedp": {
  33519. "description": "实际最小变动值小数位",
  33520. "type": "integer"
  33521. },
  33522. "remark": {
  33523. "description": "备注",
  33524. "type": "string"
  33525. },
  33526. "unitid": {
  33527. "description": "单位ID",
  33528. "type": "integer"
  33529. },
  33530. "unitname": {
  33531. "description": "单位",
  33532. "type": "string"
  33533. },
  33534. "updatetime": {
  33535. "description": "更新时间",
  33536. "type": "string"
  33537. },
  33538. "updatorid": {
  33539. "description": "更新人",
  33540. "type": "integer"
  33541. },
  33542. "wrsstatus": {
  33543. "description": "状态 - 作废 - 0:未激活 1:正常",
  33544. "type": "integer"
  33545. },
  33546. "wrstandardcode": {
  33547. "description": "现货品类代码",
  33548. "type": "string"
  33549. },
  33550. "wrstandardid": {
  33551. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33552. "type": "integer"
  33553. },
  33554. "wrstandardname": {
  33555. "description": "现货品类名称",
  33556. "type": "string"
  33557. }
  33558. }
  33559. },
  33560. "models.WRTradeBargainApply": {
  33561. "type": "object",
  33562. "properties": {
  33563. "accountid": {
  33564. "description": "摘牌资金账号",
  33565. "type": "integer"
  33566. },
  33567. "applyprice": {
  33568. "description": "申请价格(议价价格)",
  33569. "type": "string"
  33570. },
  33571. "applyqty": {
  33572. "description": "摘牌数量(议价数量)",
  33573. "type": "number"
  33574. },
  33575. "applyremark": {
  33576. "description": "申请备注",
  33577. "type": "string"
  33578. },
  33579. "applystatus": {
  33580. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33581. "type": "integer"
  33582. },
  33583. "applytime": {
  33584. "description": "申请时间(议价时间)",
  33585. "type": "string"
  33586. },
  33587. "begindate": {
  33588. "description": "开始交易日(yyyymmdd)",
  33589. "type": "string"
  33590. },
  33591. "buyorsell": {
  33592. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33593. "type": "integer"
  33594. },
  33595. "confirmremark": {
  33596. "description": "确认备注",
  33597. "type": "string"
  33598. },
  33599. "confirmtime": {
  33600. "description": "确认时间",
  33601. "type": "string"
  33602. },
  33603. "confirmuserid": {
  33604. "description": "确认人",
  33605. "type": "integer"
  33606. },
  33607. "deliverygoodscode": {
  33608. "description": "品种代码",
  33609. "type": "string"
  33610. },
  33611. "deliverygoodsid": {
  33612. "description": "品种ID",
  33613. "type": "integer"
  33614. },
  33615. "deliverygoodsname": {
  33616. "description": "品种名称",
  33617. "type": "string"
  33618. },
  33619. "deliverymonth": {
  33620. "description": "交收月",
  33621. "type": "string"
  33622. },
  33623. "enddate": {
  33624. "description": "结束交易日(yyyymmdd)",
  33625. "type": "string"
  33626. },
  33627. "enumdicname": {
  33628. "description": "单位名称",
  33629. "type": "string"
  33630. },
  33631. "fixedprice": {
  33632. "description": "挂牌价格",
  33633. "type": "number"
  33634. },
  33635. "handlestatus": {
  33636. "description": "处理状态",
  33637. "type": "integer"
  33638. },
  33639. "marginvalue": {
  33640. "description": "履约保证金比例",
  33641. "type": "number"
  33642. },
  33643. "marketid": {
  33644. "description": "市场ID",
  33645. "type": "integer"
  33646. },
  33647. "matchaccountid": {
  33648. "description": "挂牌方资金账号",
  33649. "type": "integer"
  33650. },
  33651. "matchuserid": {
  33652. "description": "挂牌方用户id",
  33653. "type": "integer"
  33654. },
  33655. "matchusername": {
  33656. "description": "挂牌方用户名称(已脱敏)",
  33657. "type": "string"
  33658. },
  33659. "minivalue": {
  33660. "description": "现货商品最小变动值",
  33661. "type": "integer"
  33662. },
  33663. "optioncompare": {
  33664. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33665. "type": "string"
  33666. },
  33667. "orderqty": {
  33668. "description": "挂牌数量",
  33669. "type": "integer"
  33670. },
  33671. "refprice": {
  33672. "description": "参考价格",
  33673. "type": "string"
  33674. },
  33675. "retcode": {
  33676. "description": "委托返回代码",
  33677. "type": "integer"
  33678. },
  33679. "templatename": {
  33680. "description": "履约方式(履约模板名称)",
  33681. "type": "string"
  33682. },
  33683. "tradedate": {
  33684. "description": "交易日(yyyyMMdd)",
  33685. "type": "string"
  33686. },
  33687. "userid": {
  33688. "description": "摘牌人用户ID(议价人ID)",
  33689. "type": "integer"
  33690. },
  33691. "username": {
  33692. "description": "议价人名字(已脱敏)",
  33693. "type": "string"
  33694. },
  33695. "validtime": {
  33696. "description": "有效期限",
  33697. "type": "string"
  33698. },
  33699. "warehouseid": {
  33700. "description": "仓库ID",
  33701. "type": "integer"
  33702. },
  33703. "warehousename": {
  33704. "description": "仓库名称",
  33705. "type": "string"
  33706. },
  33707. "wrbargainid": {
  33708. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33709. "type": "string"
  33710. },
  33711. "wrfactortypeid": {
  33712. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33713. "type": "string"
  33714. },
  33715. "wrfactortypename": {
  33716. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33717. "type": "string"
  33718. },
  33719. "wrstandardcode": {
  33720. "description": "现货商品代码",
  33721. "type": "string"
  33722. },
  33723. "wrstandardid": {
  33724. "description": "现货商品ID",
  33725. "type": "integer"
  33726. },
  33727. "wrstandardname": {
  33728. "description": "商品名称",
  33729. "type": "string"
  33730. },
  33731. "wrtradeorderid": {
  33732. "description": "关联委托单ID",
  33733. "type": "string"
  33734. },
  33735. "wrtypename": {
  33736. "description": "商品",
  33737. "type": "string"
  33738. }
  33739. }
  33740. },
  33741. "models.Warehouseinfo": {
  33742. "type": "object",
  33743. "required": [
  33744. "autoid",
  33745. "warehousecode"
  33746. ],
  33747. "properties": {
  33748. "address": {
  33749. "description": "详细地址",
  33750. "type": "string"
  33751. },
  33752. "areauserid": {
  33753. "description": "所属机构",
  33754. "type": "integer"
  33755. },
  33756. "autoid": {
  33757. "description": "自增ID",
  33758. "type": "integer"
  33759. },
  33760. "cityid": {
  33761. "description": "市",
  33762. "type": "integer"
  33763. },
  33764. "contactname": {
  33765. "description": "联系人",
  33766. "type": "string"
  33767. },
  33768. "contactnum": {
  33769. "description": "联系电话",
  33770. "type": "string"
  33771. },
  33772. "countryid": {
  33773. "description": "国家",
  33774. "type": "integer"
  33775. },
  33776. "createtime": {
  33777. "description": "创建时间",
  33778. "type": "string"
  33779. },
  33780. "districtid": {
  33781. "description": "区",
  33782. "type": "integer"
  33783. },
  33784. "hasvideo": {
  33785. "description": "是否有视频 - 0:无 1:有",
  33786. "type": "integer"
  33787. },
  33788. "provinceid": {
  33789. "description": "省",
  33790. "type": "integer"
  33791. },
  33792. "remark": {
  33793. "description": "审核备注",
  33794. "type": "string"
  33795. },
  33796. "videourl": {
  33797. "description": "视频地址",
  33798. "type": "string"
  33799. },
  33800. "warehousecode": {
  33801. "description": "仓库代码",
  33802. "type": "string"
  33803. },
  33804. "warehousename": {
  33805. "description": "仓库名称",
  33806. "type": "string"
  33807. },
  33808. "warehousestatus": {
  33809. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33810. "type": "integer"
  33811. },
  33812. "warehousetype": {
  33813. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33814. "type": "integer"
  33815. }
  33816. }
  33817. },
  33818. "models.WrAverageTradePrice": {
  33819. "type": "object",
  33820. "properties": {
  33821. "averageprice": {
  33822. "description": "成交均价",
  33823. "type": "number"
  33824. },
  33825. "tradedate": {
  33826. "description": "交易日yyyymm",
  33827. "type": "string"
  33828. }
  33829. }
  33830. },
  33831. "models.WrBsGoodsInfo": {
  33832. "type": "object",
  33833. "properties": {
  33834. "buyorsell": {
  33835. "description": "买卖方向 0-买 1-卖",
  33836. "type": "integer"
  33837. },
  33838. "goodsid": {
  33839. "description": "交易合约ID",
  33840. "type": "integer"
  33841. },
  33842. "lstitem": {
  33843. "description": "商品信息项",
  33844. "type": "array",
  33845. "items": {
  33846. "$ref": "#/definitions/models.WrTypeItem"
  33847. }
  33848. },
  33849. "lststep": {
  33850. "description": "履约规则",
  33851. "type": "array",
  33852. "items": {
  33853. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33854. }
  33855. }
  33856. }
  33857. },
  33858. "models.WrBuybackDetail": {
  33859. "type": "object",
  33860. "properties": {
  33861. "buybackamount": {
  33862. "description": "回购金额",
  33863. "type": "number"
  33864. },
  33865. "buybackqty": {
  33866. "description": "回购数量",
  33867. "type": "number"
  33868. },
  33869. "buybackreleasemargin": {
  33870. "description": "回购释放保证金",
  33871. "type": "number"
  33872. },
  33873. "buybacktime": {
  33874. "description": "回购时间",
  33875. "type": "string"
  33876. },
  33877. "errordesc": {
  33878. "description": "错误描述",
  33879. "type": "string"
  33880. },
  33881. "handlestatus": {
  33882. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33883. "type": "integer"
  33884. },
  33885. "relatedwrid": {
  33886. "description": "关联仓单ID",
  33887. "type": "integer"
  33888. },
  33889. "scfcontractid": {
  33890. "description": "SCF合同ID",
  33891. "type": "string"
  33892. },
  33893. "scfwrbuybackid": {
  33894. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33895. "type": "integer"
  33896. },
  33897. "tradedate": {
  33898. "description": "交易日(yyyyMMdd)",
  33899. "type": "string"
  33900. }
  33901. }
  33902. },
  33903. "models.WrDeliveryAvalidHoldLB": {
  33904. "type": "object",
  33905. "properties": {
  33906. "accountid": {
  33907. "description": "资金账号",
  33908. "type": "integer"
  33909. },
  33910. "avalidqty": {
  33911. "description": "数量(可点选数量)",
  33912. "type": "number"
  33913. },
  33914. "deliverygoodsid": {
  33915. "description": "品种id",
  33916. "type": "integer"
  33917. },
  33918. "enumdicname": {
  33919. "description": "单位名称",
  33920. "type": "string"
  33921. },
  33922. "goodsid": {
  33923. "description": "x合约商品id",
  33924. "type": "integer"
  33925. },
  33926. "ladingbillid": {
  33927. "description": "提单id",
  33928. "type": "string"
  33929. },
  33930. "pgoodscode": {
  33931. "description": "p商品代码(点价合约)",
  33932. "type": "string"
  33933. },
  33934. "pgoodsid": {
  33935. "description": "p商品id(点价合约)",
  33936. "type": "integer"
  33937. },
  33938. "pgoodsname": {
  33939. "description": "p商品名称(点价合约)",
  33940. "type": "string"
  33941. },
  33942. "pricemove": {
  33943. "description": "升贴水",
  33944. "type": "number"
  33945. },
  33946. "subnum": {
  33947. "description": "提单子id",
  33948. "type": "integer"
  33949. },
  33950. "userid": {
  33951. "description": "用户id",
  33952. "type": "integer"
  33953. },
  33954. "username": {
  33955. "description": "仓单持有人",
  33956. "type": "string"
  33957. },
  33958. "warehousecode": {
  33959. "description": "仓库代码",
  33960. "type": "string"
  33961. },
  33962. "warehouseid": {
  33963. "description": "仓库id",
  33964. "type": "integer"
  33965. },
  33966. "warehousename": {
  33967. "description": "仓库名称",
  33968. "type": "string"
  33969. },
  33970. "wrfactortypeid": {
  33971. "description": "仓单要素id",
  33972. "type": "string"
  33973. },
  33974. "wrstandardcode": {
  33975. "description": "品代码",
  33976. "type": "string"
  33977. },
  33978. "wrstandardid": {
  33979. "description": "品类d",
  33980. "type": "integer"
  33981. },
  33982. "wrstandardname": {
  33983. "description": "品类名称",
  33984. "type": "string"
  33985. },
  33986. "wrtypename": {
  33987. "description": "商品",
  33988. "type": "string"
  33989. },
  33990. "xgoodscode": {
  33991. "description": "x合约代码",
  33992. "type": "string"
  33993. },
  33994. "xgoodsname": {
  33995. "description": "x合约名称",
  33996. "type": "string"
  33997. }
  33998. }
  33999. },
  34000. "models.WrDeliveryDetail": {
  34001. "type": "object",
  34002. "properties": {
  34003. "accountid": {
  34004. "description": "账号ID",
  34005. "type": "integer"
  34006. },
  34007. "averageprice": {
  34008. "description": "交割均价 = 交割金额 / 交割数量",
  34009. "type": "number"
  34010. },
  34011. "begindate": {
  34012. "description": "开始交易日(yyyymmdd)",
  34013. "type": "string"
  34014. },
  34015. "buyorsell": {
  34016. "description": "方向 - 0:买 1:卖",
  34017. "type": "integer"
  34018. },
  34019. "deliveryamount": {
  34020. "description": "货款金额(X总货款+P总货款)",
  34021. "type": "number"
  34022. },
  34023. "deliveryid": {
  34024. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34025. "type": "string"
  34026. },
  34027. "deliveryorderid": {
  34028. "description": "申报单号",
  34029. "type": "string"
  34030. },
  34031. "deliverypricemove": {
  34032. "description": "升贴水(升贴水总额)",
  34033. "type": "number"
  34034. },
  34035. "deliveryqty": {
  34036. "description": "交收数量(点选数量)",
  34037. "type": "number"
  34038. },
  34039. "deliverystatus": {
  34040. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34041. "type": "integer"
  34042. },
  34043. "deliverytime": {
  34044. "description": "交割时间",
  34045. "type": "string"
  34046. },
  34047. "deliverytotalamount": {
  34048. "description": "交收金额",
  34049. "type": "number"
  34050. },
  34051. "enddate": {
  34052. "description": "结束交易日(yyyymmdd)",
  34053. "type": "string"
  34054. },
  34055. "enumdicname": {
  34056. "description": "单位名称",
  34057. "type": "string"
  34058. },
  34059. "matchaccountid": {
  34060. "description": "对手账号ID",
  34061. "type": "integer"
  34062. },
  34063. "matchusername": {
  34064. "description": "对手方名称(仓单持有人)",
  34065. "type": "string"
  34066. },
  34067. "p1goodsremainamount": {
  34068. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34069. "type": "number"
  34070. },
  34071. "pdeliverycloseqty": {
  34072. "description": "p合约平仓数量",
  34073. "type": "number"
  34074. },
  34075. "pdeliveryprice": {
  34076. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34077. "type": "number"
  34078. },
  34079. "pgoodscode": {
  34080. "description": "商品代码",
  34081. "type": "string"
  34082. },
  34083. "pgoodsid": {
  34084. "description": "p点选合约id",
  34085. "type": "integer"
  34086. },
  34087. "pgoodsname": {
  34088. "description": "商品名称",
  34089. "type": "string"
  34090. },
  34091. "ppricemode": {
  34092. "description": "点价价格方式 - 1:商品价 2:固定值",
  34093. "type": "integer"
  34094. },
  34095. "tradedate": {
  34096. "description": "交易日(yyyymmdd)",
  34097. "type": "string"
  34098. },
  34099. "userid": {
  34100. "description": "用户id",
  34101. "type": "integer"
  34102. },
  34103. "username": {
  34104. "description": "用户名称",
  34105. "type": "string"
  34106. },
  34107. "warehousename": {
  34108. "description": "仓库名称",
  34109. "type": "string"
  34110. },
  34111. "wrfactortypeid": {
  34112. "description": "仓单要素类型ID",
  34113. "type": "string"
  34114. },
  34115. "wrtypename": {
  34116. "description": "商品",
  34117. "type": "string"
  34118. },
  34119. "xdeliverycloseqty": {
  34120. "description": "合约数量",
  34121. "type": "number"
  34122. },
  34123. "xgoodsamount": {
  34124. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34125. "type": "number"
  34126. },
  34127. "xgoodscode": {
  34128. "description": "商品代码",
  34129. "type": "string"
  34130. },
  34131. "xgoodsid": {
  34132. "description": "x交易合约ID",
  34133. "type": "integer"
  34134. },
  34135. "xgoodsname": {
  34136. "description": "商品名称",
  34137. "type": "string"
  34138. }
  34139. }
  34140. },
  34141. "models.WrDeliveryGoodsSection": {
  34142. "type": "object",
  34143. "properties": {
  34144. "dglst": {
  34145. "description": "板块商品列表",
  34146. "type": "array",
  34147. "items": {
  34148. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34149. }
  34150. },
  34151. "imagepath": {
  34152. "description": "图片地址",
  34153. "type": "string"
  34154. },
  34155. "orderindex": {
  34156. "description": "排序",
  34157. "type": "integer"
  34158. },
  34159. "sectionid": {
  34160. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34161. "type": "integer"
  34162. },
  34163. "sectionname": {
  34164. "description": "版块名称",
  34165. "type": "string"
  34166. },
  34167. "sectiontype": {
  34168. "description": "版块类型 - 1:指数版块 2:普通版块",
  34169. "type": "integer"
  34170. }
  34171. }
  34172. },
  34173. "models.WrDeliveryGoodsSectionConfig": {
  34174. "type": "object",
  34175. "properties": {
  34176. "deliverygoodscode": {
  34177. "description": "现货商品代码",
  34178. "type": "string"
  34179. },
  34180. "deliverygoodsid": {
  34181. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34182. "type": "integer"
  34183. },
  34184. "deliverygoodsname": {
  34185. "description": "现货商品名称",
  34186. "type": "string"
  34187. },
  34188. "orderindex": {
  34189. "description": "排序",
  34190. "type": "integer"
  34191. }
  34192. }
  34193. },
  34194. "models.WrFAProductDetail": {
  34195. "type": "object",
  34196. "properties": {
  34197. "accountid": {
  34198. "description": "资金账号",
  34199. "type": "integer"
  34200. },
  34201. "areauserid": {
  34202. "description": "金融机构ID",
  34203. "type": "integer"
  34204. },
  34205. "financingdays": {
  34206. "description": "天数(天)",
  34207. "type": "integer"
  34208. },
  34209. "interestminlen": {
  34210. "description": "最小起息天数",
  34211. "type": "integer"
  34212. },
  34213. "interestrate": {
  34214. "description": "利率",
  34215. "type": "number"
  34216. },
  34217. "interestratemode": {
  34218. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34219. "type": "integer"
  34220. },
  34221. "interestsettlemode": {
  34222. "description": "结息方式 - 1:按日结息 3:按月结息",
  34223. "type": "integer"
  34224. },
  34225. "interestsettlevalue": {
  34226. "description": "结息方式值",
  34227. "type": "integer"
  34228. },
  34229. "isautoloan": {
  34230. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34231. "type": "integer"
  34232. },
  34233. "loantag": {
  34234. "description": "放款标识: \"放款快\" 或者为空",
  34235. "type": "string"
  34236. },
  34237. "marginratio": {
  34238. "description": "保证金比率质押率 - [仓单质押]",
  34239. "type": "number"
  34240. },
  34241. "productdetailid": {
  34242. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34243. "type": "integer"
  34244. },
  34245. "productid": {
  34246. "description": "金融产品ID",
  34247. "type": "integer"
  34248. },
  34249. "productname": {
  34250. "description": "产品名称",
  34251. "type": "string"
  34252. },
  34253. "updatetime": {
  34254. "description": "更新时间",
  34255. "type": "string"
  34256. },
  34257. "username": {
  34258. "description": "融出方",
  34259. "type": "string"
  34260. }
  34261. }
  34262. },
  34263. "models.WrFactorTypeInfo": {
  34264. "type": "object",
  34265. "properties": {
  34266. "deliverygoodscode": {
  34267. "description": "品种代码",
  34268. "type": "string"
  34269. },
  34270. "deliverygoodsname": {
  34271. "description": "品种名称",
  34272. "type": "string"
  34273. },
  34274. "dgfactoryitemid": {
  34275. "description": "选择项id",
  34276. "type": "integer"
  34277. },
  34278. "dgfactoryitemtypeid": {
  34279. "description": "要素选择项ID (1-仓库 2-品牌)",
  34280. "type": "integer"
  34281. },
  34282. "dgfactoryitemvalue": {
  34283. "description": "要素项值",
  34284. "type": "string"
  34285. },
  34286. "itemtypename": {
  34287. "description": "要素项名称",
  34288. "type": "string"
  34289. },
  34290. "optioncompare": {
  34291. "description": "选择比较串",
  34292. "type": "string"
  34293. },
  34294. "warehouseid": {
  34295. "description": "仓库id",
  34296. "type": "integer"
  34297. },
  34298. "wrfactortypeid": {
  34299. "description": "仓单要素ID",
  34300. "type": "string"
  34301. },
  34302. "wrfactortypename": {
  34303. "description": "要素名称",
  34304. "type": "string"
  34305. },
  34306. "wrfactortypename2": {
  34307. "description": "要素名称(不含仓库)",
  34308. "type": "string"
  34309. },
  34310. "wrstandardcode": {
  34311. "description": "品类代码",
  34312. "type": "string"
  34313. },
  34314. "wrstandardid": {
  34315. "description": "品类id",
  34316. "type": "integer"
  34317. },
  34318. "wrstandardname": {
  34319. "description": "品类名称",
  34320. "type": "string"
  34321. }
  34322. }
  34323. },
  34324. "models.WrFilterItem": {
  34325. "type": "object",
  34326. "properties": {
  34327. "itemcode": {
  34328. "description": "代码",
  34329. "type": "string"
  34330. },
  34331. "itemid": {
  34332. "description": "项id",
  34333. "type": "integer"
  34334. },
  34335. "itemname": {
  34336. "description": "名称",
  34337. "type": "string"
  34338. },
  34339. "itemtype": {
  34340. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34341. "type": "integer"
  34342. }
  34343. }
  34344. },
  34345. "models.WrFinanceBuyApply": {
  34346. "type": "object",
  34347. "properties": {
  34348. "applydate": {
  34349. "description": "申请时间",
  34350. "type": "string"
  34351. },
  34352. "applystatus": {
  34353. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34354. "type": "integer"
  34355. },
  34356. "applyuserid": {
  34357. "description": "申请人",
  34358. "type": "integer"
  34359. },
  34360. "auditdate": {
  34361. "description": "审核时间",
  34362. "type": "string"
  34363. },
  34364. "auditremark": {
  34365. "description": "审核备注",
  34366. "type": "string"
  34367. },
  34368. "audituserid": {
  34369. "description": "审核人",
  34370. "type": "integer"
  34371. },
  34372. "buyaccountid": {
  34373. "description": "买方资金账号",
  34374. "type": "integer"
  34375. },
  34376. "buyorsell": {
  34377. "description": "买卖 - 0:买 1:卖",
  34378. "type": "integer"
  34379. },
  34380. "buyuserid": {
  34381. "description": "买方用户ID",
  34382. "type": "integer"
  34383. },
  34384. "buyusername": {
  34385. "description": "买方名称",
  34386. "type": "string"
  34387. },
  34388. "buywrtradeorderid": {
  34389. "description": "融资方买委托单ID",
  34390. "type": "string"
  34391. },
  34392. "deliverygoodscode": {
  34393. "description": "品种代码",
  34394. "type": "string"
  34395. },
  34396. "deliverygoodsid": {
  34397. "description": "品种ID",
  34398. "type": "integer"
  34399. },
  34400. "deliverygoodsname": {
  34401. "description": "品种名称",
  34402. "type": "string"
  34403. },
  34404. "deliverymonth": {
  34405. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34406. "type": "string"
  34407. },
  34408. "enumdicname": {
  34409. "description": "单位名称",
  34410. "type": "string"
  34411. },
  34412. "financeaccountid": {
  34413. "description": "融资方资金帐户ID",
  34414. "type": "integer"
  34415. },
  34416. "financeapplyid": {
  34417. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34418. "type": "string"
  34419. },
  34420. "financeareauserid": {
  34421. "description": "融资方用户ID",
  34422. "type": "string"
  34423. },
  34424. "financename": {
  34425. "description": "融出方名称",
  34426. "type": "string"
  34427. },
  34428. "financetype": {
  34429. "description": "融资类型 1-融资回购",
  34430. "type": "integer"
  34431. },
  34432. "financingdays": {
  34433. "description": "天数(天)",
  34434. "type": "integer"
  34435. },
  34436. "freezebuymargin": {
  34437. "description": "冻结融资保证金(买方)",
  34438. "type": "number"
  34439. },
  34440. "handleremark": {
  34441. "description": "处理备注",
  34442. "type": "string"
  34443. },
  34444. "handlestatus": {
  34445. "description": "处理状态",
  34446. "type": "integer"
  34447. },
  34448. "interestminlen": {
  34449. "description": "最小起息天数",
  34450. "type": "integer"
  34451. },
  34452. "interestrate": {
  34453. "description": "利率",
  34454. "type": "number"
  34455. },
  34456. "interestratemode": {
  34457. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34458. "type": "integer"
  34459. },
  34460. "interestsettlemode": {
  34461. "description": "结息方式 - 1:按日结息 3:按月结息",
  34462. "type": "integer"
  34463. },
  34464. "interestsettlevalue": {
  34465. "description": "结息方式值",
  34466. "type": "integer"
  34467. },
  34468. "isautoloan": {
  34469. "description": "是否自动放款 - 0:手动 1:自动",
  34470. "type": "integer"
  34471. },
  34472. "marginratio": {
  34473. "description": "保证金比率质押率 - [仓单质押]",
  34474. "type": "number"
  34475. },
  34476. "marketid": {
  34477. "description": "市场ID",
  34478. "type": "integer"
  34479. },
  34480. "minivalue": {
  34481. "description": "现货商品最小变动值",
  34482. "type": "integer"
  34483. },
  34484. "optioncompare": {
  34485. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34486. "type": "string"
  34487. },
  34488. "orderqty": {
  34489. "description": "委托数量(商品数量)",
  34490. "type": "number"
  34491. },
  34492. "productdetailid": {
  34493. "description": "产品组合ID",
  34494. "type": "integer"
  34495. },
  34496. "productid": {
  34497. "description": "金融产品ID",
  34498. "type": "integer"
  34499. },
  34500. "productname": {
  34501. "description": "产品名称",
  34502. "type": "string"
  34503. },
  34504. "remark": {
  34505. "description": "备注",
  34506. "type": "string"
  34507. },
  34508. "scfcontractid": {
  34509. "description": "仓单回购合同ID",
  34510. "type": "string"
  34511. },
  34512. "sellaccountid": {
  34513. "description": "卖方资金账号",
  34514. "type": "integer"
  34515. },
  34516. "selluserid": {
  34517. "description": "卖方用户ID",
  34518. "type": "integer"
  34519. },
  34520. "sellwrtradeorderid": {
  34521. "description": "卖方委托单ID",
  34522. "type": "string"
  34523. },
  34524. "tradeamount": {
  34525. "description": "成交金额(借款金额)",
  34526. "type": "number"
  34527. },
  34528. "tradedate": {
  34529. "description": "交易日(yyyyMMdd)",
  34530. "type": "string"
  34531. },
  34532. "tradeprice": {
  34533. "description": "成交价格",
  34534. "type": "number"
  34535. },
  34536. "warehouseid": {
  34537. "description": "仓库ID",
  34538. "type": "integer"
  34539. },
  34540. "warehousename": {
  34541. "description": "仓库名称",
  34542. "type": "string"
  34543. },
  34544. "wrfactortypeid": {
  34545. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34546. "type": "string"
  34547. },
  34548. "wrfactortypename": {
  34549. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34550. "type": "string"
  34551. },
  34552. "wrpricetype": {
  34553. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34554. "type": "integer"
  34555. },
  34556. "wrstandardcode": {
  34557. "description": "现货商品代码",
  34558. "type": "string"
  34559. },
  34560. "wrstandardid": {
  34561. "description": "现货商品ID",
  34562. "type": "integer"
  34563. },
  34564. "wrstandardname": {
  34565. "description": "商品名称",
  34566. "type": "string"
  34567. },
  34568. "wrtypename": {
  34569. "description": "商品",
  34570. "type": "string"
  34571. }
  34572. }
  34573. },
  34574. "models.WrFriendApply": {
  34575. "type": "object",
  34576. "properties": {
  34577. "applicantid": {
  34578. "description": "申请人",
  34579. "type": "integer"
  34580. },
  34581. "applyname": {
  34582. "description": "申请人名称",
  34583. "type": "string"
  34584. },
  34585. "applysrc": {
  34586. "description": "申请来源 - 1:管理端 2:终端",
  34587. "type": "integer"
  34588. },
  34589. "applystatus": {
  34590. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34591. "type": "integer"
  34592. },
  34593. "applytime": {
  34594. "description": "申请时间",
  34595. "type": "string"
  34596. },
  34597. "auditname": {
  34598. "description": "审核人名称",
  34599. "type": "string"
  34600. },
  34601. "auditorid": {
  34602. "description": "审核人",
  34603. "type": "integer"
  34604. },
  34605. "auditremark": {
  34606. "description": "审核备注",
  34607. "type": "string"
  34608. },
  34609. "auditsrc": {
  34610. "description": "审核来源 - 1:管理端 2:终端",
  34611. "type": "integer"
  34612. },
  34613. "audittime": {
  34614. "description": "审核时间",
  34615. "type": "string"
  34616. },
  34617. "friendapplyid": {
  34618. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34619. "type": "string"
  34620. },
  34621. "friendname": {
  34622. "description": "好友名字(已脱敏)",
  34623. "type": "string"
  34624. },
  34625. "frienduserid": {
  34626. "description": "好友用户ID",
  34627. "type": "string"
  34628. },
  34629. "remark": {
  34630. "description": "备注",
  34631. "type": "string"
  34632. },
  34633. "userid": {
  34634. "description": "申请人用户ID",
  34635. "type": "integer"
  34636. }
  34637. }
  34638. },
  34639. "models.WrFtDeliveryGoods": {
  34640. "type": "object",
  34641. "properties": {
  34642. "deliverygoodscode": {
  34643. "description": "品种代码",
  34644. "type": "string"
  34645. },
  34646. "deliverygoodsid": {
  34647. "description": "品种ID",
  34648. "type": "integer"
  34649. },
  34650. "deliverygoodsname": {
  34651. "description": "品种名称",
  34652. "type": "string"
  34653. },
  34654. "wdlst": {
  34655. "description": "商品列表",
  34656. "type": "array",
  34657. "items": {
  34658. "$ref": "#/definitions/models.WrFtWrstandard"
  34659. }
  34660. }
  34661. }
  34662. },
  34663. "models.WrFtWrstandard": {
  34664. "type": "object",
  34665. "properties": {
  34666. "enumdicname": {
  34667. "description": "单位名称",
  34668. "type": "string"
  34669. },
  34670. "minivalue": {
  34671. "description": "最小变动值",
  34672. "type": "integer"
  34673. },
  34674. "wrstandardcode": {
  34675. "description": "现货商品代码",
  34676. "type": "string"
  34677. },
  34678. "wrstandardid": {
  34679. "description": "现货商品ID",
  34680. "type": "integer"
  34681. },
  34682. "wrstandardname": {
  34683. "description": "商品名称",
  34684. "type": "string"
  34685. }
  34686. }
  34687. },
  34688. "models.WrGoodsInfo": {
  34689. "type": "object",
  34690. "properties": {
  34691. "haswr": {
  34692. "description": "0:仓单预售 1:仓单贸易",
  34693. "type": "integer"
  34694. },
  34695. "lstitem": {
  34696. "description": "商品信息项",
  34697. "type": "array",
  34698. "items": {
  34699. "$ref": "#/definitions/models.WrTypeItem"
  34700. }
  34701. },
  34702. "lststep": {
  34703. "description": "履约规则",
  34704. "type": "array",
  34705. "items": {
  34706. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34707. }
  34708. },
  34709. "marketid": {
  34710. "description": "市场id",
  34711. "type": "integer"
  34712. }
  34713. }
  34714. },
  34715. "models.WrGoodsPerformanceStep": {
  34716. "type": "object",
  34717. "properties": {
  34718. "autoid": {
  34719. "description": "AutoID",
  34720. "type": "integer"
  34721. },
  34722. "isauto": {
  34723. "description": "是否自动 - 0:不自动 1:自动",
  34724. "type": "integer"
  34725. },
  34726. "remark": {
  34727. "description": "备注",
  34728. "type": "string"
  34729. },
  34730. "stepdate": {
  34731. "description": "天数信息(T+N)",
  34732. "type": "string"
  34733. },
  34734. "stepdays": {
  34735. "description": "距离上一步天数",
  34736. "type": "integer"
  34737. },
  34738. "stepindex": {
  34739. "description": "步骤序号",
  34740. "type": "integer"
  34741. },
  34742. "stepinfo": {
  34743. "description": "步骤信息(步骤名称+步骤值)",
  34744. "type": "string"
  34745. },
  34746. "steptypeid": {
  34747. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34748. "type": "integer"
  34749. },
  34750. "steptypename": {
  34751. "description": "步骤名称",
  34752. "type": "string"
  34753. },
  34754. "stepvalue": {
  34755. "description": "步骤值",
  34756. "type": "number"
  34757. },
  34758. "templateid": {
  34759. "description": "履约计划模板ID",
  34760. "type": "integer"
  34761. }
  34762. }
  34763. },
  34764. "models.WrHoldLB": {
  34765. "type": "object",
  34766. "properties": {
  34767. "accountid": {
  34768. "description": "持有人帐户ID",
  34769. "type": "integer"
  34770. },
  34771. "createtime": {
  34772. "description": "创建时间(过户时间)",
  34773. "type": "string"
  34774. },
  34775. "deliverygoodscode": {
  34776. "description": "品种代码",
  34777. "type": "string"
  34778. },
  34779. "deliverygoodsid": {
  34780. "description": "品种ID",
  34781. "type": "integer"
  34782. },
  34783. "deliverygoodsname": {
  34784. "description": "品种名称",
  34785. "type": "string"
  34786. },
  34787. "enableqty": {
  34788. "description": "可用数量",
  34789. "type": "number"
  34790. },
  34791. "enumdicname": {
  34792. "description": "单位名称",
  34793. "type": "string"
  34794. },
  34795. "freezerqty": {
  34796. "description": "冻结数量",
  34797. "type": "number"
  34798. },
  34799. "ladingbillid": {
  34800. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34801. "type": "string"
  34802. },
  34803. "minivalue": {
  34804. "description": "现货商品最小变动值",
  34805. "type": "integer"
  34806. },
  34807. "optioncompare": {
  34808. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34809. "type": "string"
  34810. },
  34811. "parentsubnum": {
  34812. "description": "拆分父子单号",
  34813. "type": "integer"
  34814. },
  34815. "pledgeqty": {
  34816. "description": "质押数量",
  34817. "type": "number"
  34818. },
  34819. "qty": {
  34820. "description": "数量",
  34821. "type": "number"
  34822. },
  34823. "subnum": {
  34824. "description": "提单子单号",
  34825. "type": "integer"
  34826. },
  34827. "tradedate": {
  34828. "description": "交易日(yyyyMMdd)",
  34829. "type": "string"
  34830. },
  34831. "userid": {
  34832. "description": "持有人ID",
  34833. "type": "integer"
  34834. },
  34835. "warehouseid": {
  34836. "description": "仓库ID",
  34837. "type": "integer"
  34838. },
  34839. "warehousename": {
  34840. "description": "仓库名称",
  34841. "type": "string"
  34842. },
  34843. "wrfactortypeid": {
  34844. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34845. "type": "string"
  34846. },
  34847. "wrfactortypename": {
  34848. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34849. "type": "string"
  34850. },
  34851. "wrholdeno": {
  34852. "description": "仓单编号",
  34853. "type": "string"
  34854. },
  34855. "wrid": {
  34856. "description": "仓单变更ID",
  34857. "type": "string"
  34858. },
  34859. "wrstandardcode": {
  34860. "description": "现货商品代码",
  34861. "type": "string"
  34862. },
  34863. "wrstandardid": {
  34864. "description": "现货商品ID",
  34865. "type": "integer"
  34866. },
  34867. "wrstandardname": {
  34868. "description": "商品名称",
  34869. "type": "string"
  34870. },
  34871. "wrtypename": {
  34872. "description": "商品",
  34873. "type": "string"
  34874. }
  34875. }
  34876. },
  34877. "models.WrMarketTradeConfig": {
  34878. "type": "object",
  34879. "properties": {
  34880. "basisdownratio": {
  34881. "description": "浮动价基差下限比例(仓单贸易)",
  34882. "type": "number"
  34883. },
  34884. "basisupratio": {
  34885. "description": "浮动价基差上限比例(仓单贸易)",
  34886. "type": "number"
  34887. },
  34888. "buychargealgorithm": {
  34889. "description": "买方手续费收取方式 1:比率 2:固定",
  34890. "type": "integer"
  34891. },
  34892. "buychargealgorithm2": {
  34893. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34894. "type": "integer"
  34895. },
  34896. "buychargealgorithmvalue": {
  34897. "description": "买方手续费设置值(交易所部分)",
  34898. "type": "number"
  34899. },
  34900. "buychargealgorithmvalue2": {
  34901. "description": "买方手续费设置值(会员部分)",
  34902. "type": "number"
  34903. },
  34904. "buychargealgorithmvalue3": {
  34905. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34906. "type": "number"
  34907. },
  34908. "buychargealgorithmvalue4": {
  34909. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34910. "type": "number"
  34911. },
  34912. "buyfirstmarginalgorithm": {
  34913. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34914. "type": "integer"
  34915. },
  34916. "buyfirstmarginvalue": {
  34917. "description": "买方出价保证金设置值 - [竞拍]",
  34918. "type": "number"
  34919. },
  34920. "buymarginalgorithm": {
  34921. "description": "买方保证金方式 - 1:比率 2:固定",
  34922. "type": "integer"
  34923. },
  34924. "buymarginvalue": {
  34925. "description": "买方保证金设置值",
  34926. "type": "number"
  34927. },
  34928. "buyreleaseratio": {
  34929. "description": "买方释放比率[2:分步履约]",
  34930. "type": "number"
  34931. },
  34932. "executemode": {
  34933. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34934. "type": "integer"
  34935. },
  34936. "executeside": {
  34937. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34938. "type": "integer"
  34939. },
  34940. "failedchargealgorithm": {
  34941. "description": "流拍手续费收取方式 1:比率 2:固定",
  34942. "type": "integer"
  34943. },
  34944. "failedchargevalue": {
  34945. "description": "流拍手续费设置值",
  34946. "type": "number"
  34947. },
  34948. "failedchargevalue2": {
  34949. "description": "流拍卖方手续费设置值",
  34950. "type": "number"
  34951. },
  34952. "holddays": {
  34953. "description": "合同期限[2:分步履约]",
  34954. "type": "integer"
  34955. },
  34956. "marketid": {
  34957. "description": "市场ID-仓单贸易、竞拍、预售",
  34958. "type": "integer"
  34959. },
  34960. "minqty": {
  34961. "description": "最小执行量[2:分步履约]",
  34962. "type": "number"
  34963. },
  34964. "modifierid": {
  34965. "description": "修改人",
  34966. "type": "integer"
  34967. },
  34968. "performancetempid": {
  34969. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34970. "type": "integer"
  34971. },
  34972. "performancetempid2": {
  34973. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34974. "type": "integer"
  34975. },
  34976. "performanceway": {
  34977. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34978. "type": "integer"
  34979. },
  34980. "sellchargealgorithm": {
  34981. "description": "卖方手续费收取方式 1:比率 2:固定",
  34982. "type": "integer"
  34983. },
  34984. "sellchargealgorithm2": {
  34985. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34986. "type": "integer"
  34987. },
  34988. "sellchargealgorithmvalue": {
  34989. "description": "卖方手续费设置值(交易所部分)",
  34990. "type": "number"
  34991. },
  34992. "sellchargealgorithmvalue2": {
  34993. "description": "卖方手续费设置值(会员部分)",
  34994. "type": "number"
  34995. },
  34996. "sellchargealgorithmvalue3": {
  34997. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34998. "type": "number"
  34999. },
  35000. "sellchargealgorithmvalue4": {
  35001. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35002. "type": "number"
  35003. },
  35004. "sellmarginalgorithm": {
  35005. "description": "卖方保证金方式 - 1:比率 2:固定",
  35006. "type": "integer"
  35007. },
  35008. "sellmarginvalue": {
  35009. "description": "卖方保证金设置值",
  35010. "type": "number"
  35011. },
  35012. "sellmarginvalue2": {
  35013. "description": "卖方保证金设置值(无仓单)",
  35014. "type": "number"
  35015. },
  35016. "sellreleaseratio": {
  35017. "description": "卖方释放比率[2:分步履约]",
  35018. "type": "number"
  35019. },
  35020. "updatetime": {
  35021. "description": "更新时间",
  35022. "type": "string"
  35023. }
  35024. }
  35025. },
  35026. "models.WrOrderDetail": {
  35027. "type": "object",
  35028. "properties": {
  35029. "accountid": {
  35030. "description": "交易账号(资金账号)",
  35031. "type": "integer"
  35032. },
  35033. "allfriendsflag": {
  35034. "description": "是否全好友可见 - 0:否 1:是",
  35035. "type": "integer"
  35036. },
  35037. "amount": {
  35038. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35039. "type": "number"
  35040. },
  35041. "begindate": {
  35042. "description": "开始交易日(yyyymmdd)",
  35043. "type": "string"
  35044. },
  35045. "buyorsell": {
  35046. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35047. "type": "integer"
  35048. },
  35049. "canbargain": {
  35050. "description": "是否可议价 - 0:不可 1:可",
  35051. "type": "integer"
  35052. },
  35053. "cancelqty": {
  35054. "description": "撤销数量",
  35055. "type": "number"
  35056. },
  35057. "canpart": {
  35058. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35059. "type": "integer"
  35060. },
  35061. "delistminqty": {
  35062. "description": "起摘数量",
  35063. "type": "integer"
  35064. },
  35065. "deliverygoodscode": {
  35066. "description": "品种代码",
  35067. "type": "string"
  35068. },
  35069. "deliverygoodsid": {
  35070. "description": "品种ID",
  35071. "type": "integer"
  35072. },
  35073. "deliverygoodsname": {
  35074. "description": "品种名称",
  35075. "type": "string"
  35076. },
  35077. "deliverymonth": {
  35078. "description": "交收月",
  35079. "type": "string"
  35080. },
  35081. "enddate": {
  35082. "description": "结束交易日(yyyymmdd)",
  35083. "type": "string"
  35084. },
  35085. "enumdicname": {
  35086. "description": "单位名称",
  35087. "type": "string"
  35088. },
  35089. "fixedprice": {
  35090. "description": "固定价格 - [挂牌]",
  35091. "type": "number"
  35092. },
  35093. "freezemargin": {
  35094. "description": "冻结保证金(保证金)",
  35095. "type": "number"
  35096. },
  35097. "futupricemove": {
  35098. "description": "期货升贴水",
  35099. "type": "number"
  35100. },
  35101. "futushow": {
  35102. "description": "期货合约/升贴水",
  35103. "type": "string"
  35104. },
  35105. "goodscode": {
  35106. "description": "期货合约",
  35107. "type": "string"
  35108. },
  35109. "goodsid": {
  35110. "description": "期货商品id",
  35111. "type": "integer"
  35112. },
  35113. "goodsname": {
  35114. "description": "商品名称",
  35115. "type": "string"
  35116. },
  35117. "haswr": {
  35118. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35119. "type": "integer"
  35120. },
  35121. "isspecified": {
  35122. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35123. "type": "integer"
  35124. },
  35125. "ladingbillid": {
  35126. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35127. "type": "string"
  35128. },
  35129. "marginvalue": {
  35130. "description": "保证金设置值(履约保证金)",
  35131. "type": "number"
  35132. },
  35133. "marketid": {
  35134. "description": "市场ID",
  35135. "type": "integer"
  35136. },
  35137. "matchusername": {
  35138. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35139. "type": "string"
  35140. },
  35141. "minivalue": {
  35142. "description": "现货商品最小变动值",
  35143. "type": "integer"
  35144. },
  35145. "optioncompare": {
  35146. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35147. "type": "string"
  35148. },
  35149. "orderqty": {
  35150. "description": "委托数量",
  35151. "type": "number"
  35152. },
  35153. "ordertime": {
  35154. "description": "委托时间(挂牌时间)",
  35155. "type": "string"
  35156. },
  35157. "performancetemplateid": {
  35158. "description": "履约模板id",
  35159. "type": "integer"
  35160. },
  35161. "pricemove": {
  35162. "description": "升贴水(浮动价时填写) - [挂牌]",
  35163. "type": "number"
  35164. },
  35165. "taname": {
  35166. "description": "交易用户名称(资金账号名称)",
  35167. "type": "string"
  35168. },
  35169. "tradedate": {
  35170. "description": "交易日(yyyyMMdd)",
  35171. "type": "string"
  35172. },
  35173. "tradeprice": {
  35174. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35175. "type": "number"
  35176. },
  35177. "tradeqty": {
  35178. "description": "成交数量",
  35179. "type": "number"
  35180. },
  35181. "userid": {
  35182. "description": "用户ID",
  35183. "type": "integer"
  35184. },
  35185. "validtime": {
  35186. "description": "挂牌有效期",
  35187. "type": "string"
  35188. },
  35189. "warehouseid": {
  35190. "description": "仓库ID",
  35191. "type": "integer"
  35192. },
  35193. "warehousename": {
  35194. "description": "仓库名称",
  35195. "type": "string"
  35196. },
  35197. "wrfactortypeid": {
  35198. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35199. "type": "string"
  35200. },
  35201. "wrfactortypename": {
  35202. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35203. "type": "string"
  35204. },
  35205. "wrpricetype": {
  35206. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35207. "type": "integer"
  35208. },
  35209. "wrstandardcode": {
  35210. "description": "现货商品代码",
  35211. "type": "string"
  35212. },
  35213. "wrstandardid": {
  35214. "description": "现货商品ID",
  35215. "type": "integer"
  35216. },
  35217. "wrstandardname": {
  35218. "description": "商品名称",
  35219. "type": "string"
  35220. },
  35221. "wrtradeorderid": {
  35222. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35223. "type": "string"
  35224. },
  35225. "wrtradeorderstatus": {
  35226. "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:撤单解冻贷款失败",
  35227. "type": "integer"
  35228. },
  35229. "wrtradetype": {
  35230. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35231. "type": "integer"
  35232. },
  35233. "wrtypename": {
  35234. "description": "商品",
  35235. "type": "string"
  35236. }
  35237. }
  35238. },
  35239. "models.WrOrderQuote": {
  35240. "type": "object",
  35241. "properties": {
  35242. "buyprice": {
  35243. "description": "买价",
  35244. "type": "number"
  35245. },
  35246. "buypricemove": {
  35247. "description": "买升贴水(基差)",
  35248. "type": "number"
  35249. },
  35250. "buyqty": {
  35251. "description": "买量",
  35252. "type": "number"
  35253. },
  35254. "deliverygoodscode": {
  35255. "description": "品种代码",
  35256. "type": "string"
  35257. },
  35258. "deliverygoodsid": {
  35259. "description": "品种id",
  35260. "type": "integer"
  35261. },
  35262. "deliverygoodsname": {
  35263. "description": "品种名称",
  35264. "type": "string"
  35265. },
  35266. "deliverymonth": {
  35267. "description": "交收月",
  35268. "type": "string"
  35269. },
  35270. "enumdicname": {
  35271. "description": "单位名称",
  35272. "type": "string"
  35273. },
  35274. "goodscode": {
  35275. "description": "商品合约(浮动价列表才有)",
  35276. "type": "string"
  35277. },
  35278. "goodsid": {
  35279. "description": "商品id(浮动价列表才有)",
  35280. "type": "integer"
  35281. },
  35282. "minivalue": {
  35283. "description": "现货商品最小变动值",
  35284. "type": "integer"
  35285. },
  35286. "sellprice": {
  35287. "description": "卖价",
  35288. "type": "number"
  35289. },
  35290. "sellpricemove": {
  35291. "description": "卖升贴水(基差)",
  35292. "type": "number"
  35293. },
  35294. "sellqty": {
  35295. "description": "卖量",
  35296. "type": "number"
  35297. },
  35298. "warehousecode": {
  35299. "description": "仓库代码",
  35300. "type": "string"
  35301. },
  35302. "warehouseid": {
  35303. "description": "仓库id",
  35304. "type": "integer"
  35305. },
  35306. "warehousename": {
  35307. "description": "仓库名称",
  35308. "type": "string"
  35309. },
  35310. "wrfactortypeid": {
  35311. "description": "仓单要素id",
  35312. "type": "string"
  35313. },
  35314. "wrfactortypename": {
  35315. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35316. "type": "string"
  35317. },
  35318. "wrgoodsname": {
  35319. "description": "商品(商品名称+仓库要素名称 拼接)",
  35320. "type": "string"
  35321. },
  35322. "wrstandardcode": {
  35323. "description": "商品代码",
  35324. "type": "string"
  35325. },
  35326. "wrstandardid": {
  35327. "description": "商品id",
  35328. "type": "integer"
  35329. },
  35330. "wrstandardname": {
  35331. "description": "商品名称",
  35332. "type": "string"
  35333. }
  35334. }
  35335. },
  35336. "models.WrOrderQuoteDetail": {
  35337. "type": "object",
  35338. "properties": {
  35339. "buyorsell": {
  35340. "description": "买卖 - 0:买 1:卖",
  35341. "type": "integer"
  35342. },
  35343. "delistminqty": {
  35344. "description": "起摘数量",
  35345. "type": "number"
  35346. },
  35347. "deliverymonth": {
  35348. "description": "交收月",
  35349. "type": "string"
  35350. },
  35351. "enumdicname": {
  35352. "description": "单位名称",
  35353. "type": "string"
  35354. },
  35355. "fixedprice": {
  35356. "description": "买(卖)价",
  35357. "type": "number"
  35358. },
  35359. "minivalue": {
  35360. "description": "现货商品最小变动值",
  35361. "type": "integer"
  35362. },
  35363. "orderqty": {
  35364. "description": "买(卖)量(=委托量-成交量)",
  35365. "type": "number"
  35366. },
  35367. "ordertime": {
  35368. "description": "委托时间",
  35369. "type": "string"
  35370. },
  35371. "pricemove": {
  35372. "description": "买(卖)升贴水- 基差",
  35373. "type": "number"
  35374. },
  35375. "userid": {
  35376. "description": "购买方(销售方)用户ID",
  35377. "type": "integer"
  35378. },
  35379. "username": {
  35380. "description": "购买方(销售方)",
  35381. "type": "string"
  35382. },
  35383. "wrtradeorderid": {
  35384. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35385. "type": "string"
  35386. }
  35387. }
  35388. },
  35389. "models.WrOutInApply": {
  35390. "type": "object",
  35391. "properties": {
  35392. "applyid": {
  35393. "description": "申请单id",
  35394. "type": "string"
  35395. },
  35396. "applystatus": {
  35397. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35398. "type": "integer"
  35399. },
  35400. "applytime": {
  35401. "description": "申请时间",
  35402. "type": "string"
  35403. },
  35404. "applytype": {
  35405. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35406. "type": "integer"
  35407. },
  35408. "begindate": {
  35409. "description": "开始交易日(yyyymmdd)",
  35410. "type": "string"
  35411. },
  35412. "deliverygoodscode": {
  35413. "description": "品种代码",
  35414. "type": "string"
  35415. },
  35416. "deliverygoodsid": {
  35417. "description": "品种ID",
  35418. "type": "integer"
  35419. },
  35420. "deliverygoodsname": {
  35421. "description": "品种名称",
  35422. "type": "string"
  35423. },
  35424. "enddate": {
  35425. "description": "结束交易日(yyyymmdd)",
  35426. "type": "string"
  35427. },
  35428. "enumdicname": {
  35429. "description": "单位名称",
  35430. "type": "string"
  35431. },
  35432. "expresscompany": {
  35433. "description": "物流公司",
  35434. "type": "string"
  35435. },
  35436. "expressnum": {
  35437. "description": "物流单号",
  35438. "type": "string"
  35439. },
  35440. "minivalue": {
  35441. "description": "现货商品最小变动值",
  35442. "type": "integer"
  35443. },
  35444. "optioncompare": {
  35445. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35446. "type": "string"
  35447. },
  35448. "qty": {
  35449. "description": "数量",
  35450. "type": "integer"
  35451. },
  35452. "userid": {
  35453. "description": "用户id",
  35454. "type": "integer"
  35455. },
  35456. "warehouseid": {
  35457. "description": "仓库ID",
  35458. "type": "integer"
  35459. },
  35460. "warehousename": {
  35461. "description": "仓库名称",
  35462. "type": "string"
  35463. },
  35464. "wrfactortypeid": {
  35465. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35466. "type": "string"
  35467. },
  35468. "wrfactortypename": {
  35469. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35470. "type": "string"
  35471. },
  35472. "wrstandardcode": {
  35473. "description": "现货商品代码",
  35474. "type": "string"
  35475. },
  35476. "wrstandardid": {
  35477. "description": "现货商品ID",
  35478. "type": "integer"
  35479. },
  35480. "wrstandardname": {
  35481. "description": "商品名称",
  35482. "type": "string"
  35483. },
  35484. "wrtypename": {
  35485. "description": "商品",
  35486. "type": "string"
  35487. }
  35488. }
  35489. },
  35490. "models.WrPerformancePlan": {
  35491. "type": "object",
  35492. "required": [
  35493. "userid"
  35494. ],
  35495. "properties": {
  35496. "activatemonth": {
  35497. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35498. "type": "string"
  35499. },
  35500. "amount": {
  35501. "description": "履约金额(总金额)",
  35502. "type": "number"
  35503. },
  35504. "buyaccountid": {
  35505. "description": "买方账号",
  35506. "type": "integer"
  35507. },
  35508. "buyerfreezeamount": {
  35509. "description": "履约冻结(买履约)",
  35510. "type": "number"
  35511. },
  35512. "buyerfreezeamountremain": {
  35513. "description": "履约冻结剩余(买履约)",
  35514. "type": "number"
  35515. },
  35516. "buyorsell": {
  35517. "description": "买卖方向 0-买 1-卖",
  35518. "type": "integer"
  35519. },
  35520. "buypaidamount": {
  35521. "description": "买方已冻/已扣金额 (已付金额)",
  35522. "type": "number"
  35523. },
  35524. "buyusername": {
  35525. "description": "买方名字",
  35526. "type": "string"
  35527. },
  35528. "contractid": {
  35529. "description": "合同ID",
  35530. "type": "integer"
  35531. },
  35532. "createtime": {
  35533. "description": "创建时间",
  35534. "type": "string"
  35535. },
  35536. "creatorid": {
  35537. "description": "创建人",
  35538. "type": "integer"
  35539. },
  35540. "curstepdeadline": {
  35541. "description": "当前步骤到期时间",
  35542. "type": "string"
  35543. },
  35544. "curstepid": {
  35545. "description": "当前步骤ID",
  35546. "type": "string"
  35547. },
  35548. "curstepname": {
  35549. "description": "当前步骤名称",
  35550. "type": "string"
  35551. },
  35552. "deliverygoodscode": {
  35553. "description": "品种代码",
  35554. "type": "string"
  35555. },
  35556. "deliverygoodsid": {
  35557. "description": "品种ID",
  35558. "type": "integer"
  35559. },
  35560. "deliverygoodsname": {
  35561. "description": "品种名称",
  35562. "type": "string"
  35563. },
  35564. "enumdicname": {
  35565. "description": "单位名称",
  35566. "type": "string"
  35567. },
  35568. "expressfee": {
  35569. "description": "运费",
  35570. "type": "number"
  35571. },
  35572. "expressfeeconfirmed": {
  35573. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35574. "type": "integer"
  35575. },
  35576. "hasovershort": {
  35577. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35578. "type": "integer"
  35579. },
  35580. "haswr": {
  35581. "description": "类型 0-仓单预售 1-仓单贸易",
  35582. "type": "integer"
  35583. },
  35584. "marketid": {
  35585. "description": "市场ID",
  35586. "type": "integer"
  35587. },
  35588. "middleaccountid": {
  35589. "description": "中间商资金账号ID",
  35590. "type": "integer"
  35591. },
  35592. "middleuserid": {
  35593. "description": "中间商用户ID",
  35594. "type": "integer"
  35595. },
  35596. "minivalue": {
  35597. "description": "现货商品最小变动值",
  35598. "type": "integer"
  35599. },
  35600. "optioncompare": {
  35601. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35602. "type": "string"
  35603. },
  35604. "overshortamount": {
  35605. "description": "溢短金额",
  35606. "type": "number"
  35607. },
  35608. "overshortqty": {
  35609. "description": "溢短数量",
  35610. "type": "number"
  35611. },
  35612. "paymenttype": {
  35613. "description": "付款方式 - 1:冻结 2:扣款",
  35614. "type": "integer"
  35615. },
  35616. "performanceplanid": {
  35617. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35618. "type": "string"
  35619. },
  35620. "performancestatus": {
  35621. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35622. "type": "integer"
  35623. },
  35624. "performancetype": {
  35625. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35626. "type": "integer"
  35627. },
  35628. "qty": {
  35629. "description": "履约数量",
  35630. "type": "number"
  35631. },
  35632. "relatedorderid": {
  35633. "description": "关联单号(履约类型的关联单号)",
  35634. "type": "string"
  35635. },
  35636. "remark": {
  35637. "description": "备注",
  35638. "type": "string"
  35639. },
  35640. "sellaccountid": {
  35641. "description": "卖方账号",
  35642. "type": "integer"
  35643. },
  35644. "sellerfreezeamount": {
  35645. "description": "履约冻结(卖履约)",
  35646. "type": "number"
  35647. },
  35648. "sellerfreezeamountremain": {
  35649. "description": "履约冻结剩余(卖履约)",
  35650. "type": "number"
  35651. },
  35652. "sellreceivedamount": {
  35653. "description": "卖方已收金额",
  35654. "type": "number"
  35655. },
  35656. "sellusername": {
  35657. "description": "卖方名字",
  35658. "type": "string"
  35659. },
  35660. "shipremark": {
  35661. "description": "发货备注[物流单号]",
  35662. "type": "string"
  35663. },
  35664. "starttime": {
  35665. "description": "开始时间",
  35666. "type": "string"
  35667. },
  35668. "steptypeid": {
  35669. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35670. "type": "integer"
  35671. },
  35672. "typename": {
  35673. "description": "履约类型 名称",
  35674. "type": "string"
  35675. },
  35676. "unpaidamount": {
  35677. "description": "剩余款(待支付金额)",
  35678. "type": "number"
  35679. },
  35680. "userid": {
  35681. "description": "用户id",
  35682. "type": "integer"
  35683. },
  35684. "warehouseid": {
  35685. "description": "仓库ID",
  35686. "type": "integer"
  35687. },
  35688. "warehousename": {
  35689. "description": "仓库名称",
  35690. "type": "string"
  35691. },
  35692. "wrfactortypeid": {
  35693. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35694. "type": "string"
  35695. },
  35696. "wrfactortypename": {
  35697. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35698. "type": "string"
  35699. },
  35700. "wrstandardcode": {
  35701. "description": "现货商品代码",
  35702. "type": "string"
  35703. },
  35704. "wrstandardid": {
  35705. "description": "现货商品ID",
  35706. "type": "integer"
  35707. },
  35708. "wrstandardname": {
  35709. "description": "商品名称",
  35710. "type": "string"
  35711. },
  35712. "wrtransferuserid": {
  35713. "description": "仓单受让用户",
  35714. "type": "integer"
  35715. },
  35716. "wrtypename": {
  35717. "description": "商品",
  35718. "type": "string"
  35719. }
  35720. }
  35721. },
  35722. "models.WrPerformancePlanStep": {
  35723. "type": "object",
  35724. "properties": {
  35725. "delaydays": {
  35726. "description": "延期申请天数",
  35727. "type": "integer"
  35728. },
  35729. "deliverygoodscode": {
  35730. "description": "品种代码",
  35731. "type": "string"
  35732. },
  35733. "deliverygoodsid": {
  35734. "description": "品种ID",
  35735. "type": "integer"
  35736. },
  35737. "deliverygoodsname": {
  35738. "description": "品种名称",
  35739. "type": "string"
  35740. },
  35741. "endtime": {
  35742. "description": "结束日期",
  35743. "type": "string"
  35744. },
  35745. "enumdicname": {
  35746. "description": "单位名称",
  35747. "type": "string"
  35748. },
  35749. "executeside": {
  35750. "description": "步骤执行方 - 1:买方 2:卖方",
  35751. "type": "integer"
  35752. },
  35753. "handlestatus": {
  35754. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35755. "type": "integer"
  35756. },
  35757. "isauto": {
  35758. "description": "是否自动 - 0:不自动 1:自动",
  35759. "type": "integer"
  35760. },
  35761. "islastreceivestep": {
  35762. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35763. "type": "integer"
  35764. },
  35765. "minivalue": {
  35766. "description": "现货商品最小变动值",
  35767. "type": "integer"
  35768. },
  35769. "optioncompare": {
  35770. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35771. "type": "string"
  35772. },
  35773. "overdays": {
  35774. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35775. "type": "integer"
  35776. },
  35777. "performancestepid": {
  35778. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35779. "type": "string"
  35780. },
  35781. "planid": {
  35782. "description": "所属履约计划ID",
  35783. "type": "string"
  35784. },
  35785. "realamount": {
  35786. "description": "实际完成金额",
  35787. "type": "number"
  35788. },
  35789. "relatedorderid": {
  35790. "description": "关联单号",
  35791. "type": "string"
  35792. },
  35793. "remaindays": {
  35794. "description": "剩余天数",
  35795. "type": "integer"
  35796. },
  35797. "remark": {
  35798. "description": "错误备注",
  35799. "type": "string"
  35800. },
  35801. "starttime": {
  35802. "description": "开始日期",
  35803. "type": "string"
  35804. },
  35805. "stepamount": {
  35806. "description": "步骤金额",
  35807. "type": "number"
  35808. },
  35809. "stepdays": {
  35810. "description": "距离上一步天数(分钟)",
  35811. "type": "integer"
  35812. },
  35813. "stepindex": {
  35814. "description": "步骤序号",
  35815. "type": "integer"
  35816. },
  35817. "steplanchtype": {
  35818. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35819. "type": "integer"
  35820. },
  35821. "stepremark": {
  35822. "description": "步骤备注",
  35823. "type": "string"
  35824. },
  35825. "stepstatus": {
  35826. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35827. "type": "integer"
  35828. },
  35829. "steptypeid": {
  35830. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35831. "type": "integer"
  35832. },
  35833. "steptypename": {
  35834. "description": "步骤名称",
  35835. "type": "string"
  35836. },
  35837. "stepvalue": {
  35838. "description": "步骤值",
  35839. "type": "number"
  35840. },
  35841. "warehouseid": {
  35842. "description": "仓库ID",
  35843. "type": "integer"
  35844. },
  35845. "warehousename": {
  35846. "description": "仓库名称",
  35847. "type": "string"
  35848. },
  35849. "wrfactortypeid": {
  35850. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35851. "type": "string"
  35852. },
  35853. "wrfactortypename": {
  35854. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35855. "type": "string"
  35856. },
  35857. "wrstandardcode": {
  35858. "description": "现货商品代码",
  35859. "type": "string"
  35860. },
  35861. "wrstandardid": {
  35862. "description": "现货商品ID",
  35863. "type": "integer"
  35864. },
  35865. "wrstandardname": {
  35866. "description": "商品名称",
  35867. "type": "string"
  35868. },
  35869. "wrtypename": {
  35870. "description": "商品",
  35871. "type": "string"
  35872. }
  35873. }
  35874. },
  35875. "models.WrPerformanceStepType": {
  35876. "type": "object",
  35877. "properties": {
  35878. "canauto": {
  35879. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35880. "type": "integer"
  35881. },
  35882. "steptypeid": {
  35883. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35884. "type": "integer"
  35885. },
  35886. "steptypename": {
  35887. "description": "步骤类型名称",
  35888. "type": "string"
  35889. }
  35890. }
  35891. },
  35892. "models.WrPerformanceTemplateEx": {
  35893. "type": "object",
  35894. "properties": {
  35895. "autoid": {
  35896. "description": "AutoID 模板id",
  35897. "type": "integer"
  35898. },
  35899. "createtime": {
  35900. "description": "创建时间",
  35901. "type": "string"
  35902. },
  35903. "creatorid": {
  35904. "description": "创建人",
  35905. "type": "integer"
  35906. },
  35907. "lstStep": {
  35908. "description": "步骤信息列表",
  35909. "type": "array",
  35910. "items": {
  35911. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35912. }
  35913. },
  35914. "paymenttype": {
  35915. "description": "支付方式 - 1:冻结 2:扣款",
  35916. "type": "integer"
  35917. },
  35918. "takemode": {
  35919. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35920. "type": "integer"
  35921. },
  35922. "templatename": {
  35923. "description": "模板名称",
  35924. "type": "string"
  35925. },
  35926. "templatetype": {
  35927. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35928. "type": "integer"
  35929. },
  35930. "userid": {
  35931. "description": "所属用户",
  35932. "type": "integer"
  35933. }
  35934. }
  35935. },
  35936. "models.WrPosition": {
  35937. "type": "object",
  35938. "properties": {
  35939. "accountid": {
  35940. "description": "帐户ID",
  35941. "type": "integer"
  35942. },
  35943. "buyexcuteqty": {
  35944. "description": "采购履约中数量",
  35945. "type": "number"
  35946. },
  35947. "creditcurqty": {
  35948. "description": "授信当前数量(预售仓单:预售当前量)",
  35949. "type": "number"
  35950. },
  35951. "creditenableqty": {
  35952. "description": "授信可用数量(预售仓单: 可用数量)",
  35953. "type": "number"
  35954. },
  35955. "creditfreezeqty": {
  35956. "description": "授信冻结数量(预售仓单: 当前数量)",
  35957. "type": "number"
  35958. },
  35959. "credittotalqty": {
  35960. "description": "授信总数量(预售仓单:预售总量)",
  35961. "type": "number"
  35962. },
  35963. "credittradeqty": {
  35964. "description": "授信成交数量(预售仓单:成交总量)",
  35965. "type": "number"
  35966. },
  35967. "deliverygoodscode": {
  35968. "description": "品种代码",
  35969. "type": "string"
  35970. },
  35971. "deliverygoodsid": {
  35972. "description": "品种ID",
  35973. "type": "integer"
  35974. },
  35975. "deliverygoodsname": {
  35976. "description": "品种名称",
  35977. "type": "string"
  35978. },
  35979. "enalbeqty": {
  35980. "description": "可用数量",
  35981. "type": "number"
  35982. },
  35983. "enumdicname": {
  35984. "description": "单位名称",
  35985. "type": "string"
  35986. },
  35987. "freezeqty": {
  35988. "description": "总冻结数量",
  35989. "type": "number"
  35990. },
  35991. "haswr": {
  35992. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35993. "type": "integer"
  35994. },
  35995. "minivalue": {
  35996. "description": "现货商品最小变动值",
  35997. "type": "integer"
  35998. },
  35999. "modifytime": {
  36000. "description": "修改时间(过户时间)",
  36001. "type": "string"
  36002. },
  36003. "optioncompare": {
  36004. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36005. "type": "string"
  36006. },
  36007. "pledgeqty": {
  36008. "description": "质押数量",
  36009. "type": "number"
  36010. },
  36011. "querytype": {
  36012. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36013. "type": "integer"
  36014. },
  36015. "sellexcuteqty": {
  36016. "description": "销售履约中数量",
  36017. "type": "number"
  36018. },
  36019. "totalqty": {
  36020. "description": "总数量(库存数量)",
  36021. "type": "number"
  36022. },
  36023. "warehouseid": {
  36024. "description": "仓库ID",
  36025. "type": "integer"
  36026. },
  36027. "warehousename": {
  36028. "description": "仓库名称",
  36029. "type": "string"
  36030. },
  36031. "wrfactortypeid": {
  36032. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36033. "type": "string"
  36034. },
  36035. "wrfactortypename": {
  36036. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36037. "type": "string"
  36038. },
  36039. "wrpositionid": {
  36040. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36041. "type": "string"
  36042. },
  36043. "wrpositionno": {
  36044. "description": "仓单编号",
  36045. "type": "string"
  36046. },
  36047. "wrstandardcode": {
  36048. "description": "现货商品代码",
  36049. "type": "string"
  36050. },
  36051. "wrstandardid": {
  36052. "description": "现货商品ID",
  36053. "type": "integer"
  36054. },
  36055. "wrstandardname": {
  36056. "description": "商品名称",
  36057. "type": "string"
  36058. },
  36059. "wrtypename": {
  36060. "description": "商品",
  36061. "type": "string"
  36062. },
  36063. "wruserid": {
  36064. "description": "持有人ID",
  36065. "type": "integer"
  36066. }
  36067. }
  36068. },
  36069. "models.WrQuoteOrderMyq": {
  36070. "type": "object",
  36071. "properties": {
  36072. "buyorsell": {
  36073. "description": "买卖 - 0:买 1:卖",
  36074. "type": "integer"
  36075. },
  36076. "canbargain": {
  36077. "description": "是否可议价 - 0:不可 1:可",
  36078. "type": "integer"
  36079. },
  36080. "canpart": {
  36081. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36082. "type": "integer"
  36083. },
  36084. "delistminqty": {
  36085. "description": "起摘数量",
  36086. "type": "number"
  36087. },
  36088. "deliverygoodscode": {
  36089. "description": "品种代码",
  36090. "type": "string"
  36091. },
  36092. "deliverygoodsid": {
  36093. "description": "品种ID",
  36094. "type": "integer"
  36095. },
  36096. "deliverygoodsname": {
  36097. "description": "品种名称",
  36098. "type": "string"
  36099. },
  36100. "deliverymonth": {
  36101. "description": "交收月",
  36102. "type": "string"
  36103. },
  36104. "enumdicname": {
  36105. "description": "单位名称",
  36106. "type": "string"
  36107. },
  36108. "fixedprice": {
  36109. "description": "买(卖)价",
  36110. "type": "number"
  36111. },
  36112. "goodscode": {
  36113. "description": "商品合约代码",
  36114. "type": "string"
  36115. },
  36116. "marginflag": {
  36117. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36118. "type": "integer"
  36119. },
  36120. "marginvalue": {
  36121. "description": "保证金设置值",
  36122. "type": "number"
  36123. },
  36124. "minivalue": {
  36125. "description": "现货商品最小变动值",
  36126. "type": "integer"
  36127. },
  36128. "orderqty": {
  36129. "description": "买(卖)量(=委托量-成交量)",
  36130. "type": "number"
  36131. },
  36132. "ordertime": {
  36133. "description": "委托时间",
  36134. "type": "string"
  36135. },
  36136. "performancetemplateid": {
  36137. "description": "履约模板id",
  36138. "type": "integer"
  36139. },
  36140. "pricemove": {
  36141. "description": "买(卖)升贴水- 基差",
  36142. "type": "number"
  36143. },
  36144. "templatename": {
  36145. "description": "履约模板名称",
  36146. "type": "string"
  36147. },
  36148. "userid": {
  36149. "description": "购买方(销售方)用户ID",
  36150. "type": "integer"
  36151. },
  36152. "username": {
  36153. "description": "购买方(销售方)",
  36154. "type": "string"
  36155. },
  36156. "validtime": {
  36157. "description": "有效期限",
  36158. "type": "string"
  36159. },
  36160. "validtype": {
  36161. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36162. "type": "integer"
  36163. },
  36164. "warehousename": {
  36165. "description": "仓库名称",
  36166. "type": "string"
  36167. },
  36168. "wrfactortypeid": {
  36169. "description": "仓单要素id",
  36170. "type": "string"
  36171. },
  36172. "wrstandardcode": {
  36173. "description": "现货商品代码",
  36174. "type": "string"
  36175. },
  36176. "wrstandardid": {
  36177. "description": "现货商品ID",
  36178. "type": "integer"
  36179. },
  36180. "wrstandardname": {
  36181. "description": "商品名称",
  36182. "type": "string"
  36183. },
  36184. "wrtradeorderid": {
  36185. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36186. "type": "string"
  36187. },
  36188. "wrtypename": {
  36189. "description": "商品",
  36190. "type": "string"
  36191. }
  36192. }
  36193. },
  36194. "models.WrScfContract": {
  36195. "type": "object",
  36196. "properties": {
  36197. "borroweruserid": {
  36198. "description": "借款用户ID",
  36199. "type": "integer"
  36200. },
  36201. "buybackwrpositionqty": {
  36202. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36203. "type": "number"
  36204. },
  36205. "closeinterest": {
  36206. "description": "已结利息 -\u003e 已结费用",
  36207. "type": "number"
  36208. },
  36209. "currisklevel": {
  36210. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36211. "type": "integer"
  36212. },
  36213. "deadline": {
  36214. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36215. "type": "string"
  36216. },
  36217. "deliverygoodscode": {
  36218. "description": "品种代码",
  36219. "type": "string"
  36220. },
  36221. "deliverygoodsid": {
  36222. "description": "品种ID",
  36223. "type": "integer"
  36224. },
  36225. "deliverygoodsname": {
  36226. "description": "品种名称",
  36227. "type": "string"
  36228. },
  36229. "enumdicname": {
  36230. "description": "单位名称",
  36231. "type": "string"
  36232. },
  36233. "financingdays": {
  36234. "description": "天数(天)",
  36235. "type": "integer"
  36236. },
  36237. "initmargin": {
  36238. "description": "保证金 - [仓单回购]",
  36239. "type": "number"
  36240. },
  36241. "interestamount": {
  36242. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36243. "type": "number"
  36244. },
  36245. "interestdebt": {
  36246. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36247. "type": "number"
  36248. },
  36249. "interestminlen": {
  36250. "description": "最小起息天数",
  36251. "type": "integer"
  36252. },
  36253. "interestrate": {
  36254. "description": "利率",
  36255. "type": "number"
  36256. },
  36257. "interestratemode": {
  36258. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36259. "type": "integer"
  36260. },
  36261. "interestsettlemode": {
  36262. "description": "结息方式 - 1:按日结息 3:按月结息",
  36263. "type": "integer"
  36264. },
  36265. "interestsettlevalue": {
  36266. "description": "结息方式值",
  36267. "type": "integer"
  36268. },
  36269. "isautoloan": {
  36270. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36271. "type": "integer"
  36272. },
  36273. "lastcloseinterestday": {
  36274. "description": "最近结息日(yyyyMMdd)",
  36275. "type": "string"
  36276. },
  36277. "lenderamount": {
  36278. "description": "贷款金额 -\u003e 借款金额",
  36279. "type": "number"
  36280. },
  36281. "lenderuserid": {
  36282. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36283. "type": "integer"
  36284. },
  36285. "lenderusername": {
  36286. "description": "融出方",
  36287. "type": "string"
  36288. },
  36289. "marginratio": {
  36290. "description": "保证金比率质押率 - [仓单质押]",
  36291. "type": "number"
  36292. },
  36293. "marketid": {
  36294. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36295. "type": "integer"
  36296. },
  36297. "minivalue": {
  36298. "description": "现货商品最小变动值",
  36299. "type": "integer"
  36300. },
  36301. "optioncompare": {
  36302. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36303. "type": "string"
  36304. },
  36305. "pricemove": {
  36306. "description": "估值升贴水值",
  36307. "type": "number"
  36308. },
  36309. "productdetailid": {
  36310. "description": "产品组合ID",
  36311. "type": "integer"
  36312. },
  36313. "productid": {
  36314. "description": "金融产品ID",
  36315. "type": "integer"
  36316. },
  36317. "productname": {
  36318. "description": "产品名称",
  36319. "type": "string"
  36320. },
  36321. "remainamount": {
  36322. "description": "合同剩余金额 -\u003e 剩余金额",
  36323. "type": "number"
  36324. },
  36325. "remainwrpositionqty": {
  36326. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36327. "type": "number"
  36328. },
  36329. "remark": {
  36330. "description": "备注",
  36331. "type": "string"
  36332. },
  36333. "scfcontractid": {
  36334. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36335. "type": "string"
  36336. },
  36337. "scfcontractstatus": {
  36338. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36339. "type": "integer"
  36340. },
  36341. "scfcontracttype": {
  36342. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36343. "type": "integer"
  36344. },
  36345. "startinterestday": {
  36346. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36347. "type": "string"
  36348. },
  36349. "totalinterest": {
  36350. "description": "已计利息 -\u003e 已计费用",
  36351. "type": "number"
  36352. },
  36353. "unpaidinterest": {
  36354. "description": "未结费用",
  36355. "type": "number"
  36356. },
  36357. "updatetime": {
  36358. "description": "更新时间",
  36359. "type": "string"
  36360. },
  36361. "warehouseid": {
  36362. "description": "仓库ID",
  36363. "type": "integer"
  36364. },
  36365. "warehousename": {
  36366. "description": "仓库名称",
  36367. "type": "string"
  36368. },
  36369. "wrfactortypeid": {
  36370. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36371. "type": "string"
  36372. },
  36373. "wrfactortypename": {
  36374. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36375. "type": "string"
  36376. },
  36377. "wrqty": {
  36378. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36379. "type": "number"
  36380. },
  36381. "wrstandardcode": {
  36382. "description": "现货商品代码",
  36383. "type": "string"
  36384. },
  36385. "wrstandardid": {
  36386. "description": "现货商品ID",
  36387. "type": "integer"
  36388. },
  36389. "wrstandardname": {
  36390. "description": "商品名称",
  36391. "type": "string"
  36392. },
  36393. "wrtypename": {
  36394. "description": "商品",
  36395. "type": "string"
  36396. }
  36397. }
  36398. },
  36399. "models.WrScfContractInterest": {
  36400. "type": "object",
  36401. "properties": {
  36402. "closeinterest": {
  36403. "description": "已结利息",
  36404. "type": "number"
  36405. },
  36406. "closeintereststatus": {
  36407. "description": "结息状态 - 1:未结 2:已结",
  36408. "type": "integer"
  36409. },
  36410. "closetime": {
  36411. "description": "结息时间",
  36412. "type": "string"
  36413. },
  36414. "closetradedate": {
  36415. "description": "结息交易日",
  36416. "type": "string"
  36417. },
  36418. "creatorid": {
  36419. "description": "操作人ID",
  36420. "type": "integer"
  36421. },
  36422. "dayrate": {
  36423. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36424. "type": "number"
  36425. },
  36426. "interest": {
  36427. "description": "利息",
  36428. "type": "number"
  36429. },
  36430. "interestamount": {
  36431. "description": "计息金额",
  36432. "type": "number"
  36433. },
  36434. "interestday": {
  36435. "description": "计息日(yyyyMMdd)",
  36436. "type": "string"
  36437. },
  36438. "scfcontractid": {
  36439. "description": "SCF合同ID",
  36440. "type": "string"
  36441. },
  36442. "scfcontractinterestid": {
  36443. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36444. "type": "integer"
  36445. },
  36446. "updatetime": {
  36447. "description": "更新时间",
  36448. "type": "string"
  36449. }
  36450. }
  36451. },
  36452. "models.WrSiteColumnDetail": {
  36453. "type": "object",
  36454. "properties": {
  36455. "brief": {
  36456. "description": "简介",
  36457. "type": "string"
  36458. },
  36459. "context": {
  36460. "description": "内容",
  36461. "type": "string"
  36462. },
  36463. "coverimage": {
  36464. "description": "封面图片",
  36465. "type": "string"
  36466. },
  36467. "creaedate": {
  36468. "description": "创建时间",
  36469. "type": "string"
  36470. },
  36471. "id": {
  36472. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36473. "type": "integer"
  36474. },
  36475. "istop": {
  36476. "description": "是否置顶 - 0:不置 1:置顶",
  36477. "type": "integer"
  36478. },
  36479. "publishdate": {
  36480. "description": "发布日期",
  36481. "type": "string"
  36482. },
  36483. "title": {
  36484. "description": "标题",
  36485. "type": "string"
  36486. },
  36487. "updatedate": {
  36488. "description": "修改时间",
  36489. "type": "string"
  36490. }
  36491. }
  36492. },
  36493. "models.WrSpecialMatchOrder": {
  36494. "type": "object",
  36495. "properties": {
  36496. "amount": {
  36497. "description": "金额 = 数量 * 价格",
  36498. "type": "number"
  36499. },
  36500. "buyorsell": {
  36501. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36502. "type": "integer"
  36503. },
  36504. "cancelqty": {
  36505. "description": "撤销数量",
  36506. "type": "number"
  36507. },
  36508. "deliverygoodscode": {
  36509. "description": "品种代码",
  36510. "type": "string"
  36511. },
  36512. "deliverygoodsid": {
  36513. "description": "品种ID",
  36514. "type": "integer"
  36515. },
  36516. "deliverygoodsname": {
  36517. "description": "品种名称",
  36518. "type": "string"
  36519. },
  36520. "enumdicname": {
  36521. "description": "单位名称",
  36522. "type": "string"
  36523. },
  36524. "fixedprice": {
  36525. "description": "固定价格(价格)",
  36526. "type": "number"
  36527. },
  36528. "haswr": {
  36529. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36530. "type": "integer"
  36531. },
  36532. "isspecified": {
  36533. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36534. "type": "integer"
  36535. },
  36536. "marketid": {
  36537. "description": "市场ID",
  36538. "type": "integer"
  36539. },
  36540. "matchuserid": {
  36541. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36542. "type": "integer"
  36543. },
  36544. "matchusername": {
  36545. "description": "指定方",
  36546. "type": "string"
  36547. },
  36548. "minivalue": {
  36549. "description": "现货商品最小变动值",
  36550. "type": "integer"
  36551. },
  36552. "optioncompare": {
  36553. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36554. "type": "string"
  36555. },
  36556. "orderqty": {
  36557. "description": "委托数量",
  36558. "type": "number"
  36559. },
  36560. "ordertime": {
  36561. "description": "委托时间",
  36562. "type": "string"
  36563. },
  36564. "pricemove": {
  36565. "description": "升贴水(浮动价时填写) - [挂牌]",
  36566. "type": "number"
  36567. },
  36568. "tradedate": {
  36569. "description": "交易日(yyyyMMdd)",
  36570. "type": "string"
  36571. },
  36572. "tradeprice": {
  36573. "description": "成交价格",
  36574. "type": "number"
  36575. },
  36576. "tradeqty": {
  36577. "description": "成交数量",
  36578. "type": "number"
  36579. },
  36580. "userid": {
  36581. "description": "用户ID",
  36582. "type": "integer"
  36583. },
  36584. "username": {
  36585. "description": "发起方",
  36586. "type": "string"
  36587. },
  36588. "warehouseid": {
  36589. "description": "仓库ID",
  36590. "type": "integer"
  36591. },
  36592. "warehousename": {
  36593. "description": "仓库名称",
  36594. "type": "string"
  36595. },
  36596. "wrfactortypeid": {
  36597. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36598. "type": "string"
  36599. },
  36600. "wrfactortypename": {
  36601. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36602. "type": "string"
  36603. },
  36604. "wrpricetype": {
  36605. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36606. "type": "integer"
  36607. },
  36608. "wrstandardcode": {
  36609. "description": "现货商品代码",
  36610. "type": "string"
  36611. },
  36612. "wrstandardid": {
  36613. "description": "现货商品ID",
  36614. "type": "integer"
  36615. },
  36616. "wrstandardname": {
  36617. "description": "商品名称",
  36618. "type": "string"
  36619. },
  36620. "wrtradeorderid": {
  36621. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36622. "type": "string"
  36623. },
  36624. "wrtradeorderstatus": {
  36625. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36626. "type": "integer"
  36627. },
  36628. "wrtradetype": {
  36629. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36630. "type": "integer"
  36631. },
  36632. "wrtypename": {
  36633. "description": "商品",
  36634. "type": "string"
  36635. }
  36636. }
  36637. },
  36638. "models.WrSpotGroupTradeSum": {
  36639. "type": "object",
  36640. "properties": {
  36641. "deliverygoodscode": {
  36642. "description": "现货品种代码",
  36643. "type": "string"
  36644. },
  36645. "deliverygoodsid": {
  36646. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36647. "type": "integer"
  36648. },
  36649. "deliverygoodsname": {
  36650. "description": "现货品种名称",
  36651. "type": "string"
  36652. },
  36653. "lastavgprice": {
  36654. "description": "上上个交易日价格(前2天价格)",
  36655. "type": "string"
  36656. },
  36657. "lastreckondate": {
  36658. "description": "上上个交易日(前2天交易日)",
  36659. "type": "string"
  36660. },
  36661. "reckondate": {
  36662. "description": "上个交易日(前1天交易日)",
  36663. "type": "string"
  36664. },
  36665. "todayavgprice": {
  36666. "description": "上个交易日价格(前1天价格)",
  36667. "type": "string"
  36668. },
  36669. "updown": {
  36670. "description": "涨跌",
  36671. "type": "string"
  36672. },
  36673. "updownratio": {
  36674. "description": "涨幅(已格式化, 直接显示即可)",
  36675. "type": "string"
  36676. }
  36677. }
  36678. },
  36679. "models.WrSpotGroupTradeSumDetail": {
  36680. "type": "object",
  36681. "properties": {
  36682. "deliverygoodsid": {
  36683. "description": "现货商品id",
  36684. "type": "integer"
  36685. },
  36686. "price": {
  36687. "description": "价格",
  36688. "type": "number"
  36689. },
  36690. "reckondate": {
  36691. "description": "日期(yyymmdd, 如:20211031)",
  36692. "type": "string"
  36693. }
  36694. }
  36695. },
  36696. "models.WrSpotGroupTradeSumEx": {
  36697. "type": "object",
  36698. "properties": {
  36699. "lst": {
  36700. "description": "指数列表",
  36701. "type": "array",
  36702. "items": {
  36703. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36704. }
  36705. },
  36706. "prereckondate": {
  36707. "description": "上上个交易日(yyymmdd)",
  36708. "type": "string"
  36709. },
  36710. "reckondate": {
  36711. "description": "上个交易日(yyyymmdd)",
  36712. "type": "string"
  36713. }
  36714. }
  36715. },
  36716. "models.WrStandardFactoryItem": {
  36717. "type": "object",
  36718. "properties": {
  36719. "dgfactoryitemid": {
  36720. "description": "选择项id",
  36721. "type": "integer"
  36722. },
  36723. "dgfactoryitemvalue": {
  36724. "description": "要素项值",
  36725. "type": "string"
  36726. },
  36727. "warehouseid": {
  36728. "description": "仓库id",
  36729. "type": "integer"
  36730. }
  36731. }
  36732. },
  36733. "models.WrStandardFactoryItemEx": {
  36734. "type": "object",
  36735. "properties": {
  36736. "dgfactoryitemtypeid": {
  36737. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36738. "type": "integer"
  36739. },
  36740. "itemlst": {
  36741. "description": "要素项列表",
  36742. "type": "array",
  36743. "items": {
  36744. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36745. }
  36746. },
  36747. "itemtypename": {
  36748. "description": "要素项类型名称",
  36749. "type": "string"
  36750. },
  36751. "wrstandardid": {
  36752. "description": "品类",
  36753. "type": "integer"
  36754. }
  36755. }
  36756. },
  36757. "models.WrTradeDetail": {
  36758. "type": "object",
  36759. "properties": {
  36760. "accountid": {
  36761. "description": "资金账号",
  36762. "type": "integer"
  36763. },
  36764. "begindate": {
  36765. "description": "开始交易日(yyyymmdd)",
  36766. "type": "string"
  36767. },
  36768. "buyorsell": {
  36769. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36770. "type": "integer"
  36771. },
  36772. "chargevalue": {
  36773. "description": "手续费",
  36774. "type": "number"
  36775. },
  36776. "deliverygoodscode": {
  36777. "description": "品种代码",
  36778. "type": "string"
  36779. },
  36780. "deliverygoodsid": {
  36781. "description": "品种ID",
  36782. "type": "integer"
  36783. },
  36784. "deliverygoodsname": {
  36785. "description": "品种名称",
  36786. "type": "string"
  36787. },
  36788. "deliverymonth": {
  36789. "description": "交收月",
  36790. "type": "string"
  36791. },
  36792. "enddate": {
  36793. "description": "结束交易日(yyyymmdd)",
  36794. "type": "string"
  36795. },
  36796. "enumdicname": {
  36797. "description": "单位名称",
  36798. "type": "string"
  36799. },
  36800. "haswr": {
  36801. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36802. "type": "integer"
  36803. },
  36804. "marketid": {
  36805. "description": "市场ID",
  36806. "type": "integer"
  36807. },
  36808. "matchaccountid": {
  36809. "description": "对手账号",
  36810. "type": "integer"
  36811. },
  36812. "matchusername": {
  36813. "description": "对手方",
  36814. "type": "string"
  36815. },
  36816. "minivalue": {
  36817. "description": "现货商品最小变动值",
  36818. "type": "integer"
  36819. },
  36820. "optioncompare": {
  36821. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36822. "type": "string"
  36823. },
  36824. "tradedate": {
  36825. "description": "交易日(yyyyMMdd)",
  36826. "type": "string"
  36827. },
  36828. "tradeprice": {
  36829. "description": "成交价格",
  36830. "type": "number"
  36831. },
  36832. "tradeqty": {
  36833. "description": "成交数量",
  36834. "type": "number"
  36835. },
  36836. "tradetime": {
  36837. "description": "成交时间",
  36838. "type": "string"
  36839. },
  36840. "userid": {
  36841. "description": "用户ID",
  36842. "type": "integer"
  36843. },
  36844. "warehouseid": {
  36845. "description": "仓库ID",
  36846. "type": "integer"
  36847. },
  36848. "warehousename": {
  36849. "description": "仓库名称",
  36850. "type": "string"
  36851. },
  36852. "wrfactortypeid": {
  36853. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36854. "type": "string"
  36855. },
  36856. "wrfactortypename": {
  36857. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36858. "type": "string"
  36859. },
  36860. "wrstandardcode": {
  36861. "description": "现货商品代码",
  36862. "type": "string"
  36863. },
  36864. "wrstandardid": {
  36865. "description": "现货商品ID",
  36866. "type": "integer"
  36867. },
  36868. "wrstandardname": {
  36869. "description": "商品名称",
  36870. "type": "string"
  36871. },
  36872. "wrtradedetailid": {
  36873. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36874. "type": "string"
  36875. },
  36876. "wrtradetype": {
  36877. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36878. "type": "integer"
  36879. },
  36880. "wrtypename": {
  36881. "description": "商品",
  36882. "type": "string"
  36883. }
  36884. }
  36885. },
  36886. "models.WrTradeOrderDetail": {
  36887. "type": "object",
  36888. "properties": {
  36889. "buyorsell": {
  36890. "description": "买卖方向 0-买 1-卖",
  36891. "type": "integer"
  36892. },
  36893. "goodsid": {
  36894. "description": "商品id",
  36895. "type": "integer"
  36896. },
  36897. "orderid": {
  36898. "description": "委托单号",
  36899. "type": "string"
  36900. },
  36901. "orderprice": {
  36902. "description": "委托价格",
  36903. "type": "number"
  36904. },
  36905. "orderqty": {
  36906. "description": "委托数量",
  36907. "type": "integer"
  36908. },
  36909. "userid": {
  36910. "description": "用户id",
  36911. "type": "integer"
  36912. },
  36913. "username": {
  36914. "description": "用户名称(已脱敏)",
  36915. "type": "string"
  36916. }
  36917. }
  36918. },
  36919. "models.WrTypeItem": {
  36920. "type": "object",
  36921. "properties": {
  36922. "name": {
  36923. "description": "名称",
  36924. "type": "string"
  36925. },
  36926. "value": {
  36927. "description": "值",
  36928. "type": "string"
  36929. }
  36930. }
  36931. },
  36932. "models.WrUserFriend": {
  36933. "type": "object",
  36934. "properties": {
  36935. "friendname": {
  36936. "description": "朋友名称(已脱敏)",
  36937. "type": "string"
  36938. },
  36939. "frienduserid": {
  36940. "description": "朋友id",
  36941. "type": "integer"
  36942. },
  36943. "isfriend": {
  36944. "description": "是否好友 0-不是 1-是",
  36945. "type": "integer"
  36946. },
  36947. "userid": {
  36948. "description": "用户id",
  36949. "type": "integer"
  36950. }
  36951. }
  36952. },
  36953. "models.WrUserReceiptInfo": {
  36954. "type": "object",
  36955. "properties": {
  36956. "address": {
  36957. "description": "地址[发票类型:企业]",
  36958. "type": "string"
  36959. },
  36960. "autoid": {
  36961. "description": "AutoID",
  36962. "type": "integer"
  36963. },
  36964. "contactinfo": {
  36965. "description": "联系方式",
  36966. "type": "string"
  36967. },
  36968. "idnum": {
  36969. "description": "身份证号码[发票类型:个人]",
  36970. "type": "string"
  36971. },
  36972. "isdefault": {
  36973. "description": "是否默认地址 - 0:否 1:是",
  36974. "type": "integer"
  36975. },
  36976. "receiptaccount": {
  36977. "description": "发票帐号[发票类型:企业]",
  36978. "type": "string"
  36979. },
  36980. "receiptbank": {
  36981. "description": "发票开户行[发票类型:企业]",
  36982. "type": "string"
  36983. },
  36984. "receipttype": {
  36985. "description": "发票类型 - 1:个人 2:企业",
  36986. "type": "integer"
  36987. },
  36988. "taxpayerid": {
  36989. "description": "纳税人识别号",
  36990. "type": "string"
  36991. },
  36992. "userid": {
  36993. "description": "用户ID",
  36994. "type": "integer"
  36995. },
  36996. "username": {
  36997. "description": "户名(个人姓名或企业名称)",
  36998. "type": "string"
  36999. }
  37000. }
  37001. },
  37002. "models.XHBRAND": {
  37003. "type": "object",
  37004. "properties": {
  37005. "brandid": {
  37006. "description": "品牌id",
  37007. "type": "integer"
  37008. },
  37009. "brandname": {
  37010. "description": "品牌名称",
  37011. "type": "string"
  37012. },
  37013. "isvalid": {
  37014. "description": "是否有效 0-无效 1-有效",
  37015. "type": "integer"
  37016. }
  37017. }
  37018. },
  37019. "models.XHDeliveryGoods": {
  37020. "type": "object",
  37021. "properties": {
  37022. "areauserid": {
  37023. "description": "所属机构",
  37024. "type": "integer"
  37025. },
  37026. "bdlst": {
  37027. "description": "品牌列表",
  37028. "type": "array",
  37029. "items": {
  37030. "$ref": "#/definitions/models.XHBRAND"
  37031. }
  37032. },
  37033. "deliverygoodscode": {
  37034. "description": "现货品种代码",
  37035. "type": "string"
  37036. },
  37037. "deliverygoodsid": {
  37038. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37039. "type": "integer"
  37040. },
  37041. "deliverygoodsname": {
  37042. "description": "现货品种名称",
  37043. "type": "string"
  37044. },
  37045. "dgstatus": {
  37046. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37047. "type": "integer"
  37048. },
  37049. "isvalid": {
  37050. "description": "是否有效 - 0:无效 1:有效",
  37051. "type": "integer"
  37052. },
  37053. "remark": {
  37054. "description": "备注",
  37055. "type": "string"
  37056. },
  37057. "unitid": {
  37058. "description": "单位id(目前看,数据库中是空值)",
  37059. "type": "integer"
  37060. },
  37061. "wdlst": {
  37062. "description": "品类(现货商品)列表",
  37063. "type": "array",
  37064. "items": {
  37065. "$ref": "#/definitions/models.XHWrstandard"
  37066. }
  37067. }
  37068. }
  37069. },
  37070. "models.XHMiddleGoods": {
  37071. "type": "object",
  37072. "properties": {
  37073. "GPLST": {
  37074. "description": "期货品种列表",
  37075. "type": "array",
  37076. "items": {
  37077. "$ref": "#/definitions/models.TBGoodsGroup"
  37078. }
  37079. },
  37080. "convertratio": {
  37081. "description": "拆算系数",
  37082. "type": "number"
  37083. },
  37084. "costratio": {
  37085. "description": "成本权重",
  37086. "type": "number"
  37087. },
  37088. "deliverygoodsid": {
  37089. "description": "现货商品id",
  37090. "type": "integer"
  37091. },
  37092. "enumdicname": {
  37093. "description": "单位名称",
  37094. "type": "string"
  37095. },
  37096. "middlegoodscode": {
  37097. "description": "套保品种代码",
  37098. "type": "string"
  37099. },
  37100. "middlegoodsid": {
  37101. "description": "套保品种id",
  37102. "type": "integer"
  37103. },
  37104. "middlegoodsname": {
  37105. "description": "套保品种名称",
  37106. "type": "string"
  37107. },
  37108. "unitid": {
  37109. "description": "单位id",
  37110. "type": "integer"
  37111. }
  37112. }
  37113. },
  37114. "models.XHWrstandard": {
  37115. "type": "object",
  37116. "properties": {
  37117. "deliverygoodsid": {
  37118. "description": "品种ID",
  37119. "type": "integer"
  37120. },
  37121. "enumdicname": {
  37122. "description": "单位名称",
  37123. "type": "string"
  37124. },
  37125. "mglst": {
  37126. "description": "套保品列表",
  37127. "type": "array",
  37128. "items": {
  37129. "$ref": "#/definitions/models.XHMiddleGoods"
  37130. }
  37131. },
  37132. "unitid": {
  37133. "description": "单位id",
  37134. "type": "integer"
  37135. },
  37136. "vatrate": {
  37137. "description": "增值税率",
  37138. "type": "number"
  37139. },
  37140. "wrstandardcode": {
  37141. "description": "现货商品代码",
  37142. "type": "string"
  37143. },
  37144. "wrstandardid": {
  37145. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37146. "type": "integer"
  37147. },
  37148. "wrstandardname": {
  37149. "description": "现货商品名称",
  37150. "type": "string"
  37151. }
  37152. }
  37153. },
  37154. "order.QueryHisTradeDetailRsp": {
  37155. "type": "object",
  37156. "required": [
  37157. "accountid",
  37158. "buyorsell",
  37159. "goodsid",
  37160. "histradedate",
  37161. "marketid",
  37162. "memberuserid",
  37163. "orderid",
  37164. "tradeamount",
  37165. "tradedate",
  37166. "tradeid",
  37167. "tradeprice",
  37168. "tradeqty",
  37169. "tradetime"
  37170. ],
  37171. "properties": {
  37172. "accountid": {
  37173. "description": "账户ID[报价币种]",
  37174. "type": "integer"
  37175. },
  37176. "advanceratio": {
  37177. "description": "首付比率",
  37178. "type": "number"
  37179. },
  37180. "buildtype": {
  37181. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37182. "type": "integer"
  37183. },
  37184. "buyorsell": {
  37185. "description": "方向 - 0:买 1:卖",
  37186. "type": "integer"
  37187. },
  37188. "charge": {
  37189. "description": "手续费",
  37190. "type": "number"
  37191. },
  37192. "closecharge": {
  37193. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37194. "type": "number"
  37195. },
  37196. "closeexchagechargevalue": {
  37197. "description": "平仓交易所手续费设置值",
  37198. "type": "number"
  37199. },
  37200. "closefeealgorithm": {
  37201. "description": "平仓手续费收取方式 1:比率 2:固定",
  37202. "type": "integer"
  37203. },
  37204. "closememberchargevalue": {
  37205. "description": "平仓会员手续费设置值",
  37206. "type": "number"
  37207. },
  37208. "closepl": {
  37209. "description": "平仓盈亏",
  37210. "type": "number"
  37211. },
  37212. "closepl2": {
  37213. "description": "平仓盈亏[逐笔]",
  37214. "type": "number"
  37215. },
  37216. "closeqty": {
  37217. "description": "平仓数量(先建后平操作 需要记录)",
  37218. "type": "number"
  37219. },
  37220. "creditamount": {
  37221. "description": "授信金额",
  37222. "type": "number"
  37223. },
  37224. "decimalplace": {
  37225. "description": "商品报价小数位",
  37226. "type": "integer"
  37227. },
  37228. "enumdicname": {
  37229. "description": "单位名称",
  37230. "type": "string"
  37231. },
  37232. "gcaccountid": {
  37233. "description": "账户ID[合约币种]",
  37234. "type": "integer"
  37235. },
  37236. "goodscode": {
  37237. "description": "商品代码",
  37238. "type": "string"
  37239. },
  37240. "goodsid": {
  37241. "description": "商品ID",
  37242. "type": "integer"
  37243. },
  37244. "goodsname": {
  37245. "description": "商品名称",
  37246. "type": "string"
  37247. },
  37248. "goodunitid": {
  37249. "description": "商品单位id",
  37250. "type": "integer"
  37251. },
  37252. "histradedate": {
  37253. "description": "历史交易日",
  37254. "type": "string"
  37255. },
  37256. "intclosepl": {
  37257. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37258. "type": "integer"
  37259. },
  37260. "isconfirmexercise": {
  37261. "description": "是否确认行权- 0:否 1:是",
  37262. "type": "integer"
  37263. },
  37264. "ismain": {
  37265. "description": "是否主单 - 0:不是 1:是",
  37266. "type": "integer"
  37267. },
  37268. "ispreexercise": {
  37269. "description": "是否预申报- 0:否 1:是",
  37270. "type": "integer"
  37271. },
  37272. "isreckoned": {
  37273. "description": "是否结算 - 0:未结算 1:已结算",
  37274. "type": "integer"
  37275. },
  37276. "isvaliddata": {
  37277. "description": "是否有效 - 0:无效 1:有效",
  37278. "type": "integer"
  37279. },
  37280. "listingselecttype": {
  37281. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37282. "type": "integer"
  37283. },
  37284. "marketid": {
  37285. "description": "市场ID",
  37286. "type": "integer"
  37287. },
  37288. "marketname": {
  37289. "description": "市场名称",
  37290. "type": "string"
  37291. },
  37292. "matchaccountid": {
  37293. "description": "对手账号id",
  37294. "type": "integer"
  37295. },
  37296. "memberuserid": {
  37297. "description": "会员id 个人投资者 需要填写",
  37298. "type": "integer"
  37299. },
  37300. "opencharge": {
  37301. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37302. "type": "number"
  37303. },
  37304. "openexchagechargevalue": {
  37305. "description": "建仓交易所手续费设置值",
  37306. "type": "number"
  37307. },
  37308. "openfeealgorithm": {
  37309. "description": "建仓手续费收取方式 1:比率 2:固定",
  37310. "type": "integer"
  37311. },
  37312. "openmemberchargevalue": {
  37313. "description": "建仓会员手续费设置值",
  37314. "type": "number"
  37315. },
  37316. "openqty": {
  37317. "description": "开仓数量(先建后平操作 需要记录)",
  37318. "type": "number"
  37319. },
  37320. "optiontype": {
  37321. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37322. "type": "integer"
  37323. },
  37324. "orderid": {
  37325. "description": "委托单号",
  37326. "type": "string"
  37327. },
  37328. "payamount": {
  37329. "description": "支付金额(付款金额)",
  37330. "type": "number"
  37331. },
  37332. "performanceplanid": {
  37333. "description": "履约计划ID[期权]",
  37334. "type": "integer"
  37335. },
  37336. "performancestatus": {
  37337. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37338. "type": "integer"
  37339. },
  37340. "preexerciseprice": {
  37341. "description": "预申报价格",
  37342. "type": "number"
  37343. },
  37344. "premium": {
  37345. "description": "权利金 - [持仓单的权利金]",
  37346. "type": "number"
  37347. },
  37348. "qtydecimalplace": {
  37349. "description": "商品报价小数位",
  37350. "type": "integer"
  37351. },
  37352. "recvamount": {
  37353. "description": "到账金额 = 成交金额 - 手续费",
  37354. "type": "number"
  37355. },
  37356. "relatedouttradeid": {
  37357. "description": "关联外部成交单ID",
  37358. "type": "integer"
  37359. },
  37360. "status": {
  37361. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37362. "type": "integer"
  37363. },
  37364. "totalamount": {
  37365. "description": "订单总额 = 成交金额 + 手续费",
  37366. "type": "number"
  37367. },
  37368. "tradeamount": {
  37369. "description": "成交金额[账户币种,用于所有权]",
  37370. "type": "number"
  37371. },
  37372. "tradedate": {
  37373. "description": "交易日(yyyyMMdd)",
  37374. "type": "string"
  37375. },
  37376. "tradeid": {
  37377. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37378. "type": "string"
  37379. },
  37380. "trademode": {
  37381. "description": "交易模式",
  37382. "type": "integer"
  37383. },
  37384. "tradeprice": {
  37385. "description": "成交价格",
  37386. "type": "number"
  37387. },
  37388. "tradeproperty": {
  37389. "description": "交易属性",
  37390. "type": "integer"
  37391. },
  37392. "tradeqty": {
  37393. "description": "成交数量",
  37394. "type": "number"
  37395. },
  37396. "tradetime": {
  37397. "description": "成交时间",
  37398. "type": "string"
  37399. },
  37400. "tradetype": {
  37401. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37402. "type": "integer"
  37403. }
  37404. }
  37405. },
  37406. "order.QueryHisTradeOrderDetailRsp": {
  37407. "type": "object",
  37408. "required": [
  37409. "accountid",
  37410. "buildtype",
  37411. "buyorsell",
  37412. "goodsid",
  37413. "histradedate",
  37414. "marketid",
  37415. "memberuserid",
  37416. "operatetype",
  37417. "orderid",
  37418. "orderqty",
  37419. "ordertime",
  37420. "pricemode",
  37421. "tradedate",
  37422. "validtype"
  37423. ],
  37424. "properties": {
  37425. "accountid": {
  37426. "description": "账户ID[报价币种]",
  37427. "type": "integer"
  37428. },
  37429. "buildtype": {
  37430. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37431. "type": "integer"
  37432. },
  37433. "buyorsell": {
  37434. "description": "买卖 - 0:买 1:卖",
  37435. "type": "integer"
  37436. },
  37437. "cancelorderid": {
  37438. "description": "撤单单号(撤单时填写)",
  37439. "type": "string"
  37440. },
  37441. "cancelqty": {
  37442. "description": "撤单数量",
  37443. "type": "number"
  37444. },
  37445. "clientordertime": {
  37446. "description": "客户端委托时间",
  37447. "type": "string"
  37448. },
  37449. "clientticket": {
  37450. "description": "客户端流水号",
  37451. "type": "string"
  37452. },
  37453. "clienttype": {
  37454. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37455. "type": "integer"
  37456. },
  37457. "closeexchagechargevalue": {
  37458. "description": "平仓交易所手续费设置值",
  37459. "type": "number"
  37460. },
  37461. "closefeealgorithm": {
  37462. "description": "平仓手续费收取方式 1:比率 2:固定",
  37463. "type": "integer"
  37464. },
  37465. "closefreezecharge": {
  37466. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37467. "type": "number"
  37468. },
  37469. "closememberchargevalue": {
  37470. "description": "平仓会员手续费设置值",
  37471. "type": "number"
  37472. },
  37473. "closeqty": {
  37474. "description": "平仓数量(先建后平操作 需要记录)",
  37475. "type": "number"
  37476. },
  37477. "closetradeqty": {
  37478. "description": "平仓成交数量(先建后平操作,需要记录)",
  37479. "type": "number"
  37480. },
  37481. "closeunfreezecharge": {
  37482. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37483. "type": "number"
  37484. },
  37485. "decimalplace": {
  37486. "description": "商品报价小数位",
  37487. "type": "integer"
  37488. },
  37489. "delistingtype": {
  37490. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37491. "type": "integer"
  37492. },
  37493. "enumdicname": {
  37494. "description": "单位名称",
  37495. "type": "string"
  37496. },
  37497. "freezecharge": {
  37498. "description": "冻结手续费",
  37499. "type": "number"
  37500. },
  37501. "freezemargin": {
  37502. "description": "冻结保证金(冻结交易金额)",
  37503. "type": "number"
  37504. },
  37505. "gcaccountid": {
  37506. "description": "账户ID[合约币种]",
  37507. "type": "integer"
  37508. },
  37509. "goodscode": {
  37510. "description": "商品代码",
  37511. "type": "string"
  37512. },
  37513. "goodsid": {
  37514. "description": "商品ID",
  37515. "type": "integer"
  37516. },
  37517. "goodsname": {
  37518. "description": "商品名称",
  37519. "type": "string"
  37520. },
  37521. "goodunitid": {
  37522. "description": "商品单位id",
  37523. "type": "integer"
  37524. },
  37525. "histradedate": {
  37526. "description": "历史交易日",
  37527. "type": "string"
  37528. },
  37529. "isconfirmexercise": {
  37530. "description": "是否确认行权- 0:否 1:是",
  37531. "type": "integer"
  37532. },
  37533. "ispreexercise": {
  37534. "description": "是否预申报- 0:否 1:是",
  37535. "type": "integer"
  37536. },
  37537. "isvaliddata": {
  37538. "description": "是否有效 - 0:无效 1:有效",
  37539. "type": "integer"
  37540. },
  37541. "listingselecttype": {
  37542. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37543. "type": "integer"
  37544. },
  37545. "marginalgorithm": {
  37546. "description": "保证金收取方式 1:比率 2:固定",
  37547. "type": "integer"
  37548. },
  37549. "marginvalue": {
  37550. "description": "即市保证金设置值",
  37551. "type": "number"
  37552. },
  37553. "marketid": {
  37554. "description": "市场ID",
  37555. "type": "integer"
  37556. },
  37557. "marketmaxsub": {
  37558. "description": "市价最大偏移范围",
  37559. "type": "number"
  37560. },
  37561. "marketname": {
  37562. "description": "市场名称",
  37563. "type": "string"
  37564. },
  37565. "memberuserid": {
  37566. "description": "所属会员UserID",
  37567. "type": "integer"
  37568. },
  37569. "openexchagechargevalue": {
  37570. "description": "建仓交易所手续费设置值",
  37571. "type": "number"
  37572. },
  37573. "openfeealgorithm": {
  37574. "description": "建仓手续费收取方式 1:比率 2:固定",
  37575. "type": "integer"
  37576. },
  37577. "openfreezecharge": {
  37578. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37579. "type": "number"
  37580. },
  37581. "openmemberchargevalue": {
  37582. "description": "建仓会员手续费设置值",
  37583. "type": "number"
  37584. },
  37585. "openqty": {
  37586. "description": "开仓数量(先建后平操作,需要记录)",
  37587. "type": "number"
  37588. },
  37589. "opentradeqty": {
  37590. "description": "开仓成交数量(先建后平操作,需要记录)",
  37591. "type": "number"
  37592. },
  37593. "openunfreezecharge": {
  37594. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37595. "type": "number"
  37596. },
  37597. "operatetype": {
  37598. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37599. "type": "integer"
  37600. },
  37601. "operatorid": {
  37602. "description": "登录账号(LoginID)",
  37603. "type": "integer"
  37604. },
  37605. "optiontype": {
  37606. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37607. "type": "integer"
  37608. },
  37609. "orderid": {
  37610. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37611. "type": "string"
  37612. },
  37613. "orderprice": {
  37614. "description": "委托价格",
  37615. "type": "number"
  37616. },
  37617. "orderqty": {
  37618. "description": "委托数量",
  37619. "type": "number"
  37620. },
  37621. "ordersrc": {
  37622. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37623. "type": "integer"
  37624. },
  37625. "orderstatus": {
  37626. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37627. "type": "integer"
  37628. },
  37629. "ordertime": {
  37630. "description": "委托时间",
  37631. "type": "string"
  37632. },
  37633. "preexerciseprice": {
  37634. "description": "预申报价格",
  37635. "type": "number"
  37636. },
  37637. "premium": {
  37638. "description": "权利金",
  37639. "type": "number"
  37640. },
  37641. "preorderid": {
  37642. "description": "关联预埋单号(止盈止损单时填写)",
  37643. "type": "string"
  37644. },
  37645. "pricemode": {
  37646. "description": "取价方式 - 1:市价 2: 限价",
  37647. "type": "integer"
  37648. },
  37649. "qtydecimalplace": {
  37650. "description": "成交量小数位",
  37651. "type": "integer"
  37652. },
  37653. "quoteid": {
  37654. "description": "报价单ID",
  37655. "type": "integer"
  37656. },
  37657. "relatedid": {
  37658. "description": "关联单号(交割单)",
  37659. "type": "string"
  37660. },
  37661. "retcode": {
  37662. "description": "错误代码",
  37663. "type": "integer"
  37664. },
  37665. "sessionid": {
  37666. "description": "会话ID",
  37667. "type": "integer"
  37668. },
  37669. "tradedate": {
  37670. "description": "交易日(yyyyMMdd)",
  37671. "type": "string"
  37672. },
  37673. "trademode": {
  37674. "description": "交易模式",
  37675. "type": "integer"
  37676. },
  37677. "tradeproperty": {
  37678. "description": "交易属性",
  37679. "type": "integer"
  37680. },
  37681. "tradeqty": {
  37682. "description": "成交数量",
  37683. "type": "number"
  37684. },
  37685. "unfreezecharge": {
  37686. "description": "解冻手续费",
  37687. "type": "number"
  37688. },
  37689. "unfreezemargin": {
  37690. "description": "解冻保证金",
  37691. "type": "number"
  37692. },
  37693. "updatetime": {
  37694. "description": "更新时间",
  37695. "type": "string"
  37696. },
  37697. "uuid": {
  37698. "description": "发起端唯一id",
  37699. "type": "string"
  37700. },
  37701. "validtime": {
  37702. "description": "有效期限",
  37703. "type": "string"
  37704. },
  37705. "validtype": {
  37706. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37707. "type": "integer"
  37708. },
  37709. "volumetype": {
  37710. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37711. "type": "integer"
  37712. }
  37713. }
  37714. },
  37715. "order.QueryTradeDetailRsp": {
  37716. "type": "object",
  37717. "required": [
  37718. "accountid",
  37719. "buyorsell",
  37720. "goodsid",
  37721. "marketid",
  37722. "memberuserid",
  37723. "orderid",
  37724. "tradeamount",
  37725. "tradedate",
  37726. "tradeid",
  37727. "tradeprice",
  37728. "tradeqty",
  37729. "tradetime"
  37730. ],
  37731. "properties": {
  37732. "accountid": {
  37733. "description": "账户ID[报价币种]",
  37734. "type": "integer"
  37735. },
  37736. "advanceratio": {
  37737. "description": "首付比率",
  37738. "type": "number"
  37739. },
  37740. "buildtype": {
  37741. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37742. "type": "integer"
  37743. },
  37744. "buyorsell": {
  37745. "description": "方向 - 0:买 1:卖",
  37746. "type": "integer"
  37747. },
  37748. "charge": {
  37749. "description": "手续费",
  37750. "type": "number"
  37751. },
  37752. "closecharge": {
  37753. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37754. "type": "number"
  37755. },
  37756. "closeexchagechargevalue": {
  37757. "description": "平仓交易所手续费设置值",
  37758. "type": "number"
  37759. },
  37760. "closefeealgorithm": {
  37761. "description": "平仓手续费收取方式 1:比率 2:固定",
  37762. "type": "integer"
  37763. },
  37764. "closememberchargevalue": {
  37765. "description": "平仓会员手续费设置值",
  37766. "type": "number"
  37767. },
  37768. "closepl": {
  37769. "description": "平仓盈亏",
  37770. "type": "number"
  37771. },
  37772. "closepl2": {
  37773. "description": "平仓盈亏[逐笔]",
  37774. "type": "number"
  37775. },
  37776. "closeqty": {
  37777. "description": "平仓数量(先建后平操作 需要记录)",
  37778. "type": "number"
  37779. },
  37780. "creditamount": {
  37781. "description": "授信金额",
  37782. "type": "number"
  37783. },
  37784. "decimalplace": {
  37785. "description": "商品报价小数位",
  37786. "type": "integer"
  37787. },
  37788. "enumdicname": {
  37789. "description": "单位名称",
  37790. "type": "string"
  37791. },
  37792. "gcaccountid": {
  37793. "description": "账户ID[合约币种]",
  37794. "type": "integer"
  37795. },
  37796. "goodscode": {
  37797. "description": "商品代码",
  37798. "type": "string"
  37799. },
  37800. "goodsid": {
  37801. "description": "商品ID",
  37802. "type": "integer"
  37803. },
  37804. "goodsname": {
  37805. "description": "商品名称",
  37806. "type": "string"
  37807. },
  37808. "goodunitid": {
  37809. "description": "商品单位id",
  37810. "type": "integer"
  37811. },
  37812. "intclosepl": {
  37813. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37814. "type": "integer"
  37815. },
  37816. "isconfirmexercise": {
  37817. "description": "是否确认行权- 0:否 1:是",
  37818. "type": "integer"
  37819. },
  37820. "ismain": {
  37821. "description": "是否主单 - 0:不是 1:是",
  37822. "type": "integer"
  37823. },
  37824. "ispreexercise": {
  37825. "description": "是否预申报- 0:否 1:是",
  37826. "type": "integer"
  37827. },
  37828. "isreckoned": {
  37829. "description": "是否结算 - 0:未结算 1:已结算",
  37830. "type": "integer"
  37831. },
  37832. "listingselecttype": {
  37833. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37834. "type": "integer"
  37835. },
  37836. "marketid": {
  37837. "description": "市场ID",
  37838. "type": "integer"
  37839. },
  37840. "marketname": {
  37841. "description": "市场名称",
  37842. "type": "string"
  37843. },
  37844. "matchaccountid": {
  37845. "description": "对手账号id",
  37846. "type": "integer"
  37847. },
  37848. "memberuserid": {
  37849. "description": "会员id 个人投资者 需要填写",
  37850. "type": "integer"
  37851. },
  37852. "opencharge": {
  37853. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37854. "type": "number"
  37855. },
  37856. "openexchagechargevalue": {
  37857. "description": "建仓交易所手续费设置值",
  37858. "type": "number"
  37859. },
  37860. "openfeealgorithm": {
  37861. "description": "建仓手续费收取方式 1:比率 2:固定",
  37862. "type": "integer"
  37863. },
  37864. "openmemberchargevalue": {
  37865. "description": "建仓会员手续费设置值",
  37866. "type": "number"
  37867. },
  37868. "openqty": {
  37869. "description": "开仓数量(先建后平操作 需要记录)",
  37870. "type": "number"
  37871. },
  37872. "optiontype": {
  37873. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37874. "type": "integer"
  37875. },
  37876. "orderid": {
  37877. "description": "委托单号",
  37878. "type": "string"
  37879. },
  37880. "payamount": {
  37881. "description": "支付金额(付款金额)",
  37882. "type": "number"
  37883. },
  37884. "performanceplanid": {
  37885. "description": "履约计划ID[期权]",
  37886. "type": "integer"
  37887. },
  37888. "performancestatus": {
  37889. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37890. "type": "integer"
  37891. },
  37892. "preexerciseprice": {
  37893. "description": "预申报价格",
  37894. "type": "number"
  37895. },
  37896. "premium": {
  37897. "description": "权利金 - [持仓单的权利金]",
  37898. "type": "number"
  37899. },
  37900. "qtydecimalplace": {
  37901. "description": "商品报价小数位",
  37902. "type": "integer"
  37903. },
  37904. "recvamount": {
  37905. "description": "到账金额 = 成交金额 - 手续费",
  37906. "type": "number"
  37907. },
  37908. "relatedouttradeid": {
  37909. "description": "关联外部成交单ID",
  37910. "type": "integer"
  37911. },
  37912. "status": {
  37913. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37914. "type": "integer"
  37915. },
  37916. "totalamount": {
  37917. "description": "订单总额 = 成交金额 + 手续费",
  37918. "type": "number"
  37919. },
  37920. "tradeamount": {
  37921. "description": "成交金额[账户币种,用于所有权]",
  37922. "type": "number"
  37923. },
  37924. "tradedate": {
  37925. "description": "交易日(yyyyMMdd)",
  37926. "type": "string"
  37927. },
  37928. "tradeid": {
  37929. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37930. "type": "string"
  37931. },
  37932. "trademode": {
  37933. "description": "交易模式",
  37934. "type": "integer"
  37935. },
  37936. "tradeprice": {
  37937. "description": "成交价格",
  37938. "type": "number"
  37939. },
  37940. "tradeproperty": {
  37941. "description": "交易属性",
  37942. "type": "integer"
  37943. },
  37944. "tradeqty": {
  37945. "description": "成交数量",
  37946. "type": "number"
  37947. },
  37948. "tradetime": {
  37949. "description": "成交时间",
  37950. "type": "string"
  37951. },
  37952. "tradetype": {
  37953. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37954. "type": "integer"
  37955. }
  37956. }
  37957. },
  37958. "order.QueryTradeOrderDetailRsp": {
  37959. "type": "object",
  37960. "required": [
  37961. "accountid",
  37962. "buildtype",
  37963. "buyorsell",
  37964. "goodsid",
  37965. "marketid",
  37966. "operatetype",
  37967. "orderqty",
  37968. "ordertime",
  37969. "pricemode",
  37970. "tradedate",
  37971. "validtype"
  37972. ],
  37973. "properties": {
  37974. "accountid": {
  37975. "description": "账户ID[报价币种]",
  37976. "type": "integer"
  37977. },
  37978. "buildtype": {
  37979. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37980. "type": "integer"
  37981. },
  37982. "buyorsell": {
  37983. "description": "买卖 - 0:买 1:卖",
  37984. "type": "integer"
  37985. },
  37986. "cancelorderid": {
  37987. "description": "撤单单号(撤单时填写)",
  37988. "type": "string"
  37989. },
  37990. "cancelqty": {
  37991. "description": "撤单数量",
  37992. "type": "number"
  37993. },
  37994. "clienttype": {
  37995. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37996. "type": "integer"
  37997. },
  37998. "closefreezecharge": {
  37999. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38000. "type": "number"
  38001. },
  38002. "closeqty": {
  38003. "description": "平仓数量(先建后平操作 需要记录)",
  38004. "type": "number"
  38005. },
  38006. "closetradeqty": {
  38007. "description": "平仓成交数量(先建后平操作,需要记录)",
  38008. "type": "number"
  38009. },
  38010. "closeunfreezecharge": {
  38011. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38012. "type": "number"
  38013. },
  38014. "decimalplace": {
  38015. "description": "商品报价小数位",
  38016. "type": "integer"
  38017. },
  38018. "delistingtype": {
  38019. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38020. "type": "integer"
  38021. },
  38022. "enableqty": {
  38023. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38024. "type": "number"
  38025. },
  38026. "enumdicname": {
  38027. "description": "单位名称",
  38028. "type": "string"
  38029. },
  38030. "freezecharge": {
  38031. "description": "冻结手续费",
  38032. "type": "number"
  38033. },
  38034. "freezemargin": {
  38035. "description": "冻结保证金(冻结交易金额)",
  38036. "type": "number"
  38037. },
  38038. "goodscode": {
  38039. "description": "商品代码",
  38040. "type": "string"
  38041. },
  38042. "goodsid": {
  38043. "description": "商品ID",
  38044. "type": "integer"
  38045. },
  38046. "goodsname": {
  38047. "description": "商品名称",
  38048. "type": "string"
  38049. },
  38050. "goodunitid": {
  38051. "description": "商品单位id",
  38052. "type": "integer"
  38053. },
  38054. "listingselecttype": {
  38055. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38056. "type": "integer"
  38057. },
  38058. "marketid": {
  38059. "description": "市场ID",
  38060. "type": "integer"
  38061. },
  38062. "marketname": {
  38063. "description": "市场名称",
  38064. "type": "string"
  38065. },
  38066. "openfreezecharge": {
  38067. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38068. "type": "number"
  38069. },
  38070. "openqty": {
  38071. "description": "开仓数量(先建后平操作,需要记录)",
  38072. "type": "number"
  38073. },
  38074. "opentradeqty": {
  38075. "description": "开仓成交数量(先建后平操作,需要记录)",
  38076. "type": "number"
  38077. },
  38078. "openunfreezecharge": {
  38079. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38080. "type": "number"
  38081. },
  38082. "operatetype": {
  38083. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38084. "type": "integer"
  38085. },
  38086. "operatorid": {
  38087. "description": "登录账号(LoginID)",
  38088. "type": "integer"
  38089. },
  38090. "orderid": {
  38091. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38092. "type": "string"
  38093. },
  38094. "orderprice": {
  38095. "description": "委托价格",
  38096. "type": "number"
  38097. },
  38098. "orderqty": {
  38099. "description": "委托数量",
  38100. "type": "number"
  38101. },
  38102. "ordersrc": {
  38103. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38104. "type": "integer"
  38105. },
  38106. "orderstatus": {
  38107. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38108. "type": "integer"
  38109. },
  38110. "ordertime": {
  38111. "description": "委托时间",
  38112. "type": "string"
  38113. },
  38114. "preorderid": {
  38115. "description": "关联预埋单号(止盈止损单时填写)",
  38116. "type": "string"
  38117. },
  38118. "pricemode": {
  38119. "description": "取价方式 - 1:市价 2: 限价",
  38120. "type": "integer"
  38121. },
  38122. "qtydecimalplace": {
  38123. "description": "商品报价小数位",
  38124. "type": "integer"
  38125. },
  38126. "relatedid": {
  38127. "description": "关联单号(交割单)",
  38128. "type": "string"
  38129. },
  38130. "tradedate": {
  38131. "description": "交易日(yyyyMMdd)",
  38132. "type": "string"
  38133. },
  38134. "trademode": {
  38135. "description": "交易模式",
  38136. "type": "integer"
  38137. },
  38138. "tradeqty": {
  38139. "description": "成交数量",
  38140. "type": "number"
  38141. },
  38142. "unfreezecharge": {
  38143. "description": "解冻手续费",
  38144. "type": "number"
  38145. },
  38146. "unfreezemargin": {
  38147. "description": "解冻保证金",
  38148. "type": "number"
  38149. },
  38150. "validtime": {
  38151. "description": "有效期限",
  38152. "type": "string"
  38153. },
  38154. "validtype": {
  38155. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38156. "type": "integer"
  38157. },
  38158. "volumetype": {
  38159. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38160. "type": "integer"
  38161. }
  38162. }
  38163. },
  38164. "order.QueryTradePositionRsp": {
  38165. "type": "object",
  38166. "required": [
  38167. "goodsid"
  38168. ],
  38169. "properties": {
  38170. "accountid": {
  38171. "description": "资金账户",
  38172. "type": "integer"
  38173. },
  38174. "agreeunit": {
  38175. "description": "合约单位",
  38176. "type": "number"
  38177. },
  38178. "averageprice": {
  38179. "description": "持仓均价",
  38180. "type": "number"
  38181. },
  38182. "buyorsell": {
  38183. "description": "方向 - 0:买 1:卖",
  38184. "type": "integer"
  38185. },
  38186. "closetotalqty": {
  38187. "description": "平仓总数量",
  38188. "type": "number"
  38189. },
  38190. "curholderamount": {
  38191. "description": "当前持仓总金额[商品币种]",
  38192. "type": "number"
  38193. },
  38194. "curpositionqty": {
  38195. "description": "当前持仓总数量",
  38196. "type": "number"
  38197. },
  38198. "currencyid": {
  38199. "description": "报价货币ID",
  38200. "type": "integer"
  38201. },
  38202. "curtdposition": {
  38203. "description": "期末今日头寸",
  38204. "type": "number"
  38205. },
  38206. "decimalplace": {
  38207. "description": "报价小数位",
  38208. "type": "integer"
  38209. },
  38210. "enableqty": {
  38211. "description": "可用量",
  38212. "type": "number"
  38213. },
  38214. "fretdposition": {
  38215. "description": "冻结今日头寸",
  38216. "type": "number"
  38217. },
  38218. "frozenqty": {
  38219. "description": "持仓冻结数量",
  38220. "type": "number"
  38221. },
  38222. "goodscode": {
  38223. "description": "商品代码",
  38224. "type": "string"
  38225. },
  38226. "goodsid": {
  38227. "description": "商品Id",
  38228. "type": "integer"
  38229. },
  38230. "goodsname": {
  38231. "description": "商品名称",
  38232. "type": "string"
  38233. },
  38234. "goodunit": {
  38235. "description": "报价单位",
  38236. "type": "string"
  38237. },
  38238. "goodunitid": {
  38239. "description": "报价单位ID",
  38240. "type": "integer"
  38241. },
  38242. "holderamount": {
  38243. "description": "期初持仓总金额[商品币种]",
  38244. "type": "number"
  38245. },
  38246. "lastprice": {
  38247. "description": "最新价",
  38248. "type": "number"
  38249. },
  38250. "marketamount": {
  38251. "description": "市值",
  38252. "type": "number"
  38253. },
  38254. "marketid": {
  38255. "description": "所属市场ID",
  38256. "type": "integer"
  38257. },
  38258. "openreqqty": {
  38259. "description": "开仓申请数量(用于比较最大持仓数量)",
  38260. "type": "number"
  38261. },
  38262. "opentotalqty": {
  38263. "description": "开仓总数量",
  38264. "type": "number"
  38265. },
  38266. "otherfrozenqty": {
  38267. "description": "持仓其他冻结数量(交割冻结)",
  38268. "type": "number"
  38269. },
  38270. "positionpl": {
  38271. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38272. "type": "number"
  38273. },
  38274. "positionplrate": {
  38275. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38276. "type": "number"
  38277. },
  38278. "positionqty": {
  38279. "description": "期初持仓数量",
  38280. "type": "number"
  38281. },
  38282. "qtydecimalplace": {
  38283. "description": "成交量小数位",
  38284. "type": "integer"
  38285. },
  38286. "refgoodscode": {
  38287. "description": "参考商品代码",
  38288. "type": "string"
  38289. },
  38290. "refgoodsid": {
  38291. "description": "参考商品ID",
  38292. "type": "integer"
  38293. },
  38294. "tnqty": {
  38295. "description": "T+N冻结总量",
  38296. "type": "number"
  38297. },
  38298. "tnusedqty": {
  38299. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38300. "type": "number"
  38301. },
  38302. "trademode": {
  38303. "description": "交易模式",
  38304. "type": "integer"
  38305. },
  38306. "tradeproperty": {
  38307. "description": "交易属性",
  38308. "type": "integer"
  38309. },
  38310. "usedmargin": {
  38311. "description": "占用保证金[商品币种]",
  38312. "type": "number"
  38313. }
  38314. }
  38315. },
  38316. "pb.GoodsMarginCfgStruct": {
  38317. "type": "object",
  38318. "properties": {
  38319. "CustomerTypeID": {
  38320. "description": "投资者客户类型",
  38321. "type": "integer"
  38322. },
  38323. "GoodsID": {
  38324. "description": "商品ID",
  38325. "type": "integer"
  38326. },
  38327. "IsDefault": {
  38328. "description": "是否默认标志位",
  38329. "type": "integer"
  38330. },
  38331. "LockMarginValue": {
  38332. "description": "锁仓保证金",
  38333. "type": "number"
  38334. },
  38335. "MarginAlgorithm": {
  38336. "description": "保证金计算方式",
  38337. "type": "integer"
  38338. },
  38339. "MarketMarginValue": {
  38340. "description": "即市保证金值",
  38341. "type": "number"
  38342. },
  38343. "RealMarginAlgorithm": {
  38344. "description": "实付保证金计算方式",
  38345. "type": "integer"
  38346. },
  38347. "RealMarginValue": {
  38348. "description": "实付比例",
  38349. "type": "number"
  38350. },
  38351. "ReckonMarginValue": {
  38352. "description": "结算保证金值",
  38353. "type": "number"
  38354. }
  38355. }
  38356. },
  38357. "quote.HistoryData": {
  38358. "type": "object",
  38359. "properties": {
  38360. "c": {
  38361. "description": "收盘价",
  38362. "type": "number"
  38363. },
  38364. "f": {
  38365. "description": "是否补充数据",
  38366. "type": "boolean"
  38367. },
  38368. "h": {
  38369. "description": "最高价",
  38370. "type": "number"
  38371. },
  38372. "hv": {
  38373. "description": "持仓量",
  38374. "type": "integer"
  38375. },
  38376. "l": {
  38377. "description": "最低价",
  38378. "type": "number"
  38379. },
  38380. "o": {
  38381. "description": "开盘价",
  38382. "type": "number"
  38383. },
  38384. "s": {
  38385. "description": "结算价,日线周期(包括)以上才有",
  38386. "type": "number"
  38387. },
  38388. "ts": {
  38389. "description": "时间",
  38390. "type": "string"
  38391. },
  38392. "tt": {
  38393. "description": "总金额",
  38394. "type": "number"
  38395. },
  38396. "tv": {
  38397. "description": "总量(成交量)",
  38398. "type": "integer"
  38399. }
  38400. }
  38401. },
  38402. "quote.HistoryTikData": {
  38403. "type": "object",
  38404. "properties": {
  38405. "AV": {
  38406. "description": "卖量",
  38407. "type": "integer"
  38408. },
  38409. "Ask": {
  38410. "description": "卖价",
  38411. "type": "number"
  38412. },
  38413. "BV": {
  38414. "description": "买量",
  38415. "type": "integer"
  38416. },
  38417. "Bid": {
  38418. "description": "买价",
  38419. "type": "number"
  38420. },
  38421. "HI": {
  38422. "description": "单笔持仓",
  38423. "type": "integer"
  38424. },
  38425. "HV": {
  38426. "description": "持仓量",
  38427. "type": "integer"
  38428. },
  38429. "PE": {
  38430. "description": "现价",
  38431. "type": "number"
  38432. },
  38433. "TDR": {
  38434. "description": "交易方向,0:买 1:卖",
  38435. "type": "integer"
  38436. },
  38437. "TK": {
  38438. "description": "交易类型",
  38439. "type": "integer"
  38440. },
  38441. "TS": {
  38442. "description": "行情时间文本",
  38443. "type": "string"
  38444. },
  38445. "TT": {
  38446. "description": "现金额",
  38447. "type": "number"
  38448. },
  38449. "Vol": {
  38450. "description": "现量",
  38451. "type": "integer"
  38452. }
  38453. }
  38454. },
  38455. "quote.QueryQuoteDayRsp": {
  38456. "type": "object",
  38457. "properties": {
  38458. "ask": {
  38459. "description": "卖1",
  38460. "type": "number"
  38461. },
  38462. "ask10": {
  38463. "description": "卖10",
  38464. "type": "number"
  38465. },
  38466. "ask2": {
  38467. "description": "卖2",
  38468. "type": "number"
  38469. },
  38470. "ask3": {
  38471. "description": "卖3",
  38472. "type": "number"
  38473. },
  38474. "ask4": {
  38475. "description": "卖4",
  38476. "type": "number"
  38477. },
  38478. "ask5": {
  38479. "description": "卖5",
  38480. "type": "number"
  38481. },
  38482. "ask6": {
  38483. "description": "卖6",
  38484. "type": "number"
  38485. },
  38486. "ask7": {
  38487. "description": "卖7",
  38488. "type": "number"
  38489. },
  38490. "ask8": {
  38491. "description": "卖8",
  38492. "type": "number"
  38493. },
  38494. "ask9": {
  38495. "description": "卖9",
  38496. "type": "number"
  38497. },
  38498. "askorderid": {
  38499. "description": "卖单号1",
  38500. "type": "integer"
  38501. },
  38502. "askorderid2": {
  38503. "description": "卖单号2",
  38504. "type": "integer"
  38505. },
  38506. "askorderid3": {
  38507. "description": "卖单号3",
  38508. "type": "integer"
  38509. },
  38510. "askorderid4": {
  38511. "description": "卖单号4",
  38512. "type": "integer"
  38513. },
  38514. "askorderid5": {
  38515. "description": "卖单号5",
  38516. "type": "integer"
  38517. },
  38518. "askordervolume": {
  38519. "description": "卖单量1",
  38520. "type": "integer"
  38521. },
  38522. "askordervolume10": {
  38523. "description": "卖单量10",
  38524. "type": "integer"
  38525. },
  38526. "askordervolume2": {
  38527. "description": "卖单量2",
  38528. "type": "integer"
  38529. },
  38530. "askordervolume3": {
  38531. "description": "卖单量3",
  38532. "type": "integer"
  38533. },
  38534. "askordervolume4": {
  38535. "description": "卖单量4",
  38536. "type": "integer"
  38537. },
  38538. "askordervolume5": {
  38539. "description": "卖单量5",
  38540. "type": "integer"
  38541. },
  38542. "askordervolume6": {
  38543. "description": "卖单量6",
  38544. "type": "integer"
  38545. },
  38546. "askordervolume7": {
  38547. "description": "卖单量7",
  38548. "type": "integer"
  38549. },
  38550. "askordervolume8": {
  38551. "description": "卖单量8",
  38552. "type": "integer"
  38553. },
  38554. "askordervolume9": {
  38555. "description": "卖单量9",
  38556. "type": "integer"
  38557. },
  38558. "askqueueinfo": {
  38559. "description": "大利市卖港股用",
  38560. "type": "string"
  38561. },
  38562. "askvolume": {
  38563. "description": "卖量1",
  38564. "type": "integer"
  38565. },
  38566. "askvolume10": {
  38567. "description": "卖量10",
  38568. "type": "integer"
  38569. },
  38570. "askvolume2": {
  38571. "description": "卖量2",
  38572. "type": "integer"
  38573. },
  38574. "askvolume3": {
  38575. "description": "卖量3",
  38576. "type": "integer"
  38577. },
  38578. "askvolume4": {
  38579. "description": "卖量4",
  38580. "type": "integer"
  38581. },
  38582. "askvolume5": {
  38583. "description": "卖量5",
  38584. "type": "integer"
  38585. },
  38586. "askvolume6": {
  38587. "description": "卖量6",
  38588. "type": "integer"
  38589. },
  38590. "askvolume7": {
  38591. "description": "卖量7",
  38592. "type": "integer"
  38593. },
  38594. "askvolume8": {
  38595. "description": "卖量8",
  38596. "type": "integer"
  38597. },
  38598. "askvolume9": {
  38599. "description": "卖量9",
  38600. "type": "integer"
  38601. },
  38602. "averageprice": {
  38603. "description": "均价",
  38604. "type": "number"
  38605. },
  38606. "bid": {
  38607. "description": "买1",
  38608. "type": "number"
  38609. },
  38610. "bid10": {
  38611. "description": "买10",
  38612. "type": "number"
  38613. },
  38614. "bid2": {
  38615. "description": "买2",
  38616. "type": "number"
  38617. },
  38618. "bid3": {
  38619. "description": "买3",
  38620. "type": "number"
  38621. },
  38622. "bid4": {
  38623. "description": "买4",
  38624. "type": "number"
  38625. },
  38626. "bid5": {
  38627. "description": "买5",
  38628. "type": "number"
  38629. },
  38630. "bid6": {
  38631. "description": "买6",
  38632. "type": "number"
  38633. },
  38634. "bid7": {
  38635. "description": "买7",
  38636. "type": "number"
  38637. },
  38638. "bid8": {
  38639. "description": "买8",
  38640. "type": "number"
  38641. },
  38642. "bid9": {
  38643. "description": "买9",
  38644. "type": "number"
  38645. },
  38646. "bidorderid": {
  38647. "description": "买单号1",
  38648. "type": "integer"
  38649. },
  38650. "bidorderid2": {
  38651. "description": "买单号2",
  38652. "type": "integer"
  38653. },
  38654. "bidorderid3": {
  38655. "description": "买单号3",
  38656. "type": "integer"
  38657. },
  38658. "bidorderid4": {
  38659. "description": "买单号4",
  38660. "type": "integer"
  38661. },
  38662. "bidorderid5": {
  38663. "description": "买单号5",
  38664. "type": "integer"
  38665. },
  38666. "bidordervolume": {
  38667. "description": "买单量1",
  38668. "type": "integer"
  38669. },
  38670. "bidordervolume10": {
  38671. "description": "买单量10",
  38672. "type": "integer"
  38673. },
  38674. "bidordervolume2": {
  38675. "description": "买单量2",
  38676. "type": "integer"
  38677. },
  38678. "bidordervolume3": {
  38679. "description": "买单量3",
  38680. "type": "integer"
  38681. },
  38682. "bidordervolume4": {
  38683. "description": "买单量4",
  38684. "type": "integer"
  38685. },
  38686. "bidordervolume5": {
  38687. "description": "买单量5",
  38688. "type": "integer"
  38689. },
  38690. "bidordervolume6": {
  38691. "description": "买单量6",
  38692. "type": "integer"
  38693. },
  38694. "bidordervolume7": {
  38695. "description": "买单量7",
  38696. "type": "integer"
  38697. },
  38698. "bidordervolume8": {
  38699. "description": "买单量8",
  38700. "type": "integer"
  38701. },
  38702. "bidordervolume9": {
  38703. "description": "买单量9",
  38704. "type": "integer"
  38705. },
  38706. "bidqueueinfo": {
  38707. "description": "大利市买港股用",
  38708. "type": "string"
  38709. },
  38710. "bidvolume": {
  38711. "description": "买量1",
  38712. "type": "integer"
  38713. },
  38714. "bidvolume10": {
  38715. "description": "买量10",
  38716. "type": "integer"
  38717. },
  38718. "bidvolume2": {
  38719. "description": "买量2",
  38720. "type": "integer"
  38721. },
  38722. "bidvolume3": {
  38723. "description": "买量3",
  38724. "type": "integer"
  38725. },
  38726. "bidvolume4": {
  38727. "description": "买量4",
  38728. "type": "integer"
  38729. },
  38730. "bidvolume5": {
  38731. "description": "买量5",
  38732. "type": "integer"
  38733. },
  38734. "bidvolume6": {
  38735. "description": "买量6",
  38736. "type": "integer"
  38737. },
  38738. "bidvolume7": {
  38739. "description": "买量7",
  38740. "type": "integer"
  38741. },
  38742. "bidvolume8": {
  38743. "description": "买量8",
  38744. "type": "integer"
  38745. },
  38746. "bidvolume9": {
  38747. "description": "买量9",
  38748. "type": "integer"
  38749. },
  38750. "calloptionpremiums": {
  38751. "description": "认购期权1",
  38752. "type": "integer"
  38753. },
  38754. "calloptionpremiums2": {
  38755. "description": "认购期权2",
  38756. "type": "integer"
  38757. },
  38758. "calloptionpremiums3": {
  38759. "description": "认购期权3",
  38760. "type": "integer"
  38761. },
  38762. "calloptionpremiums4": {
  38763. "description": "认购期权4",
  38764. "type": "integer"
  38765. },
  38766. "calloptionpremiums5": {
  38767. "description": "认购期权5",
  38768. "type": "integer"
  38769. },
  38770. "cleartime": {
  38771. "description": "清盘时间",
  38772. "type": "integer"
  38773. },
  38774. "exchangecode": {
  38775. "description": "交易所代码",
  38776. "type": "integer"
  38777. },
  38778. "exchangedate": {
  38779. "description": "交易日",
  38780. "type": "integer"
  38781. },
  38782. "goodscode": {
  38783. "description": "商品代码",
  38784. "type": "string"
  38785. },
  38786. "grepmarketprice": {
  38787. "description": "暗盘价 港股专用",
  38788. "type": "number"
  38789. },
  38790. "highest": {
  38791. "description": "最高价",
  38792. "type": "number"
  38793. },
  38794. "holdincrement": {
  38795. "description": "单笔持仓",
  38796. "type": "integer"
  38797. },
  38798. "holdvolume": {
  38799. "description": "持仓",
  38800. "type": "integer"
  38801. },
  38802. "iep": {
  38803. "description": "平衡价 港股专用",
  38804. "type": "number"
  38805. },
  38806. "iev": {
  38807. "description": "平衡量 港股专用",
  38808. "type": "number"
  38809. },
  38810. "inventory": {
  38811. "description": "库存",
  38812. "type": "integer"
  38813. },
  38814. "iscleared": {
  38815. "description": "是否清盘标志",
  38816. "type": "integer"
  38817. },
  38818. "issettled": {
  38819. "description": "是否结算标志",
  38820. "type": "integer"
  38821. },
  38822. "last": {
  38823. "description": "最新价",
  38824. "type": "number"
  38825. },
  38826. "lastlot": {
  38827. "description": "最新成交手数",
  38828. "type": "integer"
  38829. },
  38830. "lasttime": {
  38831. "description": "行情时间(只有现价变化行情时间才变化)",
  38832. "type": "string"
  38833. },
  38834. "lastturnover": {
  38835. "description": "最新成交金额",
  38836. "type": "number"
  38837. },
  38838. "lastvolume": {
  38839. "description": "最新成交量",
  38840. "type": "integer"
  38841. },
  38842. "limitdown": {
  38843. "description": "跌停价",
  38844. "type": "number"
  38845. },
  38846. "limitup": {
  38847. "description": "涨停价",
  38848. "type": "number"
  38849. },
  38850. "lowest": {
  38851. "description": "最低价",
  38852. "type": "number"
  38853. },
  38854. "nontotalholdervolume": {
  38855. "description": "非交易持仓量",
  38856. "type": "integer"
  38857. },
  38858. "nontotallot": {
  38859. "description": "非交易总手数",
  38860. "type": "integer"
  38861. },
  38862. "nontotalturnover": {
  38863. "description": "非交易总金额",
  38864. "type": "integer"
  38865. },
  38866. "nontotalvolume": {
  38867. "description": "非交易总量",
  38868. "type": "integer"
  38869. },
  38870. "opened": {
  38871. "description": "开盘价",
  38872. "type": "number"
  38873. },
  38874. "opentime": {
  38875. "description": "开盘时间",
  38876. "type": "string"
  38877. },
  38878. "orderid": {
  38879. "description": "序号",
  38880. "type": "integer"
  38881. },
  38882. "preclose": {
  38883. "description": "昨收",
  38884. "type": "number"
  38885. },
  38886. "preholdvolume": {
  38887. "description": "昨持仓",
  38888. "type": "integer"
  38889. },
  38890. "presettle": {
  38891. "description": "昨结价",
  38892. "type": "number"
  38893. },
  38894. "publictradetype": {
  38895. "description": "公共交易标志类型 港股专用",
  38896. "type": "string"
  38897. },
  38898. "putoptionpremiums": {
  38899. "description": "认沽期权1",
  38900. "type": "integer"
  38901. },
  38902. "putoptionpremiums2": {
  38903. "description": "认沽期权2",
  38904. "type": "integer"
  38905. },
  38906. "putoptionpremiums3": {
  38907. "description": "认沽期权3",
  38908. "type": "integer"
  38909. },
  38910. "putoptionpremiums4": {
  38911. "description": "认沽期权4",
  38912. "type": "integer"
  38913. },
  38914. "putoptionpremiums5": {
  38915. "description": "认沽期权5",
  38916. "type": "integer"
  38917. },
  38918. "settle": {
  38919. "description": "结算价",
  38920. "type": "number"
  38921. },
  38922. "strikeprice": {
  38923. "description": "发行价",
  38924. "type": "number"
  38925. },
  38926. "totalaskvolume": {
  38927. "description": "内盘",
  38928. "type": "integer"
  38929. },
  38930. "totalbidvolume": {
  38931. "description": "外盘",
  38932. "type": "integer"
  38933. },
  38934. "totallot": {
  38935. "description": "总手数",
  38936. "type": "integer"
  38937. },
  38938. "totalturnover": {
  38939. "description": "总金额",
  38940. "type": "number"
  38941. },
  38942. "totalvolume": {
  38943. "description": "总量",
  38944. "type": "integer"
  38945. },
  38946. "utclasttime": {
  38947. "description": "utc的行情时间",
  38948. "type": "string"
  38949. }
  38950. }
  38951. },
  38952. "quote.QueryTSDataRsp": {
  38953. "type": "object",
  38954. "properties": {
  38955. "Count": {
  38956. "description": "交易日应有数据个数",
  38957. "type": "integer"
  38958. },
  38959. "decimalPlace": {
  38960. "description": "小数位",
  38961. "type": "integer"
  38962. },
  38963. "endTime": {
  38964. "description": "结束时间",
  38965. "type": "string"
  38966. },
  38967. "goodsCode": {
  38968. "description": "商品代码",
  38969. "type": "string"
  38970. },
  38971. "historyDatas": {
  38972. "description": "历史数据",
  38973. "type": "array",
  38974. "items": {
  38975. "$ref": "#/definitions/quote.HistoryData"
  38976. }
  38977. },
  38978. "outGoodsCode": {
  38979. "description": "外部商品代码",
  38980. "type": "string"
  38981. },
  38982. "preSettle": {
  38983. "description": "昨结价",
  38984. "type": "number"
  38985. },
  38986. "runSteps": {
  38987. "description": "交易日开休市计划",
  38988. "type": "array",
  38989. "items": {
  38990. "$ref": "#/definitions/quote.TSDataRunStep"
  38991. }
  38992. },
  38993. "startTime": {
  38994. "description": "开始时间",
  38995. "type": "string"
  38996. },
  38997. "tradeDate": {
  38998. "description": "交易日",
  38999. "type": "string"
  39000. }
  39001. }
  39002. },
  39003. "quote.TSDataRunStep": {
  39004. "type": "object",
  39005. "properties": {
  39006. "end": {
  39007. "description": "真实结束时间",
  39008. "type": "string"
  39009. },
  39010. "endflag": {
  39011. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39012. "type": "integer"
  39013. },
  39014. "endtime": {
  39015. "description": "结束时间(HH:mm)",
  39016. "type": "string"
  39017. },
  39018. "endweekday": {
  39019. "description": "结束周几",
  39020. "type": "integer"
  39021. },
  39022. "groupid": {
  39023. "description": "分组ID",
  39024. "type": "integer"
  39025. },
  39026. "runstep": {
  39027. "description": "运行阶段 - 2:连续交易",
  39028. "type": "integer"
  39029. },
  39030. "sectionid": {
  39031. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39032. "type": "integer"
  39033. },
  39034. "start": {
  39035. "description": "真实开始时间",
  39036. "type": "string"
  39037. },
  39038. "startflag": {
  39039. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39040. "type": "integer"
  39041. },
  39042. "starttime": {
  39043. "description": "起始时间(HH:mm)",
  39044. "type": "string"
  39045. },
  39046. "startweekday": {
  39047. "description": "起始周几",
  39048. "type": "integer"
  39049. },
  39050. "tradeweekday": {
  39051. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39052. "type": "integer"
  39053. }
  39054. }
  39055. },
  39056. "szdz.QueryConvertLogRsp": {
  39057. "type": "object",
  39058. "required": [
  39059. "logid"
  39060. ],
  39061. "properties": {
  39062. "accountid": {
  39063. "description": "资金账户ID",
  39064. "type": "integer"
  39065. },
  39066. "clientticket": {
  39067. "description": "客户端流水号",
  39068. "type": "string"
  39069. },
  39070. "converttype": {
  39071. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39072. "type": "integer"
  39073. },
  39074. "createtime": {
  39075. "description": "记账时间",
  39076. "type": "string"
  39077. },
  39078. "daymaxvalue": {
  39079. "description": "配置当日最大转入限制",
  39080. "type": "number"
  39081. },
  39082. "daymaxvalue2": {
  39083. "description": "配置当日最大转入限制(转入)",
  39084. "type": "number"
  39085. },
  39086. "goodscode": {
  39087. "description": "商品代码",
  39088. "type": "string"
  39089. },
  39090. "goodsname": {
  39091. "description": "商品名称",
  39092. "type": "string"
  39093. },
  39094. "handlestatus": {
  39095. "description": "处理状态",
  39096. "type": "integer"
  39097. },
  39098. "innergoodsid": {
  39099. "description": "内部商品ID",
  39100. "type": "integer"
  39101. },
  39102. "inratio": {
  39103. "description": "配置转入比值",
  39104. "type": "integer"
  39105. },
  39106. "invalue": {
  39107. "description": "目标值",
  39108. "type": "number"
  39109. },
  39110. "logid": {
  39111. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39112. "type": "integer"
  39113. },
  39114. "mobile": {
  39115. "description": "手机号码(加密存储)",
  39116. "type": "string"
  39117. },
  39118. "outergoodscode": {
  39119. "description": "外部商品代码[JD\\PD]",
  39120. "type": "string"
  39121. },
  39122. "outratio": {
  39123. "description": "配置转出比值",
  39124. "type": "integer"
  39125. },
  39126. "outvalue": {
  39127. "description": "源值",
  39128. "type": "number"
  39129. },
  39130. "pddecimalplace": {
  39131. "description": "PD小数位",
  39132. "type": "integer"
  39133. },
  39134. "qty": {
  39135. "description": "数量",
  39136. "type": "string"
  39137. },
  39138. "remark": {
  39139. "description": "备注",
  39140. "type": "string"
  39141. },
  39142. "sessionid": {
  39143. "description": "会话ID",
  39144. "type": "integer"
  39145. },
  39146. "timemaxvalue": {
  39147. "description": "配置单次最大转入限制",
  39148. "type": "number"
  39149. },
  39150. "timemaxvalue2": {
  39151. "description": "配置单次最大转入限制(转入)",
  39152. "type": "number"
  39153. },
  39154. "timeminvalue": {
  39155. "description": "配置单次最小数量限制",
  39156. "type": "number"
  39157. },
  39158. "timeminvalue2": {
  39159. "description": "配置单次最小数量限制(转入)",
  39160. "type": "number"
  39161. },
  39162. "tradedate": {
  39163. "description": "交易日(yyyyMMdd)",
  39164. "type": "string"
  39165. },
  39166. "userid": {
  39167. "description": "用户ID",
  39168. "type": "integer"
  39169. }
  39170. }
  39171. },
  39172. "szdz.QueryGoodsPickupRsp": {
  39173. "type": "object",
  39174. "required": [
  39175. "takeorderid"
  39176. ],
  39177. "properties": {
  39178. "accountid": {
  39179. "description": "账户ID",
  39180. "type": "integer"
  39181. },
  39182. "address": {
  39183. "description": "提货人详细地址",
  39184. "type": "string"
  39185. },
  39186. "auditer": {
  39187. "description": "审核人",
  39188. "type": "integer"
  39189. },
  39190. "audittime": {
  39191. "description": "审核时间",
  39192. "type": "string"
  39193. },
  39194. "cardnum": {
  39195. "description": "提货人证件号码",
  39196. "type": "string"
  39197. },
  39198. "cardtypeid": {
  39199. "description": "提货人证件类型",
  39200. "type": "integer"
  39201. },
  39202. "checkremark": {
  39203. "description": "审核备注",
  39204. "type": "string"
  39205. },
  39206. "goodscode": {
  39207. "description": "商品代码",
  39208. "type": "string"
  39209. },
  39210. "goodsid": {
  39211. "description": "商品ID",
  39212. "type": "integer"
  39213. },
  39214. "goodsname": {
  39215. "description": "商品名称",
  39216. "type": "string"
  39217. },
  39218. "handlestatus": {
  39219. "description": "处理状态",
  39220. "type": "integer"
  39221. },
  39222. "marketid": {
  39223. "description": "市场ID",
  39224. "type": "integer"
  39225. },
  39226. "phonenum": {
  39227. "description": "提货人联系方式",
  39228. "type": "string"
  39229. },
  39230. "qty": {
  39231. "description": "提货数量",
  39232. "type": "number"
  39233. },
  39234. "recivername": {
  39235. "description": "提货人姓名",
  39236. "type": "string"
  39237. },
  39238. "reqtime": {
  39239. "description": "更新时间",
  39240. "type": "string"
  39241. },
  39242. "takemode": {
  39243. "description": "提货方式 - 2:自提 3:配送",
  39244. "type": "integer"
  39245. },
  39246. "takeorderid": {
  39247. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39248. "type": "string"
  39249. },
  39250. "takeorderstatus": {
  39251. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39252. "type": "integer"
  39253. },
  39254. "takeremark": {
  39255. "description": "提货备注",
  39256. "type": "string"
  39257. },
  39258. "tradedate": {
  39259. "description": "交易日(yyyyMMdd)",
  39260. "type": "string"
  39261. },
  39262. "userid": {
  39263. "description": "用户ID",
  39264. "type": "integer"
  39265. }
  39266. }
  39267. },
  39268. "szdz.QueryRecieptOrderRsp": {
  39269. "type": "object",
  39270. "required": [
  39271. "ordertime"
  39272. ],
  39273. "properties": {
  39274. "accountName": {
  39275. "description": "所属账号名称(已脱敏)",
  39276. "type": "string"
  39277. },
  39278. "accountid": {
  39279. "description": "资金账号",
  39280. "type": "integer"
  39281. },
  39282. "buyorsell": {
  39283. "description": "方向 - 0:买 1:卖",
  39284. "type": "integer"
  39285. },
  39286. "enableqty": {
  39287. "description": "可摘数量",
  39288. "type": "integer"
  39289. },
  39290. "goodscode": {
  39291. "description": "商品代码",
  39292. "type": "string"
  39293. },
  39294. "goodsid": {
  39295. "description": "商品ID",
  39296. "type": "integer"
  39297. },
  39298. "goodsname": {
  39299. "description": "商品名称",
  39300. "type": "string"
  39301. },
  39302. "orderid": {
  39303. "description": "委托单号",
  39304. "type": "string"
  39305. },
  39306. "orderprice": {
  39307. "description": "委托价格",
  39308. "type": "number"
  39309. },
  39310. "ordertime": {
  39311. "description": "委托时间",
  39312. "type": "string"
  39313. },
  39314. "tradedate": {
  39315. "description": "交易日(yyyyMMdd)",
  39316. "type": "string"
  39317. }
  39318. }
  39319. },
  39320. "szdz.QuerySZDZTradePositionRsp": {
  39321. "type": "object",
  39322. "properties": {
  39323. "accountid": {
  39324. "description": "账号Id",
  39325. "type": "integer"
  39326. },
  39327. "agreeunit": {
  39328. "description": "合约单位",
  39329. "type": "number"
  39330. },
  39331. "averageprice": {
  39332. "description": "持仓均价",
  39333. "type": "number"
  39334. },
  39335. "buyorsell": {
  39336. "description": "方向 - 0:买 1:卖",
  39337. "type": "integer"
  39338. },
  39339. "closetotalqty": {
  39340. "description": "平仓总数量",
  39341. "type": "integer"
  39342. },
  39343. "curholderamount": {
  39344. "description": "当前持仓总金额",
  39345. "type": "number"
  39346. },
  39347. "curpositionqty": {
  39348. "description": "当前持仓总数量",
  39349. "type": "integer"
  39350. },
  39351. "currencyid": {
  39352. "description": "报价货币ID",
  39353. "type": "integer"
  39354. },
  39355. "curtdposition": {
  39356. "description": "期末今日头寸",
  39357. "type": "integer"
  39358. },
  39359. "decimalplace": {
  39360. "description": "报价小数位",
  39361. "type": "integer"
  39362. },
  39363. "enableqty": {
  39364. "description": "可用量",
  39365. "type": "integer"
  39366. },
  39367. "fretdposition": {
  39368. "description": "冻结今日头寸",
  39369. "type": "integer"
  39370. },
  39371. "frozenqty": {
  39372. "description": "持仓冻结数量",
  39373. "type": "integer"
  39374. },
  39375. "goodscode": {
  39376. "description": "商品代码(内部)",
  39377. "type": "string"
  39378. },
  39379. "goodsid": {
  39380. "description": "商品Id",
  39381. "type": "integer"
  39382. },
  39383. "goodsname": {
  39384. "description": "商品名称",
  39385. "type": "string"
  39386. },
  39387. "goodunit": {
  39388. "description": "报价单位",
  39389. "type": "string"
  39390. },
  39391. "goodunitid": {
  39392. "description": "报价单位ID",
  39393. "type": "integer"
  39394. },
  39395. "holderamount": {
  39396. "description": "期初持仓总金额",
  39397. "type": "number"
  39398. },
  39399. "marketid": {
  39400. "description": "市场ID",
  39401. "type": "integer"
  39402. },
  39403. "openreqqty": {
  39404. "description": "开仓申请数量",
  39405. "type": "integer"
  39406. },
  39407. "opentotalqty": {
  39408. "description": "开仓总数量",
  39409. "type": "integer"
  39410. },
  39411. "otherfrozenqty": {
  39412. "description": "持仓其他冻结数量(交割冻结)",
  39413. "type": "integer"
  39414. },
  39415. "positionqty": {
  39416. "description": "期初持仓数量",
  39417. "type": "integer"
  39418. },
  39419. "szdz3freezqty": {
  39420. "description": "尚志大宗转换冻结总数量",
  39421. "type": "integer"
  39422. },
  39423. "tnqty": {
  39424. "description": "T+N冻结总量",
  39425. "type": "integer"
  39426. },
  39427. "tnusedqty": {
  39428. "description": "T+N使用量",
  39429. "type": "integer"
  39430. },
  39431. "trademode": {
  39432. "description": "交易模式",
  39433. "type": "integer"
  39434. },
  39435. "usedmargin": {
  39436. "description": "占用保证金",
  39437. "type": "number"
  39438. }
  39439. }
  39440. },
  39441. "taaccount.QueryAmountLogRsp": {
  39442. "type": "object",
  39443. "required": [
  39444. "accountid",
  39445. "amount",
  39446. "amountadjusttype",
  39447. "autoid",
  39448. "balance",
  39449. "createtime",
  39450. "currentbalance",
  39451. "operatetype"
  39452. ],
  39453. "properties": {
  39454. "OPERATETYPENAME": {
  39455. "description": "资金操作类型名称",
  39456. "type": "string"
  39457. },
  39458. "accountid": {
  39459. "description": "资金账户ID",
  39460. "type": "integer"
  39461. },
  39462. "agoodscode": {
  39463. "description": "竞拍商品代码",
  39464. "type": "string"
  39465. },
  39466. "agoodsname": {
  39467. "description": "竞拍商品名称",
  39468. "type": "string"
  39469. },
  39470. "amount": {
  39471. "description": "资金金额",
  39472. "type": "number"
  39473. },
  39474. "amountadjusttype": {
  39475. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39476. "type": "integer"
  39477. },
  39478. "autoid": {
  39479. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39480. "type": "integer"
  39481. },
  39482. "balance": {
  39483. "description": "期初余额",
  39484. "type": "number"
  39485. },
  39486. "businesscode": {
  39487. "description": "业务编号",
  39488. "type": "integer"
  39489. },
  39490. "createtime": {
  39491. "description": "发生时间",
  39492. "type": "string"
  39493. },
  39494. "currencyid": {
  39495. "description": "币种ID",
  39496. "type": "integer"
  39497. },
  39498. "currentbalance": {
  39499. "description": "期末余额(变动后金额)",
  39500. "type": "number"
  39501. },
  39502. "dgoodscode": {
  39503. "description": "交割商品代码",
  39504. "type": "string"
  39505. },
  39506. "dgoodsname": {
  39507. "description": "交割商品名称",
  39508. "type": "string"
  39509. },
  39510. "goodscode": {
  39511. "description": "商品代码",
  39512. "type": "string"
  39513. },
  39514. "goodsid": {
  39515. "description": "商品ID",
  39516. "type": "integer"
  39517. },
  39518. "goodsname": {
  39519. "description": "商品名称",
  39520. "type": "string"
  39521. },
  39522. "marketid": {
  39523. "description": "市场ID",
  39524. "type": "integer"
  39525. },
  39526. "marketname": {
  39527. "description": "市场名称",
  39528. "type": "string"
  39529. },
  39530. "moneyticket": {
  39531. "description": "资金流水号:银行端流水号",
  39532. "type": "integer"
  39533. },
  39534. "operatetype": {
  39535. "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:营销收款",
  39536. "type": "integer"
  39537. },
  39538. "relationorderid": {
  39539. "description": "关联单号",
  39540. "type": "string"
  39541. },
  39542. "remark": {
  39543. "description": "备注",
  39544. "type": "string"
  39545. },
  39546. "trademode": {
  39547. "description": "交易模式",
  39548. "type": "integer"
  39549. }
  39550. }
  39551. },
  39552. "taaccount.QueryHisAmountLogRsp": {
  39553. "type": "object",
  39554. "required": [
  39555. "accountid",
  39556. "amount",
  39557. "amountadjusttype",
  39558. "autoid",
  39559. "balance",
  39560. "createtime",
  39561. "currentbalance",
  39562. "histradedate",
  39563. "operatetype"
  39564. ],
  39565. "properties": {
  39566. "OPERATETYPENAME": {
  39567. "description": "资金操作类型名称",
  39568. "type": "string"
  39569. },
  39570. "accountid": {
  39571. "description": "资金账户ID",
  39572. "type": "integer"
  39573. },
  39574. "agoodscode": {
  39575. "description": "竞拍商品代码",
  39576. "type": "string"
  39577. },
  39578. "agoodsname": {
  39579. "description": "竞拍商品名称",
  39580. "type": "string"
  39581. },
  39582. "amount": {
  39583. "description": "资金金额",
  39584. "type": "number"
  39585. },
  39586. "amountadjusttype": {
  39587. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39588. "type": "integer"
  39589. },
  39590. "autoid": {
  39591. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39592. "type": "integer"
  39593. },
  39594. "balance": {
  39595. "description": "期初余额",
  39596. "type": "number"
  39597. },
  39598. "businesscode": {
  39599. "description": "业务编号",
  39600. "type": "integer"
  39601. },
  39602. "createtime": {
  39603. "description": "发生时间",
  39604. "type": "string"
  39605. },
  39606. "currencyid": {
  39607. "description": "币种ID",
  39608. "type": "integer"
  39609. },
  39610. "currentbalance": {
  39611. "description": "期末余额(变动后金额)",
  39612. "type": "number"
  39613. },
  39614. "dgoodscode": {
  39615. "description": "交割商品代码",
  39616. "type": "string"
  39617. },
  39618. "dgoodsname": {
  39619. "description": "交割商品名称",
  39620. "type": "string"
  39621. },
  39622. "goodscode": {
  39623. "description": "商品代码",
  39624. "type": "string"
  39625. },
  39626. "goodsid": {
  39627. "description": "商品ID",
  39628. "type": "integer"
  39629. },
  39630. "goodsname": {
  39631. "description": "商品名称",
  39632. "type": "string"
  39633. },
  39634. "histradedate": {
  39635. "description": "历史交易日",
  39636. "type": "string"
  39637. },
  39638. "isvaliddata": {
  39639. "description": "是否有效 - 0:无效 1:有效",
  39640. "type": "integer"
  39641. },
  39642. "marketid": {
  39643. "description": "市场ID",
  39644. "type": "integer"
  39645. },
  39646. "marketname": {
  39647. "description": "市场名称",
  39648. "type": "string"
  39649. },
  39650. "moneyticket": {
  39651. "description": "资金流水号:银行端流水号",
  39652. "type": "integer"
  39653. },
  39654. "operatetype": {
  39655. "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:营销收款",
  39656. "type": "integer"
  39657. },
  39658. "relationorderid": {
  39659. "description": "关联单号",
  39660. "type": "string"
  39661. },
  39662. "remark": {
  39663. "description": "备注",
  39664. "type": "string"
  39665. },
  39666. "trademode": {
  39667. "description": "交易模式",
  39668. "type": "integer"
  39669. }
  39670. }
  39671. },
  39672. "trade.QueryRecieptOrderRsp": {
  39673. "type": "object",
  39674. "required": [
  39675. "ordertime"
  39676. ],
  39677. "properties": {
  39678. "accountName": {
  39679. "description": "所属账号名称(已脱敏)",
  39680. "type": "string"
  39681. },
  39682. "accountid": {
  39683. "description": "资金账号",
  39684. "type": "integer"
  39685. },
  39686. "buyorsell": {
  39687. "description": "方向 - 0:买 1:卖",
  39688. "type": "integer"
  39689. },
  39690. "enableqty": {
  39691. "description": "可摘数量",
  39692. "type": "integer"
  39693. },
  39694. "goodscode": {
  39695. "description": "商品代码",
  39696. "type": "string"
  39697. },
  39698. "goodsid": {
  39699. "description": "商品ID",
  39700. "type": "integer"
  39701. },
  39702. "goodsname": {
  39703. "description": "商品名称",
  39704. "type": "string"
  39705. },
  39706. "orderid": {
  39707. "description": "委托单号",
  39708. "type": "string"
  39709. },
  39710. "orderprice": {
  39711. "description": "委托价格",
  39712. "type": "number"
  39713. },
  39714. "ordertime": {
  39715. "description": "委托时间",
  39716. "type": "string"
  39717. },
  39718. "tradedate": {
  39719. "description": "交易日(yyyyMMdd)",
  39720. "type": "string"
  39721. }
  39722. }
  39723. },
  39724. "user.LoginQueryRsp": {
  39725. "type": "object",
  39726. "properties": {
  39727. "areaRoles": {
  39728. "description": "所属角色信息",
  39729. "type": "array",
  39730. "items": {
  39731. "$ref": "#/definitions/models.Arearole"
  39732. }
  39733. },
  39734. "externalExchanges": {
  39735. "description": "外部交易所",
  39736. "type": "array",
  39737. "items": {
  39738. "$ref": "#/definitions/models.Externalexchange"
  39739. }
  39740. },
  39741. "goodsgroups": {
  39742. "description": "商品组",
  39743. "type": "array",
  39744. "items": {
  39745. "$ref": "#/definitions/models.Goodsgroup"
  39746. }
  39747. },
  39748. "loginAccount": {
  39749. "description": "登录账号",
  39750. "$ref": "#/definitions/models.Loginaccount"
  39751. },
  39752. "markets": {
  39753. "description": "市场",
  39754. "type": "array",
  39755. "items": {
  39756. "$ref": "#/definitions/models.Market"
  39757. }
  39758. },
  39759. "systemParams": {
  39760. "description": "系统参数",
  39761. "type": "array",
  39762. "items": {
  39763. "$ref": "#/definitions/models.Systemparam"
  39764. }
  39765. },
  39766. "userAccount": {
  39767. "description": "用户账号",
  39768. "$ref": "#/definitions/models.Useraccount"
  39769. },
  39770. "userInfo": {
  39771. "description": "用户信息",
  39772. "$ref": "#/definitions/models.Userinfo"
  39773. },
  39774. "username": {
  39775. "description": "用户姓名",
  39776. "type": "string"
  39777. }
  39778. }
  39779. }
  39780. },
  39781. "securityDefinitions": {
  39782. "ApiKeyAuth": {
  39783. "type": "apiKey",
  39784. "name": "Authorization",
  39785. "in": "header"
  39786. }
  39787. }
  39788. }`
  39789. type swaggerInfo struct {
  39790. Version string
  39791. Host string
  39792. BasePath string
  39793. Schemes []string
  39794. Title string
  39795. Description string
  39796. }
  39797. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39798. var SwaggerInfo = swaggerInfo{
  39799. Version: "1.0",
  39800. Host: "",
  39801. BasePath: "/api",
  39802. Schemes: []string{},
  39803. Title: "MTP2.0 查询服务 API",
  39804. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39805. }
  39806. type s struct{}
  39807. func (s *s) ReadDoc() string {
  39808. sInfo := SwaggerInfo
  39809. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  39810. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  39811. "marshal": func(v interface{}) string {
  39812. a, _ := json.Marshal(v)
  39813. return string(a)
  39814. },
  39815. }).Parse(doc)
  39816. if err != nil {
  39817. return doc
  39818. }
  39819. var tpl bytes.Buffer
  39820. if err := t.Execute(&tpl, sInfo); err != nil {
  39821. return doc
  39822. }
  39823. return tpl.String()
  39824. }
  39825. func init() {
  39826. swag.Register(swag.Name, &s{})
  39827. }