| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503 |
- import api, {ResponseData} from "../api.ts";
- import {BaseListVo} from "../detail/DetailApi.ts";
- export function GetBaseArticleById(id: number | string) {
- return api.GetDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<Article>>;
- }
- export function GetBaseArticleListByArticle(param: Article, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/article/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Article>>>;
- }
- export function GetBaseArticleListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/article/in", {
- ids: ids
- }, true) as Promise<ResponseData<Article[]>>;
- }
- export function SaveBaseArticle(Article: Article) {
- return api.PostDataByPath("/back/base/article", { article: Article}, true) as Promise<ResponseData<Article>>;
- }
- export function UpdateBaseArticle(Article: Article, id: number | string) {
- return api.PutDataByPath("/back/base/article", { article: Article, id: id}, true) as Promise<ResponseData<Article>>;
- }
- export function DeleteBaseArticleById(id: number | string) {
- return api.DeleteDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseArticleTagById(id: number | string) {
- return api.GetDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<ArticleTag>>;
- }
- export function GetBaseArticleTagListByArticleTag(param: ArticleTag, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/articleTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTag>>>;
- }
- export function GetBaseArticleTagListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/articleTag/in", {
- ids: ids
- }, true) as Promise<ResponseData<ArticleTag[]>>;
- }
- export function SaveBaseArticleTag(ArticleTag: ArticleTag) {
- return api.PostDataByPath("/back/base/articleTag", { articleTag: ArticleTag}, true) as Promise<ResponseData<ArticleTag>>;
- }
- export function UpdateBaseArticleTag(ArticleTag: ArticleTag, id: number | string) {
- return api.PutDataByPath("/back/base/articleTag", { articleTag: ArticleTag, id: id}, true) as Promise<ResponseData<ArticleTag>>;
- }
- export function DeleteBaseArticleTagById(id: number | string) {
- return api.DeleteDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseArticleTopicById(id: number | string) {
- return api.GetDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<ArticleTopic>>;
- }
- export function GetBaseArticleTopicListByArticleTopic(param: ArticleTopic, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/articleTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTopic>>>;
- }
- export function GetBaseArticleTopicListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/articleTopic/in", {
- ids: ids
- }, true) as Promise<ResponseData<ArticleTopic[]>>;
- }
- export function SaveBaseArticleTopic(ArticleTopic: ArticleTopic) {
- return api.PostDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic}, true) as Promise<ResponseData<ArticleTopic>>;
- }
- export function UpdateBaseArticleTopic(ArticleTopic: ArticleTopic, id: number | string) {
- return api.PutDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic, id: id}, true) as Promise<ResponseData<ArticleTopic>>;
- }
- export function DeleteBaseArticleTopicById(id: number | string) {
- return api.DeleteDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackAuthorityById(id: number | string) {
- return api.GetDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<BackAuthority>>;
- }
- export function GetBaseBackAuthorityListByBackAuthority(param: BackAuthority, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackAuthority>>>;
- }
- export function GetBaseBackAuthorityListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backAuthority/in", {
- ids: ids
- }, true) as Promise<ResponseData<BackAuthority[]>>;
- }
- export function SaveBaseBackAuthority(BackAuthority: BackAuthority) {
- return api.PostDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority}, true) as Promise<ResponseData<BackAuthority>>;
- }
- export function UpdateBaseBackAuthority(BackAuthority: BackAuthority, id: number | string) {
- return api.PutDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority, id: id}, true) as Promise<ResponseData<BackAuthority>>;
- }
- export function DeleteBaseBackAuthorityById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackMenuById(id: number | string) {
- return api.GetDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<BackMenu>>;
- }
- export function GetBaseBackMenuListByBackMenu(param: BackMenu, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackMenu>>>;
- }
- export function GetBaseBackMenuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backMenu/in", {
- ids: ids
- }, true) as Promise<ResponseData<BackMenu[]>>;
- }
- export function SaveBaseBackMenu(BackMenu: BackMenu) {
- return api.PostDataByPath("/back/base/backMenu", { backMenu: BackMenu}, true) as Promise<ResponseData<BackMenu>>;
- }
- export function UpdateBaseBackMenu(BackMenu: BackMenu, id: number | string) {
- return api.PutDataByPath("/back/base/backMenu", { backMenu: BackMenu, id: id}, true) as Promise<ResponseData<BackMenu>>;
- }
- export function DeleteBaseBackMenuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackRoleById(id: number | string) {
- return api.GetDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<BackRole>>;
- }
- export function GetBaseBackRoleListByBackRole(param: BackRole, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backRole/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRole>>>;
- }
- export function GetBaseBackRoleListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backRole/in", {
- ids: ids
- }, true) as Promise<ResponseData<BackRole[]>>;
- }
- export function SaveBaseBackRole(BackRole: BackRole) {
- return api.PostDataByPath("/back/base/backRole", { backRole: BackRole}, true) as Promise<ResponseData<BackRole>>;
- }
- export function UpdateBaseBackRole(BackRole: BackRole, id: number | string) {
- return api.PutDataByPath("/back/base/backRole", { backRole: BackRole, id: id}, true) as Promise<ResponseData<BackRole>>;
- }
- export function DeleteBaseBackRoleById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackRoleAuthorityById(id: number | string) {
- return api.GetDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<BackRoleAuthority>>;
- }
- export function GetBaseBackRoleAuthorityListByBackRoleAuthority(param: BackRoleAuthority, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backRoleAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleAuthority>>>;
- }
- export function GetBaseBackRoleAuthorityListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backRoleAuthority/in", {
- ids: ids
- }, true) as Promise<ResponseData<BackRoleAuthority[]>>;
- }
- export function SaveBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority) {
- return api.PostDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority}, true) as Promise<ResponseData<BackRoleAuthority>>;
- }
- export function UpdateBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority, id: number | string) {
- return api.PutDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority, id: id}, true) as Promise<ResponseData<BackRoleAuthority>>;
- }
- export function DeleteBaseBackRoleAuthorityById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackRoleMenuById(id: number | string) {
- return api.GetDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<BackRoleMenu>>;
- }
- export function GetBaseBackRoleMenuListByBackRoleMenu(param: BackRoleMenu, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backRoleMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleMenu>>>;
- }
- export function GetBaseBackRoleMenuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backRoleMenu/in", {
- ids: ids
- }, true) as Promise<ResponseData<BackRoleMenu[]>>;
- }
- export function SaveBaseBackRoleMenu(BackRoleMenu: BackRoleMenu) {
- return api.PostDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu}, true) as Promise<ResponseData<BackRoleMenu>>;
- }
- export function UpdateBaseBackRoleMenu(BackRoleMenu: BackRoleMenu, id: number | string) {
- return api.PutDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu, id: id}, true) as Promise<ResponseData<BackRoleMenu>>;
- }
- export function DeleteBaseBackRoleMenuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGenTableById(id: number | string) {
- return api.GetDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<GenTable>>;
- }
- export function GetBaseGenTableListByGenTable(param: GenTable, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/genTable/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTable>>>;
- }
- export function GetBaseGenTableListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/genTable/in", {
- ids: ids
- }, true) as Promise<ResponseData<GenTable[]>>;
- }
- export function SaveBaseGenTable(GenTable: GenTable) {
- return api.PostDataByPath("/back/base/genTable", { genTable: GenTable}, true) as Promise<ResponseData<GenTable>>;
- }
- export function UpdateBaseGenTable(GenTable: GenTable, id: number | string) {
- return api.PutDataByPath("/back/base/genTable", { genTable: GenTable, id: id}, true) as Promise<ResponseData<GenTable>>;
- }
- export function DeleteBaseGenTableById(id: number | string) {
- return api.DeleteDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGenTableColumnById(id: number | string) {
- return api.GetDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<GenTableColumn>>;
- }
- export function GetBaseGenTableColumnListByGenTableColumn(param: GenTableColumn, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/genTableColumn/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTableColumn>>>;
- }
- export function GetBaseGenTableColumnListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/genTableColumn/in", {
- ids: ids
- }, true) as Promise<ResponseData<GenTableColumn[]>>;
- }
- export function SaveBaseGenTableColumn(GenTableColumn: GenTableColumn) {
- return api.PostDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn}, true) as Promise<ResponseData<GenTableColumn>>;
- }
- export function UpdateBaseGenTableColumn(GenTableColumn: GenTableColumn, id: number | string) {
- return api.PutDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn, id: id}, true) as Promise<ResponseData<GenTableColumn>>;
- }
- export function DeleteBaseGenTableColumnById(id: number | string) {
- return api.DeleteDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsById(id: number | string) {
- return api.GetDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<Goods>>;
- }
- export function GetBaseGoodsListByGoods(param: Goods, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goods/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Goods>>>;
- }
- export function GetBaseGoodsListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goods/in", {
- ids: ids
- }, true) as Promise<ResponseData<Goods[]>>;
- }
- export function SaveBaseGoods(Goods: Goods) {
- return api.PostDataByPath("/back/base/goods", { goods: Goods}, true) as Promise<ResponseData<Goods>>;
- }
- export function UpdateBaseGoods(Goods: Goods, id: number | string) {
- return api.PutDataByPath("/back/base/goods", { goods: Goods, id: id}, true) as Promise<ResponseData<Goods>>;
- }
- export function DeleteBaseGoodsById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsCommodityAreaById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<GoodsCommodityArea>>;
- }
- export function GetBaseGoodsCommodityAreaListByGoodsCommodityArea(param: GoodsCommodityArea, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsCommodityArea/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCommodityArea>>>;
- }
- export function GetBaseGoodsCommodityAreaListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsCommodityArea/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsCommodityArea[]>>;
- }
- export function SaveBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea) {
- return api.PostDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea}, true) as Promise<ResponseData<GoodsCommodityArea>>;
- }
- export function UpdateBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea, id: number | string) {
- return api.PutDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea, id: id}, true) as Promise<ResponseData<GoodsCommodityArea>>;
- }
- export function DeleteBaseGoodsCommodityAreaById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsCouponById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<GoodsCoupon>>;
- }
- export function GetBaseGoodsCouponListByGoodsCoupon(param: GoodsCoupon, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsCoupon/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCoupon>>>;
- }
- export function GetBaseGoodsCouponListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsCoupon/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsCoupon[]>>;
- }
- export function SaveBaseGoodsCoupon(GoodsCoupon: GoodsCoupon) {
- return api.PostDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon}, true) as Promise<ResponseData<GoodsCoupon>>;
- }
- export function UpdateBaseGoodsCoupon(GoodsCoupon: GoodsCoupon, id: number | string) {
- return api.PutDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon, id: id}, true) as Promise<ResponseData<GoodsCoupon>>;
- }
- export function DeleteBaseGoodsCouponById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsCouponUserById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<GoodsCouponUser>>;
- }
- export function GetBaseGoodsCouponUserListByGoodsCouponUser(param: GoodsCouponUser, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsCouponUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCouponUser>>>;
- }
- export function GetBaseGoodsCouponUserListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsCouponUser/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsCouponUser[]>>;
- }
- export function SaveBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser) {
- return api.PostDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser}, true) as Promise<ResponseData<GoodsCouponUser>>;
- }
- export function UpdateBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser, id: number | string) {
- return api.PutDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser, id: id}, true) as Promise<ResponseData<GoodsCouponUser>>;
- }
- export function DeleteBaseGoodsCouponUserById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsIntroductionById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<GoodsIntroduction>>;
- }
- export function GetBaseGoodsIntroductionListByGoodsIntroduction(param: GoodsIntroduction, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsIntroduction/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsIntroduction>>>;
- }
- export function GetBaseGoodsIntroductionListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsIntroduction/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsIntroduction[]>>;
- }
- export function SaveBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction) {
- return api.PostDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction}, true) as Promise<ResponseData<GoodsIntroduction>>;
- }
- export function UpdateBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction, id: number | string) {
- return api.PutDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction, id: id}, true) as Promise<ResponseData<GoodsIntroduction>>;
- }
- export function DeleteBaseGoodsIntroductionById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsOrderById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<GoodsOrder>>;
- }
- export function GetBaseGoodsOrderListByGoodsOrder(param: GoodsOrder, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsOrder/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsOrder>>>;
- }
- export function GetBaseGoodsOrderListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsOrder/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsOrder[]>>;
- }
- export function SaveBaseGoodsOrder(GoodsOrder: GoodsOrder) {
- return api.PostDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder}, true) as Promise<ResponseData<GoodsOrder>>;
- }
- export function UpdateBaseGoodsOrder(GoodsOrder: GoodsOrder, id: number | string) {
- return api.PutDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder, id: id}, true) as Promise<ResponseData<GoodsOrder>>;
- }
- export function DeleteBaseGoodsOrderById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsSkuById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<GoodsSku>>;
- }
- export function GetBaseGoodsSkuListByGoodsSku(param: GoodsSku, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSku>>>;
- }
- export function GetBaseGoodsSkuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsSku/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsSku[]>>;
- }
- export function SaveBaseGoodsSku(GoodsSku: GoodsSku) {
- return api.PostDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku}, true) as Promise<ResponseData<GoodsSku>>;
- }
- export function UpdateBaseGoodsSku(GoodsSku: GoodsSku, id: number | string) {
- return api.PutDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku, id: id}, true) as Promise<ResponseData<GoodsSku>>;
- }
- export function DeleteBaseGoodsSkuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsSkuCardById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<GoodsSkuCard>>;
- }
- export function GetBaseGoodsSkuCardListByGoodsSkuCard(param: GoodsSkuCard, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsSkuCard/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSkuCard>>>;
- }
- export function GetBaseGoodsSkuCardListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsSkuCard/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsSkuCard[]>>;
- }
- export function SaveBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard) {
- return api.PostDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard}, true) as Promise<ResponseData<GoodsSkuCard>>;
- }
- export function UpdateBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard, id: number | string) {
- return api.PutDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard, id: id}, true) as Promise<ResponseData<GoodsSkuCard>>;
- }
- export function DeleteBaseGoodsSkuCardById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsTagById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<GoodsTag>>;
- }
- export function GetBaseGoodsTagListByGoodsTag(param: GoodsTag, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsTag>>>;
- }
- export function GetBaseGoodsTagListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsTag/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsTag[]>>;
- }
- export function SaveBaseGoodsTag(GoodsTag: GoodsTag) {
- return api.PostDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag}, true) as Promise<ResponseData<GoodsTag>>;
- }
- export function UpdateBaseGoodsTag(GoodsTag: GoodsTag, id: number | string) {
- return api.PutDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag, id: id}, true) as Promise<ResponseData<GoodsTag>>;
- }
- export function DeleteBaseGoodsTagById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsTypeById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<GoodsType>>;
- }
- export function GetBaseGoodsTypeListByGoodsType(param: GoodsType, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsType>>>;
- }
- export function GetBaseGoodsTypeListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsType/in", {
- ids: ids
- }, true) as Promise<ResponseData<GoodsType[]>>;
- }
- export function SaveBaseGoodsType(GoodsType: GoodsType) {
- return api.PostDataByPath("/back/base/goodsType", { goodsType: GoodsType}, true) as Promise<ResponseData<GoodsType>>;
- }
- export function UpdateBaseGoodsType(GoodsType: GoodsType, id: number | string) {
- return api.PutDataByPath("/back/base/goodsType", { goodsType: GoodsType, id: id}, true) as Promise<ResponseData<GoodsType>>;
- }
- export function DeleteBaseGoodsTypeById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseUserById(id: number | string) {
- return api.GetDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<User>>;
- }
- export function GetBaseUserListByUser(param: User, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/user/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<User>>>;
- }
- export function GetBaseUserListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/user/in", {
- ids: ids
- }, true) as Promise<ResponseData<User[]>>;
- }
- export function SaveBaseUser(User: User) {
- return api.PostDataByPath("/back/base/user", { user: User}, true) as Promise<ResponseData<User>>;
- }
- export function UpdateBaseUser(User: User, id: number | string) {
- return api.PutDataByPath("/back/base/user", { user: User, id: id}, true) as Promise<ResponseData<User>>;
- }
- export function DeleteBaseUserById(id: number | string) {
- return api.DeleteDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseUserWalletById(id: number | string) {
- return api.GetDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<UserWallet>>;
- }
- export function GetBaseUserWalletListByUserWallet(param: UserWallet, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/userWallet/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<UserWallet>>>;
- }
- export function GetBaseUserWalletListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/userWallet/in", {
- ids: ids
- }, true) as Promise<ResponseData<UserWallet[]>>;
- }
- export function SaveBaseUserWallet(UserWallet: UserWallet) {
- return api.PostDataByPath("/back/base/userWallet", { userWallet: UserWallet}, true) as Promise<ResponseData<UserWallet>>;
- }
- export function UpdateBaseUserWallet(UserWallet: UserWallet, id: number | string) {
- return api.PutDataByPath("/back/base/userWallet", { userWallet: UserWallet, id: id}, true) as Promise<ResponseData<UserWallet>>;
- }
- export function DeleteBaseUserWalletById(id: number | string) {
- return api.DeleteDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseAuthorityById(id: number | string) {
- return api.GetDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<Authority>>;
- }
- export function GetBaseAuthorityListByAuthority(param: Authority, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/authority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Authority>>>;
- }
- export function GetBaseAuthorityListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/authority/in", {
- ids: ids
- }, true) as Promise<ResponseData<Authority[]>>;
- }
- export function SaveBaseAuthority(Authority: Authority) {
- return api.PostDataByPath("/back/base/authority", { authority: Authority}, true) as Promise<ResponseData<Authority>>;
- }
- export function UpdateBaseAuthority(Authority: Authority, id: number | string) {
- return api.PutDataByPath("/back/base/authority", { authority: Authority, id: id}, true) as Promise<ResponseData<Authority>>;
- }
- export function DeleteBaseAuthorityById(id: number | string) {
- return api.DeleteDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseDictDataById(id: number | string) {
- return api.GetDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<DictData>>;
- }
- export function GetBaseDictDataListByDictData(param: DictData, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/dictData/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictData>>>;
- }
- export function GetBaseDictDataListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/dictData/in", {
- ids: ids
- }, true) as Promise<ResponseData<DictData[]>>;
- }
- export function SaveBaseDictData(DictData: DictData) {
- return api.PostDataByPath("/back/base/dictData", { dictData: DictData}, true) as Promise<ResponseData<DictData>>;
- }
- export function UpdateBaseDictData(DictData: DictData, id: number | string) {
- return api.PutDataByPath("/back/base/dictData", { dictData: DictData, id: id}, true) as Promise<ResponseData<DictData>>;
- }
- export function DeleteBaseDictDataById(id: number | string) {
- return api.DeleteDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseDictTypeById(id: number | string) {
- return api.GetDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<DictType>>;
- }
- export function GetBaseDictTypeListByDictType(param: DictType, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/dictType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictType>>>;
- }
- export function GetBaseDictTypeListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/dictType/in", {
- ids: ids
- }, true) as Promise<ResponseData<DictType[]>>;
- }
- export function SaveBaseDictType(DictType: DictType) {
- return api.PostDataByPath("/back/base/dictType", { dictType: DictType}, true) as Promise<ResponseData<DictType>>;
- }
- export function UpdateBaseDictType(DictType: DictType, id: number | string) {
- return api.PutDataByPath("/back/base/dictType", { dictType: DictType, id: id}, true) as Promise<ResponseData<DictType>>;
- }
- export function DeleteBaseDictTypeById(id: number | string) {
- return api.DeleteDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseManageUserById(id: number | string) {
- return api.GetDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<ManageUser>>;
- }
- export function GetBaseManageUserListByManageUser(param: ManageUser, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/manageUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ManageUser>>>;
- }
- export function GetBaseManageUserListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/manageUser/in", {
- ids: ids
- }, true) as Promise<ResponseData<ManageUser[]>>;
- }
- export function SaveBaseManageUser(ManageUser: ManageUser) {
- return api.PostDataByPath("/back/base/manageUser", { manageUser: ManageUser}, true) as Promise<ResponseData<ManageUser>>;
- }
- export function UpdateBaseManageUser(ManageUser: ManageUser, id: number | string) {
- return api.PutDataByPath("/back/base/manageUser", { manageUser: ManageUser, id: id}, true) as Promise<ResponseData<ManageUser>>;
- }
- export function DeleteBaseManageUserById(id: number | string) {
- return api.DeleteDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopAdviceCarouselById(id: number | string) {
- return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
- }
- export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {
- ids: ids
- }, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
- }
- export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
- return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function DeleteBaseShopAdviceCarouselById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopTopicById(id: number | string) {
- return api.GetDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<ShopTopic>>;
- }
- export function GetBaseShopTopicListByShopTopic(param: ShopTopic, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopic>>>;
- }
- export function GetBaseShopTopicListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopTopic/in", {
- ids: ids
- }, true) as Promise<ResponseData<ShopTopic[]>>;
- }
- export function SaveBaseShopTopic(ShopTopic: ShopTopic) {
- return api.PostDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic}, true) as Promise<ResponseData<ShopTopic>>;
- }
- export function UpdateBaseShopTopic(ShopTopic: ShopTopic, id: number | string) {
- return api.PutDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic, id: id}, true) as Promise<ResponseData<ShopTopic>>;
- }
- export function DeleteBaseShopTopicById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopTopicSkuById(id: number | string) {
- return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
- }
- export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopTopicSku/in", {
- ids: ids
- }, true) as Promise<ResponseData<ShopTopicSku[]>>;
- }
- export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
- return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
- return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function DeleteBaseShopTopicSkuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopAdviceCarouselById(id: number | string) {
- return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
- }
- export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {
- ids: ids
- }, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
- }
- export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
- return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function DeleteBaseShopAdviceCarouselById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopTopicSkuById(id: number | string) {
- return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
- }
- export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopTopicSku/in", {
- ids: ids
- }, true) as Promise<ResponseData<ShopTopicSku[]>>;
- }
- export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
- return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
- return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function DeleteBaseShopTopicSkuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseAuthorityById(id: number | string) {
- return api.GetDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<Authority>>;
- }
- export function GetBaseAuthorityListByAuthority(param: Authority, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/authority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Authority>>>;
- }
- export function GetBaseAuthorityListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/authority/in", {
- ids: ids
- }, true) as Promise<ResponseData<Authority[]>>;
- }
- export function SaveBaseAuthority(Authority: Authority) {
- return api.PostDataByPath("/back/base/authority", { authority: Authority}, true) as Promise<ResponseData<Authority>>;
- }
- export function UpdateBaseAuthority(Authority: Authority, id: number | string) {
- return api.PutDataByPath("/back/base/authority", { authority: Authority, id: id}, true) as Promise<ResponseData<Authority>>;
- }
- export function DeleteBaseAuthorityById(id: number | string) {
- return api.DeleteDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export class Article{
-
- id: number
- articleTitle: string
- articleContent: string
- state: string
- articleTagIds: string
- articleTopicId: number
- image: string
- publishTime: string
- eyeFill: number
- likeCount: number
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- id: number
- static Create(){
- return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTime: string,eyeFill: number,likeCount: number,createBy: string,createTime: string,updateBy: string,updateTime: string,id: number,) {
- this.id = id;
- this.articleTitle = articleTitle;
- this.articleContent = articleContent;
- this.state = state;
- this.articleTagIds = articleTagIds;
- this.articleTopicId = articleTopicId;
- this.image = image;
- this.publishTime = publishTime;
- this.eyeFill = eyeFill;
- this.likeCount = likeCount;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.id = id;
-
- }
- }
- export class ArticleTag{
-
- id: number
- tagName: string
- tagDesc: string
- static Create(){
- return new ArticleTag(null,null,null,);
- }
- constructor( id: number,tagName: string,tagDesc: string,) {
- this.id = id;
- this.tagName = tagName;
- this.tagDesc = tagDesc;
-
- }
- }
- export class ArticleTopic{
-
- id: number
- image: string
- topicName: string
- topicDesc: string
- static Create(){
- return new ArticleTopic(null,null,null,null,);
- }
- constructor( id: number,image: string,topicName: string,topicDesc: string,) {
- this.id = id;
- this.image = image;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
-
- }
- }
- export class BackAuthority{
-
- id: number
- authorityName: string
- authorityPath: string
- method: string
- state: string
- authorityVerification: string
- createTime: string
- static Create(){
- return new BackAuthority(null,null,null,null,null,null,null,);
- }
- constructor( id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
- this.id = id;
- this.authorityName = authorityName;
- this.authorityPath = authorityPath;
- this.method = method;
- this.state = state;
- this.authorityVerification = authorityVerification;
- this.createTime = createTime;
-
- }
- }
- export class BackMenu{
-
- id: number
- backMenuName: string
- backMenuPater: number
- sort: number
- icon: string
- remark: string
- backRouterPath: string
- state: string
- static Create(){
- return new BackMenu(null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
- this.id = id;
- this.backMenuName = backMenuName;
- this.backMenuPater = backMenuPater;
- this.sort = sort;
- this.icon = icon;
- this.remark = remark;
- this.backRouterPath = backRouterPath;
- this.state = state;
-
- }
- }
- export class BackRole{
-
- id: number
- roleName: string
- static Create(){
- return new BackRole(null,null,);
- }
- constructor( id: number,roleName: string,) {
- this.id = id;
- this.roleName = roleName;
-
- }
- }
- export class BackRoleAuthority{
-
- id: number
- roleId: number
- authorityId: number
- static Create(){
- return new BackRoleAuthority(null,null,null,);
- }
- constructor( id: number,roleId: number,authorityId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.authorityId = authorityId;
-
- }
- }
- export class BackRoleMenu{
-
- id: number
- roleId: number
- menuId: number
- static Create(){
- return new BackRoleMenu(null,null,null,);
- }
- constructor( id: number,roleId: number,menuId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.menuId = menuId;
-
- }
- }
- export class GenTable{
-
- id: number
- tableName: string
- tableComment: string
- name: string
- routerName: string
- remark: string
- static Create(){
- return new GenTable(null,null,null,null,null,null,);
- }
- constructor( id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
- this.id = id;
- this.tableName = tableName;
- this.tableComment = tableComment;
- this.name = name;
- this.routerName = routerName;
- this.remark = remark;
-
- }
- }
- export class GenTableColumn{
-
- id: number
- tableId: number
- sort: number
- columnName: string
- columnComment: string
- columnType: string
- goType: string
- goField: string
- isKey: string
- isIncrement: string
- isRequired: string
- queryType: string
- vueShowType: string
- dictType: string
- queryType: string
- static Create(){
- return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,tableId: number,sort: number,columnName: string,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,queryType: string,) {
- this.id = id;
- this.tableId = tableId;
- this.sort = sort;
- this.columnName = columnName;
- this.columnComment = columnComment;
- this.columnType = columnType;
- this.goType = goType;
- this.goField = goField;
- this.isKey = isKey;
- this.isIncrement = isIncrement;
- this.isRequired = isRequired;
- this.queryType = queryType;
- this.vueShowType = vueShowType;
- this.dictType = dictType;
- this.queryType = queryType;
-
- }
- }
- export class Goods{
-
- id: number
- typeId: number
- goodsName: string
- introductionId: number
- salesVolume: number
- tagIds: string
- static Create(){
- return new Goods(null,null,null,null,null,null,);
- }
- constructor( id: number,typeId: number,goodsName: string,introductionId: number,salesVolume: number,tagIds: string,) {
- this.id = id;
- this.typeId = typeId;
- this.goodsName = goodsName;
- this.introductionId = introductionId;
- this.salesVolume = salesVolume;
- this.tagIds = tagIds;
-
- }
- }
- export class GoodsCommodityArea{
-
- id: number
- goodsId: number
- commodityAreaName: string
- detailImage: string
- detailIntroductionId: number
- static Create(){
- return new GoodsCommodityArea(null,null,null,null,null,);
- }
- constructor( id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
- this.id = id;
- this.goodsId = goodsId;
- this.commodityAreaName = commodityAreaName;
- this.detailImage = detailImage;
- this.detailIntroductionId = detailIntroductionId;
-
- }
- }
- export class GoodsCoupon{
-
- id: number
- couponName: string
- couponDesc: string
- cashBackPoint: number
- cashBackPrice: number
- conditionByTopic: string
- conditionByType: string
- conditionByGoods: string
- grantCount: string
- count: number
- receiveType: string
- validity: string
- validityPeriod: string
- static Create(){
- return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,couponName: string,couponDesc: string,cashBackPoint: number,cashBackPrice: number,conditionByTopic: string,conditionByType: string,conditionByGoods: string,grantCount: string,count: number,receiveType: string,validity: string,validityPeriod: string,) {
- this.id = id;
- this.couponName = couponName;
- this.couponDesc = couponDesc;
- this.cashBackPoint = cashBackPoint;
- this.cashBackPrice = cashBackPrice;
- this.conditionByTopic = conditionByTopic;
- this.conditionByType = conditionByType;
- this.conditionByGoods = conditionByGoods;
- this.grantCount = grantCount;
- this.count = count;
- this.receiveType = receiveType;
- this.validity = validity;
- this.validityPeriod = validityPeriod;
-
- }
- }
- export class GoodsCouponUser{
-
- id: number
- userId: number
- couponId: number
- collectionTime: string
- state: string
- static Create(){
- return new GoodsCouponUser(null,null,null,null,null,);
- }
- constructor( id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
- this.id = id;
- this.userId = userId;
- this.couponId = couponId;
- this.collectionTime = collectionTime;
- this.state = state;
-
- }
- }
- export class GoodsIntroduction{
-
- id: number
- goodsArticleName: string
- goodsArticle: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- static Create(){
- return new GoodsIntroduction(null,null,null,null,null,null,null,);
- }
- constructor( id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
- this.id = id;
- this.goodsArticleName = goodsArticleName;
- this.goodsArticle = goodsArticle;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
-
- }
- }
- export class GoodsOrder{
-
- id: number
- orderName: string
- skuId: number
- count: number
- price: number
- totalPrice: number
- contactInformation: string
- couponUserId: number
- state: string
- createBy: number
- createTime: string
- static Create(){
- return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,orderName: string,skuId: number,count: number,price: number,totalPrice: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,) {
- this.id = id;
- this.orderName = orderName;
- this.skuId = skuId;
- this.count = count;
- this.price = price;
- this.totalPrice = totalPrice;
- this.contactInformation = contactInformation;
- this.couponUserId = couponUserId;
- this.state = state;
- this.createBy = createBy;
- this.createTime = createTime;
-
- }
- }
- export class GoodsSku{
-
- id: number
- skuImage: string
- skuName: string
- price: number
- historicalPrices: number
- inventoryNumber: number
- commodityAreaId: number
- goodsId: number
- createBy: string
- createTime: string
- static Create(){
- return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
- this.id = id;
- this.skuImage = skuImage;
- this.skuName = skuName;
- this.price = price;
- this.historicalPrices = historicalPrices;
- this.inventoryNumber = inventoryNumber;
- this.commodityAreaId = commodityAreaId;
- this.goodsId = goodsId;
- this.createBy = createBy;
- this.createTime = createTime;
-
- }
- }
- export class GoodsSkuCard{
-
- id: number
- cardName: string
- state: string
- count: number
- totalCount: string
- cardKey: string
- use: string
- uploadTime: string
- skuId: number
- sort: string
- static Create(){
- return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
- this.id = id;
- this.cardName = cardName;
- this.state = state;
- this.count = count;
- this.totalCount = totalCount;
- this.cardKey = cardKey;
- this.use = use;
- this.uploadTime = uploadTime;
- this.skuId = skuId;
- this.sort = sort;
-
- }
- }
- export class GoodsTag{
-
- id: number
- name: string
- iconUrl: string
- tag: string
- static Create(){
- return new GoodsTag(null,null,null,null,);
- }
- constructor( id: number,name: string,iconUrl: string,tag: string,) {
- this.id = id;
- this.name = name;
- this.iconUrl = iconUrl;
- this.tag = tag;
-
- }
- }
- export class GoodsType{
-
- id: number
- sort: number
- typeImage: string
- typeName: string
- createTime: string
- static Create(){
- return new GoodsType(null,null,null,null,null,);
- }
- constructor( id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
- this.id = id;
- this.sort = sort;
- this.typeImage = typeImage;
- this.typeName = typeName;
- this.createTime = createTime;
-
- }
- }
- export class User{
-
- id: number
- username: string
- password: string
- creationTime: number
- loginTime: number
- status: string
- roleId: number
- phone: string
- email: string
- name: string
- avatar: string
- recommendCode: string
- static Create(){
- return new User(null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,name: string,avatar: string,recommendCode: string,) {
- this.id = id;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.name = name;
- this.avatar = avatar;
- this.recommendCode = recommendCode;
-
- }
- }
- export class UserWallet{
-
- id: number
- userId: number
- balance: number
- promotionAmount: number
- rechargeAmount: number
- static Create(){
- return new UserWallet(null,null,null,null,null,);
- }
- constructor( id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
- this.id = id;
- this.userId = userId;
- this.balance = balance;
- this.promotionAmount = promotionAmount;
- this.rechargeAmount = rechargeAmount;
-
- }
- }
- export class Authority{
-
- id: number
- authorityName: string
- authorityPath: string
- static Create(){
- return new Authority(null,null,null,);
- }
- constructor( id: number,authorityName: string,authorityPath: string,) {
- this.id = id;
- this.authorityName = authorityName;
- this.authorityPath = authorityPath;
-
- }
- }
- export class DictData{
-
- id: number
- sort: number
- dictLabel: string
- dictValue: string
- dictType: string
- status: string
- cssStyle: string
- isDefault: string
- remark: string
- static Create(){
- return new DictData(null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
- this.id = id;
- this.sort = sort;
- this.dictLabel = dictLabel;
- this.dictValue = dictValue;
- this.dictType = dictType;
- this.status = status;
- this.cssStyle = cssStyle;
- this.isDefault = isDefault;
- this.remark = remark;
-
- }
- }
- export class DictType{
-
- id: number
- dictName: string
- dictType: string
- status: string
- remark: string
- static Create(){
- return new DictType(null,null,null,null,null,);
- }
- constructor( id: number,dictName: string,dictType: string,status: string,remark: string,) {
- this.id = id;
- this.dictName = dictName;
- this.dictType = dictType;
- this.status = status;
- this.remark = remark;
-
- }
- }
- export class ManageUser{
-
- id: number
- name: string
- username: string
- password: string
- creationTime: number
- loginTime: number
- status: string
- roleId: number
- phone: string
- email: string
- avatar: string
- static Create(){
- return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
- this.id = id;
- this.name = name;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.avatar = avatar;
-
- }
- }
- export class ShopAdviceCarousel{
-
- id: number
- name: string
- toId: number
- adviceType: string
- sort: string
- state: string
- showType: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- static Create(){
- return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
- this.id = id;
- this.name = name;
- this.toId = toId;
- this.adviceType = adviceType;
- this.sort = sort;
- this.state = state;
- this.showType = showType;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
-
- }
- }
- export class ShopTopic{
-
- id: number
- sort: string
- parentId: number
- topicPageImage: string
- topicName: string
- topicDesc: string
- typeIds: string
- static Create(){
- return new ShopTopic(null,null,null,null,null,null,null,);
- }
- constructor( id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
- this.id = id;
- this.sort = sort;
- this.parentId = parentId;
- this.topicPageImage = topicPageImage;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
- this.typeIds = typeIds;
-
- }
- }
- export class ShopTopicSku{
-
- id: number
- topicId: number
- skuId: number
- static Create(){
- return new ShopTopicSku(null,null,null,);
- }
- constructor( id: number,topicId: number,skuId: number,) {
- this.id = id;
- this.topicId = topicId;
- this.skuId = skuId;
-
- }
- }
- export class ShopAdviceCarousel{
-
- id: number
- name: string
- toId: number
- adviceType: string
- sort: string
- state: string
- showType: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- imageUrl: string
- toType: string
- static Create(){
- return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,imageUrl: string,toType: string,) {
- this.id = id;
- this.name = name;
- this.toId = toId;
- this.adviceType = adviceType;
- this.sort = sort;
- this.state = state;
- this.showType = showType;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.imageUrl = imageUrl;
- this.toType = toType;
-
- }
- }
- export class ShopTopicSku{
-
- id: number
- topicId: number
- skuId: number
- static Create(){
- return new ShopTopicSku(null,null,null,);
- }
- constructor( id: number,topicId: number,skuId: number,) {
- this.id = id;
- this.topicId = topicId;
- this.skuId = skuId;
-
- }
- }
- export class Authority{
-
- static Create(){
- return new Authority();
- }
- constructor( ) {
-
- }
- }
- export class ArticleQuery{
-
- id: number
- articleTitle: string
- articleContent: string
- state: string
- articleTagIds: string
- articleTopicId: number
- image: string
- publishTime: string
- eyeFill: number
- likeCount: number
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- id: number
- static Create(){
- return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTime: string,eyeFill: number,likeCount: number,createBy: string,createTime: string,updateBy: string,updateTime: string,id: number,) {
- this.id = id;
- this.articleTitle = articleTitle;
- this.articleContent = articleContent;
- this.state = state;
- this.articleTagIds = articleTagIds;
- this.articleTopicId = articleTopicId;
- this.image = image;
- this.publishTime = publishTime;
- this.eyeFill = eyeFill;
- this.likeCount = likeCount;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.id = id;
-
- }
- }
- export class ArticleTagQuery{
-
- id: number
- tagName: string
- tagDesc: string
- static Create(){
- return new ArticleTag(null,null,null,);
- }
- constructor(id: number,tagName: string,tagDesc: string,) {
- this.id = id;
- this.tagName = tagName;
- this.tagDesc = tagDesc;
-
- }
- }
- export class ArticleTopicQuery{
-
- id: number
- image: string
- topicName: string
- topicDesc: string
- static Create(){
- return new ArticleTopic(null,null,null,null,);
- }
- constructor(id: number,image: string,topicName: string,topicDesc: string,) {
- this.id = id;
- this.image = image;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
-
- }
- }
- export class BackAuthorityQuery{
-
- id: number
- authorityName: string
- authorityPath: string
- method: string
- state: string
- authorityVerification: string
- createTime: string
- static Create(){
- return new BackAuthority(null,null,null,null,null,null,null,);
- }
- constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
- this.id = id;
- this.authorityName = authorityName;
- this.authorityPath = authorityPath;
- this.method = method;
- this.state = state;
- this.authorityVerification = authorityVerification;
- this.createTime = createTime;
-
- }
- }
- export class BackMenuQuery{
-
- id: number
- backMenuName: string
- backMenuPater: number
- sort: number
- icon: string
- remark: string
- backRouterPath: string
- state: string
- static Create(){
- return new BackMenu(null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
- this.id = id;
- this.backMenuName = backMenuName;
- this.backMenuPater = backMenuPater;
- this.sort = sort;
- this.icon = icon;
- this.remark = remark;
- this.backRouterPath = backRouterPath;
- this.state = state;
-
- }
- }
- export class BackRoleQuery{
-
- id: number
- roleName: string
- static Create(){
- return new BackRole(null,null,);
- }
- constructor(id: number,roleName: string,) {
- this.id = id;
- this.roleName = roleName;
-
- }
- }
- export class BackRoleAuthorityQuery{
-
- id: number
- roleId: number
- authorityId: number
- static Create(){
- return new BackRoleAuthority(null,null,null,);
- }
- constructor(id: number,roleId: number,authorityId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.authorityId = authorityId;
-
- }
- }
- export class BackRoleMenuQuery{
-
- id: number
- roleId: number
- menuId: number
- static Create(){
- return new BackRoleMenu(null,null,null,);
- }
- constructor(id: number,roleId: number,menuId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.menuId = menuId;
-
- }
- }
- export class GenTableQuery{
-
- id: number
- tableName: string
- tableComment: string
- name: string
- routerName: string
- remark: string
- static Create(){
- return new GenTable(null,null,null,null,null,null,);
- }
- constructor(id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
- this.id = id;
- this.tableName = tableName;
- this.tableComment = tableComment;
- this.name = name;
- this.routerName = routerName;
- this.remark = remark;
-
- }
- }
- export class GenTableColumnQuery{
-
- id: number
- tableId: number
- sort: number
- columnName: string
- columnComment: string
- columnType: string
- goType: string
- goField: string
- isKey: string
- isIncrement: string
- isRequired: string
- queryType: string
- vueShowType: string
- dictType: string
- queryType: string
- static Create(){
- return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,tableId: number,sort: number,columnName: string,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,queryType: string,) {
- this.id = id;
- this.tableId = tableId;
- this.sort = sort;
- this.columnName = columnName;
- this.columnComment = columnComment;
- this.columnType = columnType;
- this.goType = goType;
- this.goField = goField;
- this.isKey = isKey;
- this.isIncrement = isIncrement;
- this.isRequired = isRequired;
- this.queryType = queryType;
- this.vueShowType = vueShowType;
- this.dictType = dictType;
- this.queryType = queryType;
-
- }
- }
- export class GoodsQuery{
-
- id: number
- typeId: number
- goodsName: string
- introductionId: number
- salesVolumeStart: number
- salesVolumeEnd: number
- tagIds: string
- static Create(){
- return new Goods(null,null,null,null,null,null,);
- }
- constructor(id: number,typeId: number,goodsName: string,introductionId: number,salesVolumeStart: number,salesVolumeEnd: number,tagIds: string,) {
- this.id = id;
- this.typeId = typeId;
- this.goodsName = goodsName;
- this.introductionId = introductionId;
- this.salesVolumeStart = salesVolumeStart;
- this.salesVolumeEnd = salesVolumeEnd;
- this.tagIds = tagIds;
-
- }
- }
- export class GoodsCommodityAreaQuery{
-
- id: number
- goodsId: number
- commodityAreaName: string
- detailImage: string
- detailIntroductionId: number
- static Create(){
- return new GoodsCommodityArea(null,null,null,null,null,);
- }
- constructor(id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
- this.id = id;
- this.goodsId = goodsId;
- this.commodityAreaName = commodityAreaName;
- this.detailImage = detailImage;
- this.detailIntroductionId = detailIntroductionId;
-
- }
- }
- export class GoodsCouponQuery{
-
- id: number
- couponName: string
- couponDesc: string
- cashBackPoint: number
- cashBackPrice: number
- conditionByTopic: string
- conditionByType: string
- conditionByGoods: string
- grantCount: string
- count: number
- receiveType: string
- validity: string
- validityPeriod: string
- static Create(){
- return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,couponName: string,couponDesc: string,cashBackPoint: number,cashBackPrice: number,conditionByTopic: string,conditionByType: string,conditionByGoods: string,grantCount: string,count: number,receiveType: string,validity: string,validityPeriod: string,) {
- this.id = id;
- this.couponName = couponName;
- this.couponDesc = couponDesc;
- this.cashBackPoint = cashBackPoint;
- this.cashBackPrice = cashBackPrice;
- this.conditionByTopic = conditionByTopic;
- this.conditionByType = conditionByType;
- this.conditionByGoods = conditionByGoods;
- this.grantCount = grantCount;
- this.count = count;
- this.receiveType = receiveType;
- this.validity = validity;
- this.validityPeriod = validityPeriod;
-
- }
- }
- export class GoodsCouponUserQuery{
-
- id: number
- userId: number
- couponId: number
- collectionTime: string
- state: string
- static Create(){
- return new GoodsCouponUser(null,null,null,null,null,);
- }
- constructor(id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
- this.id = id;
- this.userId = userId;
- this.couponId = couponId;
- this.collectionTime = collectionTime;
- this.state = state;
-
- }
- }
- export class GoodsIntroductionQuery{
-
- id: number
- goodsArticleName: string
- goodsArticle: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- static Create(){
- return new GoodsIntroduction(null,null,null,null,null,null,null,);
- }
- constructor(id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
- this.id = id;
- this.goodsArticleName = goodsArticleName;
- this.goodsArticle = goodsArticle;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
-
- }
- }
- export class GoodsOrderQuery{
-
- id: number
- orderName: string
- skuId: number
- count: number
- price: number
- totalPrice: number
- contactInformation: string
- couponUserId: number
- state: string
- createBy: number
- createTime: string
- static Create(){
- return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,orderName: string,skuId: number,count: number,price: number,totalPrice: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,) {
- this.id = id;
- this.orderName = orderName;
- this.skuId = skuId;
- this.count = count;
- this.price = price;
- this.totalPrice = totalPrice;
- this.contactInformation = contactInformation;
- this.couponUserId = couponUserId;
- this.state = state;
- this.createBy = createBy;
- this.createTime = createTime;
-
- }
- }
- export class GoodsSkuQuery{
-
- id: number
- skuImage: string
- skuName: string
- price: number
- historicalPrices: number
- inventoryNumber: number
- commodityAreaId: number
- goodsId: number
- createBy: string
- createTime: string
- static Create(){
- return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
- this.id = id;
- this.skuImage = skuImage;
- this.skuName = skuName;
- this.price = price;
- this.historicalPrices = historicalPrices;
- this.inventoryNumber = inventoryNumber;
- this.commodityAreaId = commodityAreaId;
- this.goodsId = goodsId;
- this.createBy = createBy;
- this.createTime = createTime;
-
- }
- }
- export class GoodsSkuCardQuery{
-
- id: number
- cardName: string
- state: string
- count: number
- totalCount: string
- cardKey: string
- use: string
- uploadTime: string
- skuId: number
- sort: string
- static Create(){
- return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
- this.id = id;
- this.cardName = cardName;
- this.state = state;
- this.count = count;
- this.totalCount = totalCount;
- this.cardKey = cardKey;
- this.use = use;
- this.uploadTime = uploadTime;
- this.skuId = skuId;
- this.sort = sort;
-
- }
- }
- export class GoodsTagQuery{
-
- id: number
- name: string
- iconUrl: string
- tag: string
- static Create(){
- return new GoodsTag(null,null,null,null,);
- }
- constructor(id: number,name: string,iconUrl: string,tag: string,) {
- this.id = id;
- this.name = name;
- this.iconUrl = iconUrl;
- this.tag = tag;
-
- }
- }
- export class GoodsTypeQuery{
-
- id: number
- sort: number
- typeImage: string
- typeName: string
- createTime: string
- static Create(){
- return new GoodsType(null,null,null,null,null,);
- }
- constructor(id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
- this.id = id;
- this.sort = sort;
- this.typeImage = typeImage;
- this.typeName = typeName;
- this.createTime = createTime;
-
- }
- }
- export class UserQuery{
-
- id: number
- username: string
- password: string
- creationTime: number
- loginTime: number
- status: string
- roleId: number
- phone: string
- email: string
- name: string
- avatar: string
- recommendCode: string
- static Create(){
- return new User(null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,name: string,avatar: string,recommendCode: string,) {
- this.id = id;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.name = name;
- this.avatar = avatar;
- this.recommendCode = recommendCode;
-
- }
- }
- export class UserWalletQuery{
-
- id: number
- userId: number
- balance: number
- promotionAmount: number
- rechargeAmount: number
- static Create(){
- return new UserWallet(null,null,null,null,null,);
- }
- constructor(id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
- this.id = id;
- this.userId = userId;
- this.balance = balance;
- this.promotionAmount = promotionAmount;
- this.rechargeAmount = rechargeAmount;
-
- }
- }
- export class AuthorityQuery{
-
- id: number
- authorityName: string
- authorityPath: string
- static Create(){
- return new Authority(null,null,null,);
- }
- constructor(id: number,authorityName: string,authorityPath: string,) {
- this.id = id;
- this.authorityName = authorityName;
- this.authorityPath = authorityPath;
-
- }
- }
- export class DictDataQuery{
-
- id: number
- sort: number
- dictLabel: string
- dictValue: string
- dictType: string
- status: string
- cssStyle: string
- isDefault: string
- remark: string
- static Create(){
- return new DictData(null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
- this.id = id;
- this.sort = sort;
- this.dictLabel = dictLabel;
- this.dictValue = dictValue;
- this.dictType = dictType;
- this.status = status;
- this.cssStyle = cssStyle;
- this.isDefault = isDefault;
- this.remark = remark;
-
- }
- }
- export class DictTypeQuery{
-
- id: number
- dictName: string
- dictType: string
- status: string
- remark: string
- static Create(){
- return new DictType(null,null,null,null,null,);
- }
- constructor(id: number,dictName: string,dictType: string,status: string,remark: string,) {
- this.id = id;
- this.dictName = dictName;
- this.dictType = dictType;
- this.status = status;
- this.remark = remark;
-
- }
- }
- export class ManageUserQuery{
-
- id: number
- name: string
- username: string
- password: string
- creationTime: number
- loginTime: number
- status: string
- roleId: number
- phone: string
- email: string
- avatar: string
- static Create(){
- return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
- this.id = id;
- this.name = name;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.avatar = avatar;
-
- }
- }
- export class ShopAdviceCarouselQuery{
-
- id: number
- name: string
- toId: number
- adviceType: string
- sort: string
- state: string
- showType: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- static Create(){
- return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
- this.id = id;
- this.name = name;
- this.toId = toId;
- this.adviceType = adviceType;
- this.sort = sort;
- this.state = state;
- this.showType = showType;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
-
- }
- }
- export class ShopTopicQuery{
-
- id: number
- sort: string
- parentId: number
- topicPageImage: string
- topicName: string
- topicDesc: string
- typeIds: string
- static Create(){
- return new ShopTopic(null,null,null,null,null,null,null,);
- }
- constructor(id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
- this.id = id;
- this.sort = sort;
- this.parentId = parentId;
- this.topicPageImage = topicPageImage;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
- this.typeIds = typeIds;
-
- }
- }
- export class ShopTopicSkuQuery{
-
- id: number
- topicId: number
- skuId: number
- static Create(){
- return new ShopTopicSku(null,null,null,);
- }
- constructor(id: number,topicId: number,skuId: number,) {
- this.id = id;
- this.topicId = topicId;
- this.skuId = skuId;
-
- }
- }
- export class ShopAdviceCarouselQuery{
-
- id: number
- name: string
- toId: number
- adviceType: string
- sort: string
- state: string
- showType: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- imageUrl: string
- toType: string
- static Create(){
- return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,imageUrl: string,toType: string,) {
- this.id = id;
- this.name = name;
- this.toId = toId;
- this.adviceType = adviceType;
- this.sort = sort;
- this.state = state;
- this.showType = showType;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.imageUrl = imageUrl;
- this.toType = toType;
-
- }
- }
- export class ShopTopicSkuQuery{
-
- id: number
- topicId: number
- skuId: number
- static Create(){
- return new ShopTopicSku(null,null,null,);
- }
- constructor(id: number,topicId: number,skuId: number,) {
- this.id = id;
- this.topicId = topicId;
- this.skuId = skuId;
-
- }
- }
- export class AuthorityQuery{
-
- static Create(){
- return new Authority();
- }
- constructor() {
-
- }
- }
|