| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431 |
- 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;
-
- }
- }
|