|
|
@@ -0,0 +1,1431 @@
|
|
|
+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 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 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 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 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
|
|
|
+ static Create(){
|
|
|
+ return new Article(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,) {
|
|
|
+ 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;
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+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
|
|
|
+ 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,columnname: string,columncomment: string,columntype: string,gotype: string,gofield: string,iskey: string,isincrement: string,isrequired: string,querytype: string,vueshowtype: string,dicttype: 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;
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+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 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
|
|
|
+ rolename: string
|
|
|
+ static Create(){
|
|
|
+ return new ShopTopic(null,null,);
|
|
|
+ }
|
|
|
+
|
|
|
+ constructor( id: number,rolename: string,) {
|
|
|
+ this.id = id;
|
|
|
+ this.rolename = rolename;
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+export class ShopAdviceCarousel{
|
|
|
+
|
|
|
+ authorityid: number
|
|
|
+ roleid: number
|
|
|
+ static Create(){
|
|
|
+ return new ShopAdviceCarousel(null,null,);
|
|
|
+ }
|
|
|
+
|
|
|
+ constructor( authorityid: number,roleid: number,) {
|
|
|
+ this.authorityid = authorityid;
|
|
|
+ this.roleid = roleid;
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+export class ShopTopicSku{
|
|
|
+
|
|
|
+ id: number
|
|
|
+ sort: string
|
|
|
+ imageurl: string
|
|
|
+ skuid: number
|
|
|
+ show: string
|
|
|
+ createby: string
|
|
|
+ createtime: string
|
|
|
+ updateby: string
|
|
|
+ updatetime: string
|
|
|
+ static Create(){
|
|
|
+ return new ShopTopicSku(null,null,null,null,null,null,null,null,null,);
|
|
|
+ }
|
|
|
+
|
|
|
+ constructor( id: number,sort: string,imageurl: string,skuid: number,show: string,createby: string,createtime: string,updateby: string,updatetime: string,) {
|
|
|
+ this.id = id;
|
|
|
+ this.sort = sort;
|
|
|
+ this.imageurl = imageurl;
|
|
|
+ this.skuid = skuid;
|
|
|
+ this.show = show;
|
|
|
+ this.createby = createby;
|
|
|
+ this.createtime = createtime;
|
|
|
+ this.updateby = updateby;
|
|
|
+ this.updatetime = updatetime;
|
|
|
+
|
|
|
+ }
|
|
|
+}
|