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>; } 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>>; } export function GetBaseArticleListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/article/in", {ids: ids}, true) as Promise>; } export function SaveBaseArticle(Article: Article) { return api.PostDataByPath("/back/base/article", { article: Article}, true) as Promise>; } export function UpdateBaseArticle(Article: Article, id: number | string) { return api.PutDataByPath("/back/base/article", { article: Article, id: id}, true) as Promise>; } export function DeleteBaseArticleById(id: number | string) { return api.DeleteDataByPath("/back/base/article?id=" + id, {}, true) as Promise>; } export function GetBaseArticleTagById(id: number | string) { return api.GetDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseArticleTagListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/articleTag/in", {ids: ids}, true) as Promise>; } export function SaveBaseArticleTag(ArticleTag: ArticleTag) { return api.PostDataByPath("/back/base/articleTag", { articleTag: ArticleTag}, true) as Promise>; } export function UpdateBaseArticleTag(ArticleTag: ArticleTag, id: number | string) { return api.PutDataByPath("/back/base/articleTag", { articleTag: ArticleTag, id: id}, true) as Promise>; } export function DeleteBaseArticleTagById(id: number | string) { return api.DeleteDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise>; } export function GetBaseArticleTopicById(id: number | string) { return api.GetDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseArticleTopicListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/articleTopic/in", {ids: ids}, true) as Promise>; } export function SaveBaseArticleTopic(ArticleTopic: ArticleTopic) { return api.PostDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic}, true) as Promise>; } export function UpdateBaseArticleTopic(ArticleTopic: ArticleTopic, id: number | string) { return api.PutDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic, id: id}, true) as Promise>; } export function DeleteBaseArticleTopicById(id: number | string) { return api.DeleteDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise>; } export function GetBaseBackAuthorityById(id: number | string) { return api.GetDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseBackAuthorityListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/backAuthority/in", {ids: ids}, true) as Promise>; } export function SaveBaseBackAuthority(BackAuthority: BackAuthority) { return api.PostDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority}, true) as Promise>; } export function UpdateBaseBackAuthority(BackAuthority: BackAuthority, id: number | string) { return api.PutDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority, id: id}, true) as Promise>; } export function DeleteBaseBackAuthorityById(id: number | string) { return api.DeleteDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise>; } export function GetBaseBackMenuById(id: number | string) { return api.GetDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseBackMenuListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/backMenu/in", {ids: ids}, true) as Promise>; } export function SaveBaseBackMenu(BackMenu: BackMenu) { return api.PostDataByPath("/back/base/backMenu", { backMenu: BackMenu}, true) as Promise>; } export function UpdateBaseBackMenu(BackMenu: BackMenu, id: number | string) { return api.PutDataByPath("/back/base/backMenu", { backMenu: BackMenu, id: id}, true) as Promise>; } export function DeleteBaseBackMenuById(id: number | string) { return api.DeleteDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise>; } export function GetBaseBackRoleById(id: number | string) { return api.GetDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseBackRoleListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/backRole/in", {ids: ids}, true) as Promise>; } export function SaveBaseBackRole(BackRole: BackRole) { return api.PostDataByPath("/back/base/backRole", { backRole: BackRole}, true) as Promise>; } export function UpdateBaseBackRole(BackRole: BackRole, id: number | string) { return api.PutDataByPath("/back/base/backRole", { backRole: BackRole, id: id}, true) as Promise>; } export function DeleteBaseBackRoleById(id: number | string) { return api.DeleteDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise>; } export function GetBaseBackRoleAuthorityById(id: number | string) { return api.GetDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseBackRoleAuthorityListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/backRoleAuthority/in", {ids: ids}, true) as Promise>; } export function SaveBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority) { return api.PostDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority}, true) as Promise>; } export function UpdateBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority, id: number | string) { return api.PutDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority, id: id}, true) as Promise>; } export function DeleteBaseBackRoleAuthorityById(id: number | string) { return api.DeleteDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise>; } export function GetBaseBackRoleMenuById(id: number | string) { return api.GetDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseBackRoleMenuListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/backRoleMenu/in", {ids: ids}, true) as Promise>; } export function SaveBaseBackRoleMenu(BackRoleMenu: BackRoleMenu) { return api.PostDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu}, true) as Promise>; } export function UpdateBaseBackRoleMenu(BackRoleMenu: BackRoleMenu, id: number | string) { return api.PutDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu, id: id}, true) as Promise>; } export function DeleteBaseBackRoleMenuById(id: number | string) { return api.DeleteDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise>; } export function GetBaseGenTableById(id: number | string) { return api.GetDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGenTableListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/genTable/in", {ids: ids}, true) as Promise>; } export function SaveBaseGenTable(GenTable: GenTable) { return api.PostDataByPath("/back/base/genTable", { genTable: GenTable}, true) as Promise>; } export function UpdateBaseGenTable(GenTable: GenTable, id: number | string) { return api.PutDataByPath("/back/base/genTable", { genTable: GenTable, id: id}, true) as Promise>; } export function DeleteBaseGenTableById(id: number | string) { return api.DeleteDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise>; } export function GetBaseGenTableColumnById(id: number | string) { return api.GetDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGenTableColumnListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/genTableColumn/in", {ids: ids}, true) as Promise>; } export function SaveBaseGenTableColumn(GenTableColumn: GenTableColumn) { return api.PostDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn}, true) as Promise>; } export function UpdateBaseGenTableColumn(GenTableColumn: GenTableColumn, id: number | string) { return api.PutDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn, id: id}, true) as Promise>; } export function DeleteBaseGenTableColumnById(id: number | string) { return api.DeleteDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsById(id: number | string) { return api.GetDataByPath("/back/base/goods?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goods/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoods(Goods: Goods) { return api.PostDataByPath("/back/base/goods", { goods: Goods}, true) as Promise>; } export function UpdateBaseGoods(Goods: Goods, id: number | string) { return api.PutDataByPath("/back/base/goods", { goods: Goods, id: id}, true) as Promise>; } export function DeleteBaseGoodsById(id: number | string) { return api.DeleteDataByPath("/back/base/goods?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsCommodityAreaById(id: number | string) { return api.GetDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsCommodityAreaListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsCommodityArea/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea) { return api.PostDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea}, true) as Promise>; } export function UpdateBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea, id: number | string) { return api.PutDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea, id: id}, true) as Promise>; } export function DeleteBaseGoodsCommodityAreaById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsCouponById(id: number | string) { return api.GetDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsCouponListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsCoupon/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsCoupon(GoodsCoupon: GoodsCoupon) { return api.PostDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon}, true) as Promise>; } export function UpdateBaseGoodsCoupon(GoodsCoupon: GoodsCoupon, id: number | string) { return api.PutDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon, id: id}, true) as Promise>; } export function DeleteBaseGoodsCouponById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsCouponUserById(id: number | string) { return api.GetDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsCouponUserListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsCouponUser/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser) { return api.PostDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser}, true) as Promise>; } export function UpdateBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser, id: number | string) { return api.PutDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser, id: id}, true) as Promise>; } export function DeleteBaseGoodsCouponUserById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsIntroductionById(id: number | string) { return api.GetDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsIntroductionListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsIntroduction/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction) { return api.PostDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction}, true) as Promise>; } export function UpdateBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction, id: number | string) { return api.PutDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction, id: id}, true) as Promise>; } export function DeleteBaseGoodsIntroductionById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsOrderById(id: number | string) { return api.GetDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsOrderListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsOrder/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsOrder(GoodsOrder: GoodsOrder) { return api.PostDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder}, true) as Promise>; } export function UpdateBaseGoodsOrder(GoodsOrder: GoodsOrder, id: number | string) { return api.PutDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder, id: id}, true) as Promise>; } export function DeleteBaseGoodsOrderById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsSkuById(id: number | string) { return api.GetDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsSkuListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsSku/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsSku(GoodsSku: GoodsSku) { return api.PostDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku}, true) as Promise>; } export function UpdateBaseGoodsSku(GoodsSku: GoodsSku, id: number | string) { return api.PutDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku, id: id}, true) as Promise>; } export function DeleteBaseGoodsSkuById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsSkuCardById(id: number | string) { return api.GetDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsSkuCardListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsSkuCard/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard) { return api.PostDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard}, true) as Promise>; } export function UpdateBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard, id: number | string) { return api.PutDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard, id: id}, true) as Promise>; } export function DeleteBaseGoodsSkuCardById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsTagById(id: number | string) { return api.GetDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsTagListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsTag/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsTag(GoodsTag: GoodsTag) { return api.PostDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag}, true) as Promise>; } export function UpdateBaseGoodsTag(GoodsTag: GoodsTag, id: number | string) { return api.PutDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag, id: id}, true) as Promise>; } export function DeleteBaseGoodsTagById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise>; } export function GetBaseGoodsTypeById(id: number | string) { return api.GetDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseGoodsTypeListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/goodsType/in", {ids: ids}, true) as Promise>; } export function SaveBaseGoodsType(GoodsType: GoodsType) { return api.PostDataByPath("/back/base/goodsType", { goodsType: GoodsType}, true) as Promise>; } export function UpdateBaseGoodsType(GoodsType: GoodsType, id: number | string) { return api.PutDataByPath("/back/base/goodsType", { goodsType: GoodsType, id: id}, true) as Promise>; } export function DeleteBaseGoodsTypeById(id: number | string) { return api.DeleteDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise>; } export function GetBaseUserById(id: number | string) { return api.GetDataByPath("/back/base/user?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseUserListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/user/in", {ids: ids}, true) as Promise>; } export function SaveBaseUser(User: User) { return api.PostDataByPath("/back/base/user", { user: User}, true) as Promise>; } export function UpdateBaseUser(User: User, id: number | string) { return api.PutDataByPath("/back/base/user", { user: User, id: id}, true) as Promise>; } export function DeleteBaseUserById(id: number | string) { return api.DeleteDataByPath("/back/base/user?id=" + id, {}, true) as Promise>; } export function GetBaseUserWalletById(id: number | string) { return api.GetDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseUserWalletListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/userWallet/in", {ids: ids}, true) as Promise>; } export function SaveBaseUserWallet(UserWallet: UserWallet) { return api.PostDataByPath("/back/base/userWallet", { userWallet: UserWallet}, true) as Promise>; } export function UpdateBaseUserWallet(UserWallet: UserWallet, id: number | string) { return api.PutDataByPath("/back/base/userWallet", { userWallet: UserWallet, id: id}, true) as Promise>; } export function DeleteBaseUserWalletById(id: number | string) { return api.DeleteDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise>; } export function GetBaseDictDataById(id: number | string) { return api.GetDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseDictDataListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/dictData/in", {ids: ids}, true) as Promise>; } export function SaveBaseDictData(DictData: DictData) { return api.PostDataByPath("/back/base/dictData", { dictData: DictData}, true) as Promise>; } export function UpdateBaseDictData(DictData: DictData, id: number | string) { return api.PutDataByPath("/back/base/dictData", { dictData: DictData, id: id}, true) as Promise>; } export function DeleteBaseDictDataById(id: number | string) { return api.DeleteDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise>; } export function GetBaseDictTypeById(id: number | string) { return api.GetDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseDictTypeListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/dictType/in", {ids: ids}, true) as Promise>; } export function SaveBaseDictType(DictType: DictType) { return api.PostDataByPath("/back/base/dictType", { dictType: DictType}, true) as Promise>; } export function UpdateBaseDictType(DictType: DictType, id: number | string) { return api.PutDataByPath("/back/base/dictType", { dictType: DictType, id: id}, true) as Promise>; } export function DeleteBaseDictTypeById(id: number | string) { return api.DeleteDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise>; } export function GetBaseManageUserById(id: number | string) { return api.GetDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseManageUserListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/manageUser/in", {ids: ids}, true) as Promise>; } export function SaveBaseManageUser(ManageUser: ManageUser) { return api.PostDataByPath("/back/base/manageUser", { manageUser: ManageUser}, true) as Promise>; } export function UpdateBaseManageUser(ManageUser: ManageUser, id: number | string) { return api.PutDataByPath("/back/base/manageUser", { manageUser: ManageUser, id: id}, true) as Promise>; } export function DeleteBaseManageUserById(id: number | string) { return api.DeleteDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise>; } export function GetBaseShopTopicById(id: number | string) { return api.GetDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseShopTopicListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/shopTopic/in", {ids: ids}, true) as Promise>; } export function SaveBaseShopTopic(ShopTopic: ShopTopic) { return api.PostDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic}, true) as Promise>; } export function UpdateBaseShopTopic(ShopTopic: ShopTopic, id: number | string) { return api.PutDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic, id: id}, true) as Promise>; } export function DeleteBaseShopTopicById(id: number | string) { return api.DeleteDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise>; } export function GetBaseShopAdviceCarouselById(id: number | string) { return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {ids: ids}, true) as Promise>; } export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) { return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise>; } export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) { return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise>; } export function DeleteBaseShopAdviceCarouselById(id: number | string) { return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise>; } export function GetBaseShopTopicSkuById(id: number | string) { return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise>; } 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>>; } export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) { return api.PostDataByPath("/back/base/shopTopicSku/in", {ids: ids}, true) as Promise>; } export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) { return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise>; } export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) { return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise>; } export function DeleteBaseShopTopicSkuById(id: number | string) { return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise>; } 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 articleDesc: string 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,articleDesc: string,) { 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.articleDesc = articleDesc; } } export class ArticleTag{ id: number tagName: string tagDesc: string tagTextColor: string tagBackgroundColor: string static Create(){ return new ArticleTag(null,null,null,null,null,); } constructor( id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) { this.id = id; this.tagName = tagName; this.tagDesc = tagDesc; this.tagTextColor = tagTextColor; this.tagBackgroundColor = tagBackgroundColor; } } 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 columnComment: string columnType: string goType: string goField: string isKey: string isIncrement: string isRequired: string queryType: string vueShowType: string dictType: string columnName: string static Create(){ return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,); } constructor( id: number,tableId: number,sort: number,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,columnName: string,) { this.id = id; this.tableId = tableId; this.sort = sort; 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.columnName = columnName; } } 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 otherData: string static Create(){ return new GoodsOrder(null,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,otherData: 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; this.otherData = otherData; } } 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 inviterBy: number static Create(){ return new User(null,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,inviterBy: number,) { 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; this.inviterBy = inviterBy; } } 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 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 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 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 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 articleDesc: string static Create(){ return new ArticleQuery(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,articleDesc: string,) { 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.articleDesc = articleDesc; } } export class ArticleTagQuery{ id: number tagName: string tagDesc: string tagTextColor: string tagBackgroundColor: string static Create(){ return new ArticleTagQuery(null,null,null,null,null,); } constructor(id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) { this.id = id; this.tagName = tagName; this.tagDesc = tagDesc; this.tagTextColor = tagTextColor; this.tagBackgroundColor = tagBackgroundColor; } } export class ArticleTopicQuery{ id: number image: string topicName: string topicDesc: string static Create(){ return new ArticleTopicQuery(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 createTimeStart: string createTimeEnd: string static Create(){ return new BackAuthorityQuery(null,null,null,null,null,null,null,null,); } constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTimeStart: string,createTimeEnd: string,) { this.id = id; this.authorityName = authorityName; this.authorityPath = authorityPath; this.method = method; this.state = state; this.authorityVerification = authorityVerification; this.createTimeStart = createTimeStart; this.createTimeEnd = createTimeEnd; } } export class BackMenuQuery{ id: number backMenuName: string backMenuPater: number sort: number icon: string remark: string backRouterPath: string state: string static Create(){ return new BackMenuQuery(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 BackRoleQuery(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 BackRoleAuthorityQuery(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 BackRoleMenuQuery(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 GenTableQuery(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 columnComment: string columnType: string goType: string goField: string isKey: string isIncrement: string isRequired: string queryType: string vueShowType: string dictType: string columnName: string static Create(){ return new GenTableColumnQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,); } constructor(id: number,tableId: number,sort: number,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,columnName: string,) { this.id = id; this.tableId = tableId; this.sort = sort; 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.columnName = columnName; } } export class GoodsQuery{ id: number typeId: number goodsName: string introductionId: number salesVolumeStart: number salesVolumeEnd: number tagIds: string static Create(){ return new GoodsQuery(null,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 GoodsCommodityAreaQuery(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 GoodsCouponQuery(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 GoodsCouponUserQuery(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 GoodsIntroductionQuery(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 otherData: string static Create(){ return new GoodsOrderQuery(null,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,otherData: 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; this.otherData = otherData; } } 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 GoodsSkuQuery(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 GoodsSkuCardQuery(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 GoodsTagQuery(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 GoodsTypeQuery(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 inviterBy: number static Create(){ return new UserQuery(null,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,inviterBy: number,) { 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; this.inviterBy = inviterBy; } } export class UserWalletQuery{ id: number userId: number balance: number promotionAmount: number rechargeAmount: number static Create(){ return new UserWalletQuery(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 DictDataQuery{ id: number sort: number dictLabel: string dictValue: string dictType: string status: string cssStyle: string isDefault: string remark: string static Create(){ return new DictDataQuery(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 DictTypeQuery(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 ManageUserQuery(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 ShopTopicQuery{ id: number sort: string parentId: number topicPageImage: string topicName: string topicDesc: string typeIds: string static Create(){ return new ShopTopicQuery(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 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 ShopAdviceCarouselQuery(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 ShopTopicSkuQuery(null,null,null,); } constructor(id: number,topicId: number,skuId: number,) { this.id = id; this.topicId = topicId; this.skuId = skuId; } }