BaseApi.ts 78 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503
  1. import api, {ResponseData} from "../api.ts";
  2. import {BaseListVo} from "../detail/DetailApi.ts";
  3. export function GetBaseArticleById(id: number | string) {
  4. return api.GetDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<Article>>;
  5. }
  6. export function GetBaseArticleListByArticle(param: Article, pageNum = 1, pageSize = 10) {
  7. return api.PostDataByPath("/back/base/article/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Article>>>;
  8. }
  9. export function GetBaseArticleListByIds(ids: number[] | string[]) {
  10. return api.PostDataByPath("/back/base/article/in", {
  11. ids: ids
  12. }, true) as Promise<ResponseData<Article[]>>;
  13. }
  14. export function SaveBaseArticle(Article: Article) {
  15. return api.PostDataByPath("/back/base/article", { article: Article}, true) as Promise<ResponseData<Article>>;
  16. }
  17. export function UpdateBaseArticle(Article: Article, id: number | string) {
  18. return api.PutDataByPath("/back/base/article", { article: Article, id: id}, true) as Promise<ResponseData<Article>>;
  19. }
  20. export function DeleteBaseArticleById(id: number | string) {
  21. return api.DeleteDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<any>>;
  22. }
  23. export function GetBaseArticleTagById(id: number | string) {
  24. return api.GetDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<ArticleTag>>;
  25. }
  26. export function GetBaseArticleTagListByArticleTag(param: ArticleTag, pageNum = 1, pageSize = 10) {
  27. return api.PostDataByPath("/back/base/articleTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTag>>>;
  28. }
  29. export function GetBaseArticleTagListByIds(ids: number[] | string[]) {
  30. return api.PostDataByPath("/back/base/articleTag/in", {
  31. ids: ids
  32. }, true) as Promise<ResponseData<ArticleTag[]>>;
  33. }
  34. export function SaveBaseArticleTag(ArticleTag: ArticleTag) {
  35. return api.PostDataByPath("/back/base/articleTag", { articleTag: ArticleTag}, true) as Promise<ResponseData<ArticleTag>>;
  36. }
  37. export function UpdateBaseArticleTag(ArticleTag: ArticleTag, id: number | string) {
  38. return api.PutDataByPath("/back/base/articleTag", { articleTag: ArticleTag, id: id}, true) as Promise<ResponseData<ArticleTag>>;
  39. }
  40. export function DeleteBaseArticleTagById(id: number | string) {
  41. return api.DeleteDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
  42. }
  43. export function GetBaseArticleTopicById(id: number | string) {
  44. return api.GetDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<ArticleTopic>>;
  45. }
  46. export function GetBaseArticleTopicListByArticleTopic(param: ArticleTopic, pageNum = 1, pageSize = 10) {
  47. return api.PostDataByPath("/back/base/articleTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTopic>>>;
  48. }
  49. export function GetBaseArticleTopicListByIds(ids: number[] | string[]) {
  50. return api.PostDataByPath("/back/base/articleTopic/in", {
  51. ids: ids
  52. }, true) as Promise<ResponseData<ArticleTopic[]>>;
  53. }
  54. export function SaveBaseArticleTopic(ArticleTopic: ArticleTopic) {
  55. return api.PostDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic}, true) as Promise<ResponseData<ArticleTopic>>;
  56. }
  57. export function UpdateBaseArticleTopic(ArticleTopic: ArticleTopic, id: number | string) {
  58. return api.PutDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic, id: id}, true) as Promise<ResponseData<ArticleTopic>>;
  59. }
  60. export function DeleteBaseArticleTopicById(id: number | string) {
  61. return api.DeleteDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
  62. }
  63. export function GetBaseBackAuthorityById(id: number | string) {
  64. return api.GetDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<BackAuthority>>;
  65. }
  66. export function GetBaseBackAuthorityListByBackAuthority(param: BackAuthority, pageNum = 1, pageSize = 10) {
  67. return api.PostDataByPath("/back/base/backAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackAuthority>>>;
  68. }
  69. export function GetBaseBackAuthorityListByIds(ids: number[] | string[]) {
  70. return api.PostDataByPath("/back/base/backAuthority/in", {
  71. ids: ids
  72. }, true) as Promise<ResponseData<BackAuthority[]>>;
  73. }
  74. export function SaveBaseBackAuthority(BackAuthority: BackAuthority) {
  75. return api.PostDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority}, true) as Promise<ResponseData<BackAuthority>>;
  76. }
  77. export function UpdateBaseBackAuthority(BackAuthority: BackAuthority, id: number | string) {
  78. return api.PutDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority, id: id}, true) as Promise<ResponseData<BackAuthority>>;
  79. }
  80. export function DeleteBaseBackAuthorityById(id: number | string) {
  81. return api.DeleteDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
  82. }
  83. export function GetBaseBackMenuById(id: number | string) {
  84. return api.GetDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<BackMenu>>;
  85. }
  86. export function GetBaseBackMenuListByBackMenu(param: BackMenu, pageNum = 1, pageSize = 10) {
  87. return api.PostDataByPath("/back/base/backMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackMenu>>>;
  88. }
  89. export function GetBaseBackMenuListByIds(ids: number[] | string[]) {
  90. return api.PostDataByPath("/back/base/backMenu/in", {
  91. ids: ids
  92. }, true) as Promise<ResponseData<BackMenu[]>>;
  93. }
  94. export function SaveBaseBackMenu(BackMenu: BackMenu) {
  95. return api.PostDataByPath("/back/base/backMenu", { backMenu: BackMenu}, true) as Promise<ResponseData<BackMenu>>;
  96. }
  97. export function UpdateBaseBackMenu(BackMenu: BackMenu, id: number | string) {
  98. return api.PutDataByPath("/back/base/backMenu", { backMenu: BackMenu, id: id}, true) as Promise<ResponseData<BackMenu>>;
  99. }
  100. export function DeleteBaseBackMenuById(id: number | string) {
  101. return api.DeleteDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
  102. }
  103. export function GetBaseBackRoleById(id: number | string) {
  104. return api.GetDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<BackRole>>;
  105. }
  106. export function GetBaseBackRoleListByBackRole(param: BackRole, pageNum = 1, pageSize = 10) {
  107. return api.PostDataByPath("/back/base/backRole/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRole>>>;
  108. }
  109. export function GetBaseBackRoleListByIds(ids: number[] | string[]) {
  110. return api.PostDataByPath("/back/base/backRole/in", {
  111. ids: ids
  112. }, true) as Promise<ResponseData<BackRole[]>>;
  113. }
  114. export function SaveBaseBackRole(BackRole: BackRole) {
  115. return api.PostDataByPath("/back/base/backRole", { backRole: BackRole}, true) as Promise<ResponseData<BackRole>>;
  116. }
  117. export function UpdateBaseBackRole(BackRole: BackRole, id: number | string) {
  118. return api.PutDataByPath("/back/base/backRole", { backRole: BackRole, id: id}, true) as Promise<ResponseData<BackRole>>;
  119. }
  120. export function DeleteBaseBackRoleById(id: number | string) {
  121. return api.DeleteDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<any>>;
  122. }
  123. export function GetBaseBackRoleAuthorityById(id: number | string) {
  124. return api.GetDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<BackRoleAuthority>>;
  125. }
  126. export function GetBaseBackRoleAuthorityListByBackRoleAuthority(param: BackRoleAuthority, pageNum = 1, pageSize = 10) {
  127. return api.PostDataByPath("/back/base/backRoleAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleAuthority>>>;
  128. }
  129. export function GetBaseBackRoleAuthorityListByIds(ids: number[] | string[]) {
  130. return api.PostDataByPath("/back/base/backRoleAuthority/in", {
  131. ids: ids
  132. }, true) as Promise<ResponseData<BackRoleAuthority[]>>;
  133. }
  134. export function SaveBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority) {
  135. return api.PostDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority}, true) as Promise<ResponseData<BackRoleAuthority>>;
  136. }
  137. export function UpdateBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority, id: number | string) {
  138. return api.PutDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority, id: id}, true) as Promise<ResponseData<BackRoleAuthority>>;
  139. }
  140. export function DeleteBaseBackRoleAuthorityById(id: number | string) {
  141. return api.DeleteDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
  142. }
  143. export function GetBaseBackRoleMenuById(id: number | string) {
  144. return api.GetDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<BackRoleMenu>>;
  145. }
  146. export function GetBaseBackRoleMenuListByBackRoleMenu(param: BackRoleMenu, pageNum = 1, pageSize = 10) {
  147. return api.PostDataByPath("/back/base/backRoleMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleMenu>>>;
  148. }
  149. export function GetBaseBackRoleMenuListByIds(ids: number[] | string[]) {
  150. return api.PostDataByPath("/back/base/backRoleMenu/in", {
  151. ids: ids
  152. }, true) as Promise<ResponseData<BackRoleMenu[]>>;
  153. }
  154. export function SaveBaseBackRoleMenu(BackRoleMenu: BackRoleMenu) {
  155. return api.PostDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu}, true) as Promise<ResponseData<BackRoleMenu>>;
  156. }
  157. export function UpdateBaseBackRoleMenu(BackRoleMenu: BackRoleMenu, id: number | string) {
  158. return api.PutDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu, id: id}, true) as Promise<ResponseData<BackRoleMenu>>;
  159. }
  160. export function DeleteBaseBackRoleMenuById(id: number | string) {
  161. return api.DeleteDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
  162. }
  163. export function GetBaseGenTableById(id: number | string) {
  164. return api.GetDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<GenTable>>;
  165. }
  166. export function GetBaseGenTableListByGenTable(param: GenTable, pageNum = 1, pageSize = 10) {
  167. return api.PostDataByPath("/back/base/genTable/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTable>>>;
  168. }
  169. export function GetBaseGenTableListByIds(ids: number[] | string[]) {
  170. return api.PostDataByPath("/back/base/genTable/in", {
  171. ids: ids
  172. }, true) as Promise<ResponseData<GenTable[]>>;
  173. }
  174. export function SaveBaseGenTable(GenTable: GenTable) {
  175. return api.PostDataByPath("/back/base/genTable", { genTable: GenTable}, true) as Promise<ResponseData<GenTable>>;
  176. }
  177. export function UpdateBaseGenTable(GenTable: GenTable, id: number | string) {
  178. return api.PutDataByPath("/back/base/genTable", { genTable: GenTable, id: id}, true) as Promise<ResponseData<GenTable>>;
  179. }
  180. export function DeleteBaseGenTableById(id: number | string) {
  181. return api.DeleteDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<any>>;
  182. }
  183. export function GetBaseGenTableColumnById(id: number | string) {
  184. return api.GetDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<GenTableColumn>>;
  185. }
  186. export function GetBaseGenTableColumnListByGenTableColumn(param: GenTableColumn, pageNum = 1, pageSize = 10) {
  187. return api.PostDataByPath("/back/base/genTableColumn/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTableColumn>>>;
  188. }
  189. export function GetBaseGenTableColumnListByIds(ids: number[] | string[]) {
  190. return api.PostDataByPath("/back/base/genTableColumn/in", {
  191. ids: ids
  192. }, true) as Promise<ResponseData<GenTableColumn[]>>;
  193. }
  194. export function SaveBaseGenTableColumn(GenTableColumn: GenTableColumn) {
  195. return api.PostDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn}, true) as Promise<ResponseData<GenTableColumn>>;
  196. }
  197. export function UpdateBaseGenTableColumn(GenTableColumn: GenTableColumn, id: number | string) {
  198. return api.PutDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn, id: id}, true) as Promise<ResponseData<GenTableColumn>>;
  199. }
  200. export function DeleteBaseGenTableColumnById(id: number | string) {
  201. return api.DeleteDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<any>>;
  202. }
  203. export function GetBaseGoodsById(id: number | string) {
  204. return api.GetDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<Goods>>;
  205. }
  206. export function GetBaseGoodsListByGoods(param: Goods, pageNum = 1, pageSize = 10) {
  207. return api.PostDataByPath("/back/base/goods/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Goods>>>;
  208. }
  209. export function GetBaseGoodsListByIds(ids: number[] | string[]) {
  210. return api.PostDataByPath("/back/base/goods/in", {
  211. ids: ids
  212. }, true) as Promise<ResponseData<Goods[]>>;
  213. }
  214. export function SaveBaseGoods(Goods: Goods) {
  215. return api.PostDataByPath("/back/base/goods", { goods: Goods}, true) as Promise<ResponseData<Goods>>;
  216. }
  217. export function UpdateBaseGoods(Goods: Goods, id: number | string) {
  218. return api.PutDataByPath("/back/base/goods", { goods: Goods, id: id}, true) as Promise<ResponseData<Goods>>;
  219. }
  220. export function DeleteBaseGoodsById(id: number | string) {
  221. return api.DeleteDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<any>>;
  222. }
  223. export function GetBaseGoodsCommodityAreaById(id: number | string) {
  224. return api.GetDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<GoodsCommodityArea>>;
  225. }
  226. export function GetBaseGoodsCommodityAreaListByGoodsCommodityArea(param: GoodsCommodityArea, pageNum = 1, pageSize = 10) {
  227. return api.PostDataByPath("/back/base/goodsCommodityArea/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCommodityArea>>>;
  228. }
  229. export function GetBaseGoodsCommodityAreaListByIds(ids: number[] | string[]) {
  230. return api.PostDataByPath("/back/base/goodsCommodityArea/in", {
  231. ids: ids
  232. }, true) as Promise<ResponseData<GoodsCommodityArea[]>>;
  233. }
  234. export function SaveBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea) {
  235. return api.PostDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea}, true) as Promise<ResponseData<GoodsCommodityArea>>;
  236. }
  237. export function UpdateBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea, id: number | string) {
  238. return api.PutDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea, id: id}, true) as Promise<ResponseData<GoodsCommodityArea>>;
  239. }
  240. export function DeleteBaseGoodsCommodityAreaById(id: number | string) {
  241. return api.DeleteDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<any>>;
  242. }
  243. export function GetBaseGoodsCouponById(id: number | string) {
  244. return api.GetDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<GoodsCoupon>>;
  245. }
  246. export function GetBaseGoodsCouponListByGoodsCoupon(param: GoodsCoupon, pageNum = 1, pageSize = 10) {
  247. return api.PostDataByPath("/back/base/goodsCoupon/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCoupon>>>;
  248. }
  249. export function GetBaseGoodsCouponListByIds(ids: number[] | string[]) {
  250. return api.PostDataByPath("/back/base/goodsCoupon/in", {
  251. ids: ids
  252. }, true) as Promise<ResponseData<GoodsCoupon[]>>;
  253. }
  254. export function SaveBaseGoodsCoupon(GoodsCoupon: GoodsCoupon) {
  255. return api.PostDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon}, true) as Promise<ResponseData<GoodsCoupon>>;
  256. }
  257. export function UpdateBaseGoodsCoupon(GoodsCoupon: GoodsCoupon, id: number | string) {
  258. return api.PutDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon, id: id}, true) as Promise<ResponseData<GoodsCoupon>>;
  259. }
  260. export function DeleteBaseGoodsCouponById(id: number | string) {
  261. return api.DeleteDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<any>>;
  262. }
  263. export function GetBaseGoodsCouponUserById(id: number | string) {
  264. return api.GetDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<GoodsCouponUser>>;
  265. }
  266. export function GetBaseGoodsCouponUserListByGoodsCouponUser(param: GoodsCouponUser, pageNum = 1, pageSize = 10) {
  267. return api.PostDataByPath("/back/base/goodsCouponUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCouponUser>>>;
  268. }
  269. export function GetBaseGoodsCouponUserListByIds(ids: number[] | string[]) {
  270. return api.PostDataByPath("/back/base/goodsCouponUser/in", {
  271. ids: ids
  272. }, true) as Promise<ResponseData<GoodsCouponUser[]>>;
  273. }
  274. export function SaveBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser) {
  275. return api.PostDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser}, true) as Promise<ResponseData<GoodsCouponUser>>;
  276. }
  277. export function UpdateBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser, id: number | string) {
  278. return api.PutDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser, id: id}, true) as Promise<ResponseData<GoodsCouponUser>>;
  279. }
  280. export function DeleteBaseGoodsCouponUserById(id: number | string) {
  281. return api.DeleteDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
  282. }
  283. export function GetBaseGoodsIntroductionById(id: number | string) {
  284. return api.GetDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<GoodsIntroduction>>;
  285. }
  286. export function GetBaseGoodsIntroductionListByGoodsIntroduction(param: GoodsIntroduction, pageNum = 1, pageSize = 10) {
  287. return api.PostDataByPath("/back/base/goodsIntroduction/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsIntroduction>>>;
  288. }
  289. export function GetBaseGoodsIntroductionListByIds(ids: number[] | string[]) {
  290. return api.PostDataByPath("/back/base/goodsIntroduction/in", {
  291. ids: ids
  292. }, true) as Promise<ResponseData<GoodsIntroduction[]>>;
  293. }
  294. export function SaveBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction) {
  295. return api.PostDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction}, true) as Promise<ResponseData<GoodsIntroduction>>;
  296. }
  297. export function UpdateBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction, id: number | string) {
  298. return api.PutDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction, id: id}, true) as Promise<ResponseData<GoodsIntroduction>>;
  299. }
  300. export function DeleteBaseGoodsIntroductionById(id: number | string) {
  301. return api.DeleteDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<any>>;
  302. }
  303. export function GetBaseGoodsOrderById(id: number | string) {
  304. return api.GetDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<GoodsOrder>>;
  305. }
  306. export function GetBaseGoodsOrderListByGoodsOrder(param: GoodsOrder, pageNum = 1, pageSize = 10) {
  307. return api.PostDataByPath("/back/base/goodsOrder/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsOrder>>>;
  308. }
  309. export function GetBaseGoodsOrderListByIds(ids: number[] | string[]) {
  310. return api.PostDataByPath("/back/base/goodsOrder/in", {
  311. ids: ids
  312. }, true) as Promise<ResponseData<GoodsOrder[]>>;
  313. }
  314. export function SaveBaseGoodsOrder(GoodsOrder: GoodsOrder) {
  315. return api.PostDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder}, true) as Promise<ResponseData<GoodsOrder>>;
  316. }
  317. export function UpdateBaseGoodsOrder(GoodsOrder: GoodsOrder, id: number | string) {
  318. return api.PutDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder, id: id}, true) as Promise<ResponseData<GoodsOrder>>;
  319. }
  320. export function DeleteBaseGoodsOrderById(id: number | string) {
  321. return api.DeleteDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<any>>;
  322. }
  323. export function GetBaseGoodsSkuById(id: number | string) {
  324. return api.GetDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<GoodsSku>>;
  325. }
  326. export function GetBaseGoodsSkuListByGoodsSku(param: GoodsSku, pageNum = 1, pageSize = 10) {
  327. return api.PostDataByPath("/back/base/goodsSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSku>>>;
  328. }
  329. export function GetBaseGoodsSkuListByIds(ids: number[] | string[]) {
  330. return api.PostDataByPath("/back/base/goodsSku/in", {
  331. ids: ids
  332. }, true) as Promise<ResponseData<GoodsSku[]>>;
  333. }
  334. export function SaveBaseGoodsSku(GoodsSku: GoodsSku) {
  335. return api.PostDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku}, true) as Promise<ResponseData<GoodsSku>>;
  336. }
  337. export function UpdateBaseGoodsSku(GoodsSku: GoodsSku, id: number | string) {
  338. return api.PutDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku, id: id}, true) as Promise<ResponseData<GoodsSku>>;
  339. }
  340. export function DeleteBaseGoodsSkuById(id: number | string) {
  341. return api.DeleteDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
  342. }
  343. export function GetBaseGoodsSkuCardById(id: number | string) {
  344. return api.GetDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<GoodsSkuCard>>;
  345. }
  346. export function GetBaseGoodsSkuCardListByGoodsSkuCard(param: GoodsSkuCard, pageNum = 1, pageSize = 10) {
  347. return api.PostDataByPath("/back/base/goodsSkuCard/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSkuCard>>>;
  348. }
  349. export function GetBaseGoodsSkuCardListByIds(ids: number[] | string[]) {
  350. return api.PostDataByPath("/back/base/goodsSkuCard/in", {
  351. ids: ids
  352. }, true) as Promise<ResponseData<GoodsSkuCard[]>>;
  353. }
  354. export function SaveBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard) {
  355. return api.PostDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard}, true) as Promise<ResponseData<GoodsSkuCard>>;
  356. }
  357. export function UpdateBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard, id: number | string) {
  358. return api.PutDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard, id: id}, true) as Promise<ResponseData<GoodsSkuCard>>;
  359. }
  360. export function DeleteBaseGoodsSkuCardById(id: number | string) {
  361. return api.DeleteDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<any>>;
  362. }
  363. export function GetBaseGoodsTagById(id: number | string) {
  364. return api.GetDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<GoodsTag>>;
  365. }
  366. export function GetBaseGoodsTagListByGoodsTag(param: GoodsTag, pageNum = 1, pageSize = 10) {
  367. return api.PostDataByPath("/back/base/goodsTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsTag>>>;
  368. }
  369. export function GetBaseGoodsTagListByIds(ids: number[] | string[]) {
  370. return api.PostDataByPath("/back/base/goodsTag/in", {
  371. ids: ids
  372. }, true) as Promise<ResponseData<GoodsTag[]>>;
  373. }
  374. export function SaveBaseGoodsTag(GoodsTag: GoodsTag) {
  375. return api.PostDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag}, true) as Promise<ResponseData<GoodsTag>>;
  376. }
  377. export function UpdateBaseGoodsTag(GoodsTag: GoodsTag, id: number | string) {
  378. return api.PutDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag, id: id}, true) as Promise<ResponseData<GoodsTag>>;
  379. }
  380. export function DeleteBaseGoodsTagById(id: number | string) {
  381. return api.DeleteDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
  382. }
  383. export function GetBaseGoodsTypeById(id: number | string) {
  384. return api.GetDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<GoodsType>>;
  385. }
  386. export function GetBaseGoodsTypeListByGoodsType(param: GoodsType, pageNum = 1, pageSize = 10) {
  387. return api.PostDataByPath("/back/base/goodsType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsType>>>;
  388. }
  389. export function GetBaseGoodsTypeListByIds(ids: number[] | string[]) {
  390. return api.PostDataByPath("/back/base/goodsType/in", {
  391. ids: ids
  392. }, true) as Promise<ResponseData<GoodsType[]>>;
  393. }
  394. export function SaveBaseGoodsType(GoodsType: GoodsType) {
  395. return api.PostDataByPath("/back/base/goodsType", { goodsType: GoodsType}, true) as Promise<ResponseData<GoodsType>>;
  396. }
  397. export function UpdateBaseGoodsType(GoodsType: GoodsType, id: number | string) {
  398. return api.PutDataByPath("/back/base/goodsType", { goodsType: GoodsType, id: id}, true) as Promise<ResponseData<GoodsType>>;
  399. }
  400. export function DeleteBaseGoodsTypeById(id: number | string) {
  401. return api.DeleteDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<any>>;
  402. }
  403. export function GetBaseUserById(id: number | string) {
  404. return api.GetDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<User>>;
  405. }
  406. export function GetBaseUserListByUser(param: User, pageNum = 1, pageSize = 10) {
  407. return api.PostDataByPath("/back/base/user/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<User>>>;
  408. }
  409. export function GetBaseUserListByIds(ids: number[] | string[]) {
  410. return api.PostDataByPath("/back/base/user/in", {
  411. ids: ids
  412. }, true) as Promise<ResponseData<User[]>>;
  413. }
  414. export function SaveBaseUser(User: User) {
  415. return api.PostDataByPath("/back/base/user", { user: User}, true) as Promise<ResponseData<User>>;
  416. }
  417. export function UpdateBaseUser(User: User, id: number | string) {
  418. return api.PutDataByPath("/back/base/user", { user: User, id: id}, true) as Promise<ResponseData<User>>;
  419. }
  420. export function DeleteBaseUserById(id: number | string) {
  421. return api.DeleteDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<any>>;
  422. }
  423. export function GetBaseUserWalletById(id: number | string) {
  424. return api.GetDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<UserWallet>>;
  425. }
  426. export function GetBaseUserWalletListByUserWallet(param: UserWallet, pageNum = 1, pageSize = 10) {
  427. return api.PostDataByPath("/back/base/userWallet/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<UserWallet>>>;
  428. }
  429. export function GetBaseUserWalletListByIds(ids: number[] | string[]) {
  430. return api.PostDataByPath("/back/base/userWallet/in", {
  431. ids: ids
  432. }, true) as Promise<ResponseData<UserWallet[]>>;
  433. }
  434. export function SaveBaseUserWallet(UserWallet: UserWallet) {
  435. return api.PostDataByPath("/back/base/userWallet", { userWallet: UserWallet}, true) as Promise<ResponseData<UserWallet>>;
  436. }
  437. export function UpdateBaseUserWallet(UserWallet: UserWallet, id: number | string) {
  438. return api.PutDataByPath("/back/base/userWallet", { userWallet: UserWallet, id: id}, true) as Promise<ResponseData<UserWallet>>;
  439. }
  440. export function DeleteBaseUserWalletById(id: number | string) {
  441. return api.DeleteDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<any>>;
  442. }
  443. export function GetBaseAuthorityById(id: number | string) {
  444. return api.GetDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<Authority>>;
  445. }
  446. export function GetBaseAuthorityListByAuthority(param: Authority, pageNum = 1, pageSize = 10) {
  447. return api.PostDataByPath("/back/base/authority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Authority>>>;
  448. }
  449. export function GetBaseAuthorityListByIds(ids: number[] | string[]) {
  450. return api.PostDataByPath("/back/base/authority/in", {
  451. ids: ids
  452. }, true) as Promise<ResponseData<Authority[]>>;
  453. }
  454. export function SaveBaseAuthority(Authority: Authority) {
  455. return api.PostDataByPath("/back/base/authority", { authority: Authority}, true) as Promise<ResponseData<Authority>>;
  456. }
  457. export function UpdateBaseAuthority(Authority: Authority, id: number | string) {
  458. return api.PutDataByPath("/back/base/authority", { authority: Authority, id: id}, true) as Promise<ResponseData<Authority>>;
  459. }
  460. export function DeleteBaseAuthorityById(id: number | string) {
  461. return api.DeleteDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<any>>;
  462. }
  463. export function GetBaseDictDataById(id: number | string) {
  464. return api.GetDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<DictData>>;
  465. }
  466. export function GetBaseDictDataListByDictData(param: DictData, pageNum = 1, pageSize = 10) {
  467. return api.PostDataByPath("/back/base/dictData/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictData>>>;
  468. }
  469. export function GetBaseDictDataListByIds(ids: number[] | string[]) {
  470. return api.PostDataByPath("/back/base/dictData/in", {
  471. ids: ids
  472. }, true) as Promise<ResponseData<DictData[]>>;
  473. }
  474. export function SaveBaseDictData(DictData: DictData) {
  475. return api.PostDataByPath("/back/base/dictData", { dictData: DictData}, true) as Promise<ResponseData<DictData>>;
  476. }
  477. export function UpdateBaseDictData(DictData: DictData, id: number | string) {
  478. return api.PutDataByPath("/back/base/dictData", { dictData: DictData, id: id}, true) as Promise<ResponseData<DictData>>;
  479. }
  480. export function DeleteBaseDictDataById(id: number | string) {
  481. return api.DeleteDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<any>>;
  482. }
  483. export function GetBaseDictTypeById(id: number | string) {
  484. return api.GetDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<DictType>>;
  485. }
  486. export function GetBaseDictTypeListByDictType(param: DictType, pageNum = 1, pageSize = 10) {
  487. return api.PostDataByPath("/back/base/dictType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictType>>>;
  488. }
  489. export function GetBaseDictTypeListByIds(ids: number[] | string[]) {
  490. return api.PostDataByPath("/back/base/dictType/in", {
  491. ids: ids
  492. }, true) as Promise<ResponseData<DictType[]>>;
  493. }
  494. export function SaveBaseDictType(DictType: DictType) {
  495. return api.PostDataByPath("/back/base/dictType", { dictType: DictType}, true) as Promise<ResponseData<DictType>>;
  496. }
  497. export function UpdateBaseDictType(DictType: DictType, id: number | string) {
  498. return api.PutDataByPath("/back/base/dictType", { dictType: DictType, id: id}, true) as Promise<ResponseData<DictType>>;
  499. }
  500. export function DeleteBaseDictTypeById(id: number | string) {
  501. return api.DeleteDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<any>>;
  502. }
  503. export function GetBaseManageUserById(id: number | string) {
  504. return api.GetDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<ManageUser>>;
  505. }
  506. export function GetBaseManageUserListByManageUser(param: ManageUser, pageNum = 1, pageSize = 10) {
  507. return api.PostDataByPath("/back/base/manageUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ManageUser>>>;
  508. }
  509. export function GetBaseManageUserListByIds(ids: number[] | string[]) {
  510. return api.PostDataByPath("/back/base/manageUser/in", {
  511. ids: ids
  512. }, true) as Promise<ResponseData<ManageUser[]>>;
  513. }
  514. export function SaveBaseManageUser(ManageUser: ManageUser) {
  515. return api.PostDataByPath("/back/base/manageUser", { manageUser: ManageUser}, true) as Promise<ResponseData<ManageUser>>;
  516. }
  517. export function UpdateBaseManageUser(ManageUser: ManageUser, id: number | string) {
  518. return api.PutDataByPath("/back/base/manageUser", { manageUser: ManageUser, id: id}, true) as Promise<ResponseData<ManageUser>>;
  519. }
  520. export function DeleteBaseManageUserById(id: number | string) {
  521. return api.DeleteDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
  522. }
  523. export function GetBaseShopAdviceCarouselById(id: number | string) {
  524. return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  525. }
  526. export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
  527. return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
  528. }
  529. export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
  530. return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {
  531. ids: ids
  532. }, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
  533. }
  534. export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
  535. return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  536. }
  537. export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
  538. return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  539. }
  540. export function DeleteBaseShopAdviceCarouselById(id: number | string) {
  541. return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
  542. }
  543. export function GetBaseShopTopicById(id: number | string) {
  544. return api.GetDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<ShopTopic>>;
  545. }
  546. export function GetBaseShopTopicListByShopTopic(param: ShopTopic, pageNum = 1, pageSize = 10) {
  547. return api.PostDataByPath("/back/base/shopTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopic>>>;
  548. }
  549. export function GetBaseShopTopicListByIds(ids: number[] | string[]) {
  550. return api.PostDataByPath("/back/base/shopTopic/in", {
  551. ids: ids
  552. }, true) as Promise<ResponseData<ShopTopic[]>>;
  553. }
  554. export function SaveBaseShopTopic(ShopTopic: ShopTopic) {
  555. return api.PostDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic}, true) as Promise<ResponseData<ShopTopic>>;
  556. }
  557. export function UpdateBaseShopTopic(ShopTopic: ShopTopic, id: number | string) {
  558. return api.PutDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic, id: id}, true) as Promise<ResponseData<ShopTopic>>;
  559. }
  560. export function DeleteBaseShopTopicById(id: number | string) {
  561. return api.DeleteDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
  562. }
  563. export function GetBaseShopTopicSkuById(id: number | string) {
  564. return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
  565. }
  566. export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
  567. return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
  568. }
  569. export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
  570. return api.PostDataByPath("/back/base/shopTopicSku/in", {
  571. ids: ids
  572. }, true) as Promise<ResponseData<ShopTopicSku[]>>;
  573. }
  574. export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
  575. return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
  576. }
  577. export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
  578. return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
  579. }
  580. export function DeleteBaseShopTopicSkuById(id: number | string) {
  581. return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
  582. }
  583. export function GetBaseShopAdviceCarouselById(id: number | string) {
  584. return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  585. }
  586. export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
  587. return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
  588. }
  589. export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
  590. return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {
  591. ids: ids
  592. }, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
  593. }
  594. export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
  595. return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  596. }
  597. export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
  598. return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  599. }
  600. export function DeleteBaseShopAdviceCarouselById(id: number | string) {
  601. return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
  602. }
  603. export function GetBaseShopTopicSkuById(id: number | string) {
  604. return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
  605. }
  606. export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
  607. return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
  608. }
  609. export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
  610. return api.PostDataByPath("/back/base/shopTopicSku/in", {
  611. ids: ids
  612. }, true) as Promise<ResponseData<ShopTopicSku[]>>;
  613. }
  614. export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
  615. return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
  616. }
  617. export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
  618. return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
  619. }
  620. export function DeleteBaseShopTopicSkuById(id: number | string) {
  621. return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
  622. }
  623. export function GetBaseAuthorityById(id: number | string) {
  624. return api.GetDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<Authority>>;
  625. }
  626. export function GetBaseAuthorityListByAuthority(param: Authority, pageNum = 1, pageSize = 10) {
  627. return api.PostDataByPath("/back/base/authority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Authority>>>;
  628. }
  629. export function GetBaseAuthorityListByIds(ids: number[] | string[]) {
  630. return api.PostDataByPath("/back/base/authority/in", {
  631. ids: ids
  632. }, true) as Promise<ResponseData<Authority[]>>;
  633. }
  634. export function SaveBaseAuthority(Authority: Authority) {
  635. return api.PostDataByPath("/back/base/authority", { authority: Authority}, true) as Promise<ResponseData<Authority>>;
  636. }
  637. export function UpdateBaseAuthority(Authority: Authority, id: number | string) {
  638. return api.PutDataByPath("/back/base/authority", { authority: Authority, id: id}, true) as Promise<ResponseData<Authority>>;
  639. }
  640. export function DeleteBaseAuthorityById(id: number | string) {
  641. return api.DeleteDataByPath("/back/base/authority?id=" + id, {}, true) as Promise<ResponseData<any>>;
  642. }
  643. export class Article{
  644. id: number
  645. articleTitle: string
  646. articleContent: string
  647. state: string
  648. articleTagIds: string
  649. articleTopicId: number
  650. image: string
  651. publishTime: string
  652. eyeFill: number
  653. likeCount: number
  654. createBy: string
  655. createTime: string
  656. updateBy: string
  657. updateTime: string
  658. id: number
  659. static Create(){
  660. return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  661. }
  662. constructor( id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTime: string,eyeFill: number,likeCount: number,createBy: string,createTime: string,updateBy: string,updateTime: string,id: number,) {
  663. this.id = id;
  664. this.articleTitle = articleTitle;
  665. this.articleContent = articleContent;
  666. this.state = state;
  667. this.articleTagIds = articleTagIds;
  668. this.articleTopicId = articleTopicId;
  669. this.image = image;
  670. this.publishTime = publishTime;
  671. this.eyeFill = eyeFill;
  672. this.likeCount = likeCount;
  673. this.createBy = createBy;
  674. this.createTime = createTime;
  675. this.updateBy = updateBy;
  676. this.updateTime = updateTime;
  677. this.id = id;
  678. }
  679. }
  680. export class ArticleTag{
  681. id: number
  682. tagName: string
  683. tagDesc: string
  684. static Create(){
  685. return new ArticleTag(null,null,null,);
  686. }
  687. constructor( id: number,tagName: string,tagDesc: string,) {
  688. this.id = id;
  689. this.tagName = tagName;
  690. this.tagDesc = tagDesc;
  691. }
  692. }
  693. export class ArticleTopic{
  694. id: number
  695. image: string
  696. topicName: string
  697. topicDesc: string
  698. static Create(){
  699. return new ArticleTopic(null,null,null,null,);
  700. }
  701. constructor( id: number,image: string,topicName: string,topicDesc: string,) {
  702. this.id = id;
  703. this.image = image;
  704. this.topicName = topicName;
  705. this.topicDesc = topicDesc;
  706. }
  707. }
  708. export class BackAuthority{
  709. id: number
  710. authorityName: string
  711. authorityPath: string
  712. method: string
  713. state: string
  714. authorityVerification: string
  715. createTime: string
  716. static Create(){
  717. return new BackAuthority(null,null,null,null,null,null,null,);
  718. }
  719. constructor( id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
  720. this.id = id;
  721. this.authorityName = authorityName;
  722. this.authorityPath = authorityPath;
  723. this.method = method;
  724. this.state = state;
  725. this.authorityVerification = authorityVerification;
  726. this.createTime = createTime;
  727. }
  728. }
  729. export class BackMenu{
  730. id: number
  731. backMenuName: string
  732. backMenuPater: number
  733. sort: number
  734. icon: string
  735. remark: string
  736. backRouterPath: string
  737. state: string
  738. static Create(){
  739. return new BackMenu(null,null,null,null,null,null,null,null,);
  740. }
  741. constructor( id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  742. this.id = id;
  743. this.backMenuName = backMenuName;
  744. this.backMenuPater = backMenuPater;
  745. this.sort = sort;
  746. this.icon = icon;
  747. this.remark = remark;
  748. this.backRouterPath = backRouterPath;
  749. this.state = state;
  750. }
  751. }
  752. export class BackRole{
  753. id: number
  754. roleName: string
  755. static Create(){
  756. return new BackRole(null,null,);
  757. }
  758. constructor( id: number,roleName: string,) {
  759. this.id = id;
  760. this.roleName = roleName;
  761. }
  762. }
  763. export class BackRoleAuthority{
  764. id: number
  765. roleId: number
  766. authorityId: number
  767. static Create(){
  768. return new BackRoleAuthority(null,null,null,);
  769. }
  770. constructor( id: number,roleId: number,authorityId: number,) {
  771. this.id = id;
  772. this.roleId = roleId;
  773. this.authorityId = authorityId;
  774. }
  775. }
  776. export class BackRoleMenu{
  777. id: number
  778. roleId: number
  779. menuId: number
  780. static Create(){
  781. return new BackRoleMenu(null,null,null,);
  782. }
  783. constructor( id: number,roleId: number,menuId: number,) {
  784. this.id = id;
  785. this.roleId = roleId;
  786. this.menuId = menuId;
  787. }
  788. }
  789. export class GenTable{
  790. id: number
  791. tableName: string
  792. tableComment: string
  793. name: string
  794. routerName: string
  795. remark: string
  796. static Create(){
  797. return new GenTable(null,null,null,null,null,null,);
  798. }
  799. constructor( id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  800. this.id = id;
  801. this.tableName = tableName;
  802. this.tableComment = tableComment;
  803. this.name = name;
  804. this.routerName = routerName;
  805. this.remark = remark;
  806. }
  807. }
  808. export class GenTableColumn{
  809. id: number
  810. tableId: number
  811. sort: number
  812. columnName: string
  813. columnComment: string
  814. columnType: string
  815. goType: string
  816. goField: string
  817. isKey: string
  818. isIncrement: string
  819. isRequired: string
  820. queryType: string
  821. vueShowType: string
  822. dictType: string
  823. queryType: string
  824. static Create(){
  825. return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  826. }
  827. constructor( id: number,tableId: number,sort: number,columnName: string,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,queryType: string,) {
  828. this.id = id;
  829. this.tableId = tableId;
  830. this.sort = sort;
  831. this.columnName = columnName;
  832. this.columnComment = columnComment;
  833. this.columnType = columnType;
  834. this.goType = goType;
  835. this.goField = goField;
  836. this.isKey = isKey;
  837. this.isIncrement = isIncrement;
  838. this.isRequired = isRequired;
  839. this.queryType = queryType;
  840. this.vueShowType = vueShowType;
  841. this.dictType = dictType;
  842. this.queryType = queryType;
  843. }
  844. }
  845. export class Goods{
  846. id: number
  847. typeId: number
  848. goodsName: string
  849. introductionId: number
  850. salesVolume: number
  851. tagIds: string
  852. static Create(){
  853. return new Goods(null,null,null,null,null,null,);
  854. }
  855. constructor( id: number,typeId: number,goodsName: string,introductionId: number,salesVolume: number,tagIds: string,) {
  856. this.id = id;
  857. this.typeId = typeId;
  858. this.goodsName = goodsName;
  859. this.introductionId = introductionId;
  860. this.salesVolume = salesVolume;
  861. this.tagIds = tagIds;
  862. }
  863. }
  864. export class GoodsCommodityArea{
  865. id: number
  866. goodsId: number
  867. commodityAreaName: string
  868. detailImage: string
  869. detailIntroductionId: number
  870. static Create(){
  871. return new GoodsCommodityArea(null,null,null,null,null,);
  872. }
  873. constructor( id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  874. this.id = id;
  875. this.goodsId = goodsId;
  876. this.commodityAreaName = commodityAreaName;
  877. this.detailImage = detailImage;
  878. this.detailIntroductionId = detailIntroductionId;
  879. }
  880. }
  881. export class GoodsCoupon{
  882. id: number
  883. couponName: string
  884. couponDesc: string
  885. cashBackPoint: number
  886. cashBackPrice: number
  887. conditionByTopic: string
  888. conditionByType: string
  889. conditionByGoods: string
  890. grantCount: string
  891. count: number
  892. receiveType: string
  893. validity: string
  894. validityPeriod: string
  895. static Create(){
  896. return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  897. }
  898. 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,) {
  899. this.id = id;
  900. this.couponName = couponName;
  901. this.couponDesc = couponDesc;
  902. this.cashBackPoint = cashBackPoint;
  903. this.cashBackPrice = cashBackPrice;
  904. this.conditionByTopic = conditionByTopic;
  905. this.conditionByType = conditionByType;
  906. this.conditionByGoods = conditionByGoods;
  907. this.grantCount = grantCount;
  908. this.count = count;
  909. this.receiveType = receiveType;
  910. this.validity = validity;
  911. this.validityPeriod = validityPeriod;
  912. }
  913. }
  914. export class GoodsCouponUser{
  915. id: number
  916. userId: number
  917. couponId: number
  918. collectionTime: string
  919. state: string
  920. static Create(){
  921. return new GoodsCouponUser(null,null,null,null,null,);
  922. }
  923. constructor( id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  924. this.id = id;
  925. this.userId = userId;
  926. this.couponId = couponId;
  927. this.collectionTime = collectionTime;
  928. this.state = state;
  929. }
  930. }
  931. export class GoodsIntroduction{
  932. id: number
  933. goodsArticleName: string
  934. goodsArticle: string
  935. createBy: string
  936. createTime: string
  937. updateBy: string
  938. updateTime: string
  939. static Create(){
  940. return new GoodsIntroduction(null,null,null,null,null,null,null,);
  941. }
  942. constructor( id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  943. this.id = id;
  944. this.goodsArticleName = goodsArticleName;
  945. this.goodsArticle = goodsArticle;
  946. this.createBy = createBy;
  947. this.createTime = createTime;
  948. this.updateBy = updateBy;
  949. this.updateTime = updateTime;
  950. }
  951. }
  952. export class GoodsOrder{
  953. id: number
  954. orderName: string
  955. skuId: number
  956. count: number
  957. price: number
  958. totalPrice: number
  959. contactInformation: string
  960. couponUserId: number
  961. state: string
  962. createBy: number
  963. createTime: string
  964. static Create(){
  965. return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,);
  966. }
  967. constructor( id: number,orderName: string,skuId: number,count: number,price: number,totalPrice: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,) {
  968. this.id = id;
  969. this.orderName = orderName;
  970. this.skuId = skuId;
  971. this.count = count;
  972. this.price = price;
  973. this.totalPrice = totalPrice;
  974. this.contactInformation = contactInformation;
  975. this.couponUserId = couponUserId;
  976. this.state = state;
  977. this.createBy = createBy;
  978. this.createTime = createTime;
  979. }
  980. }
  981. export class GoodsSku{
  982. id: number
  983. skuImage: string
  984. skuName: string
  985. price: number
  986. historicalPrices: number
  987. inventoryNumber: number
  988. commodityAreaId: number
  989. goodsId: number
  990. createBy: string
  991. createTime: string
  992. static Create(){
  993. return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
  994. }
  995. constructor( id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
  996. this.id = id;
  997. this.skuImage = skuImage;
  998. this.skuName = skuName;
  999. this.price = price;
  1000. this.historicalPrices = historicalPrices;
  1001. this.inventoryNumber = inventoryNumber;
  1002. this.commodityAreaId = commodityAreaId;
  1003. this.goodsId = goodsId;
  1004. this.createBy = createBy;
  1005. this.createTime = createTime;
  1006. }
  1007. }
  1008. export class GoodsSkuCard{
  1009. id: number
  1010. cardName: string
  1011. state: string
  1012. count: number
  1013. totalCount: string
  1014. cardKey: string
  1015. use: string
  1016. uploadTime: string
  1017. skuId: number
  1018. sort: string
  1019. static Create(){
  1020. return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
  1021. }
  1022. constructor( id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
  1023. this.id = id;
  1024. this.cardName = cardName;
  1025. this.state = state;
  1026. this.count = count;
  1027. this.totalCount = totalCount;
  1028. this.cardKey = cardKey;
  1029. this.use = use;
  1030. this.uploadTime = uploadTime;
  1031. this.skuId = skuId;
  1032. this.sort = sort;
  1033. }
  1034. }
  1035. export class GoodsTag{
  1036. id: number
  1037. name: string
  1038. iconUrl: string
  1039. tag: string
  1040. static Create(){
  1041. return new GoodsTag(null,null,null,null,);
  1042. }
  1043. constructor( id: number,name: string,iconUrl: string,tag: string,) {
  1044. this.id = id;
  1045. this.name = name;
  1046. this.iconUrl = iconUrl;
  1047. this.tag = tag;
  1048. }
  1049. }
  1050. export class GoodsType{
  1051. id: number
  1052. sort: number
  1053. typeImage: string
  1054. typeName: string
  1055. createTime: string
  1056. static Create(){
  1057. return new GoodsType(null,null,null,null,null,);
  1058. }
  1059. constructor( id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
  1060. this.id = id;
  1061. this.sort = sort;
  1062. this.typeImage = typeImage;
  1063. this.typeName = typeName;
  1064. this.createTime = createTime;
  1065. }
  1066. }
  1067. export class User{
  1068. id: number
  1069. username: string
  1070. password: string
  1071. creationTime: number
  1072. loginTime: number
  1073. status: string
  1074. roleId: number
  1075. phone: string
  1076. email: string
  1077. name: string
  1078. avatar: string
  1079. recommendCode: string
  1080. static Create(){
  1081. return new User(null,null,null,null,null,null,null,null,null,null,null,null,);
  1082. }
  1083. 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,) {
  1084. this.id = id;
  1085. this.username = username;
  1086. this.password = password;
  1087. this.creationTime = creationTime;
  1088. this.loginTime = loginTime;
  1089. this.status = status;
  1090. this.roleId = roleId;
  1091. this.phone = phone;
  1092. this.email = email;
  1093. this.name = name;
  1094. this.avatar = avatar;
  1095. this.recommendCode = recommendCode;
  1096. }
  1097. }
  1098. export class UserWallet{
  1099. id: number
  1100. userId: number
  1101. balance: number
  1102. promotionAmount: number
  1103. rechargeAmount: number
  1104. static Create(){
  1105. return new UserWallet(null,null,null,null,null,);
  1106. }
  1107. constructor( id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
  1108. this.id = id;
  1109. this.userId = userId;
  1110. this.balance = balance;
  1111. this.promotionAmount = promotionAmount;
  1112. this.rechargeAmount = rechargeAmount;
  1113. }
  1114. }
  1115. export class Authority{
  1116. id: number
  1117. authorityName: string
  1118. authorityPath: string
  1119. static Create(){
  1120. return new Authority(null,null,null,);
  1121. }
  1122. constructor( id: number,authorityName: string,authorityPath: string,) {
  1123. this.id = id;
  1124. this.authorityName = authorityName;
  1125. this.authorityPath = authorityPath;
  1126. }
  1127. }
  1128. export class DictData{
  1129. id: number
  1130. sort: number
  1131. dictLabel: string
  1132. dictValue: string
  1133. dictType: string
  1134. status: string
  1135. cssStyle: string
  1136. isDefault: string
  1137. remark: string
  1138. static Create(){
  1139. return new DictData(null,null,null,null,null,null,null,null,null,);
  1140. }
  1141. constructor( id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  1142. this.id = id;
  1143. this.sort = sort;
  1144. this.dictLabel = dictLabel;
  1145. this.dictValue = dictValue;
  1146. this.dictType = dictType;
  1147. this.status = status;
  1148. this.cssStyle = cssStyle;
  1149. this.isDefault = isDefault;
  1150. this.remark = remark;
  1151. }
  1152. }
  1153. export class DictType{
  1154. id: number
  1155. dictName: string
  1156. dictType: string
  1157. status: string
  1158. remark: string
  1159. static Create(){
  1160. return new DictType(null,null,null,null,null,);
  1161. }
  1162. constructor( id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1163. this.id = id;
  1164. this.dictName = dictName;
  1165. this.dictType = dictType;
  1166. this.status = status;
  1167. this.remark = remark;
  1168. }
  1169. }
  1170. export class ManageUser{
  1171. id: number
  1172. name: string
  1173. username: string
  1174. password: string
  1175. creationTime: number
  1176. loginTime: number
  1177. status: string
  1178. roleId: number
  1179. phone: string
  1180. email: string
  1181. avatar: string
  1182. static Create(){
  1183. return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
  1184. }
  1185. constructor( id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
  1186. this.id = id;
  1187. this.name = name;
  1188. this.username = username;
  1189. this.password = password;
  1190. this.creationTime = creationTime;
  1191. this.loginTime = loginTime;
  1192. this.status = status;
  1193. this.roleId = roleId;
  1194. this.phone = phone;
  1195. this.email = email;
  1196. this.avatar = avatar;
  1197. }
  1198. }
  1199. export class ShopAdviceCarousel{
  1200. id: number
  1201. name: string
  1202. toId: number
  1203. adviceType: string
  1204. sort: string
  1205. state: string
  1206. showType: string
  1207. createBy: string
  1208. createTime: string
  1209. updateBy: string
  1210. updateTime: string
  1211. static Create(){
  1212. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,);
  1213. }
  1214. constructor( id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  1215. this.id = id;
  1216. this.name = name;
  1217. this.toId = toId;
  1218. this.adviceType = adviceType;
  1219. this.sort = sort;
  1220. this.state = state;
  1221. this.showType = showType;
  1222. this.createBy = createBy;
  1223. this.createTime = createTime;
  1224. this.updateBy = updateBy;
  1225. this.updateTime = updateTime;
  1226. }
  1227. }
  1228. export class ShopTopic{
  1229. id: number
  1230. sort: string
  1231. parentId: number
  1232. topicPageImage: string
  1233. topicName: string
  1234. topicDesc: string
  1235. typeIds: string
  1236. static Create(){
  1237. return new ShopTopic(null,null,null,null,null,null,null,);
  1238. }
  1239. constructor( id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1240. this.id = id;
  1241. this.sort = sort;
  1242. this.parentId = parentId;
  1243. this.topicPageImage = topicPageImage;
  1244. this.topicName = topicName;
  1245. this.topicDesc = topicDesc;
  1246. this.typeIds = typeIds;
  1247. }
  1248. }
  1249. export class ShopTopicSku{
  1250. id: number
  1251. topicId: number
  1252. skuId: number
  1253. static Create(){
  1254. return new ShopTopicSku(null,null,null,);
  1255. }
  1256. constructor( id: number,topicId: number,skuId: number,) {
  1257. this.id = id;
  1258. this.topicId = topicId;
  1259. this.skuId = skuId;
  1260. }
  1261. }
  1262. export class ShopAdviceCarousel{
  1263. id: number
  1264. name: string
  1265. toId: number
  1266. adviceType: string
  1267. sort: string
  1268. state: string
  1269. showType: string
  1270. createBy: string
  1271. createTime: string
  1272. updateBy: string
  1273. updateTime: string
  1274. imageUrl: string
  1275. toType: string
  1276. static Create(){
  1277. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1278. }
  1279. constructor( id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,imageUrl: string,toType: string,) {
  1280. this.id = id;
  1281. this.name = name;
  1282. this.toId = toId;
  1283. this.adviceType = adviceType;
  1284. this.sort = sort;
  1285. this.state = state;
  1286. this.showType = showType;
  1287. this.createBy = createBy;
  1288. this.createTime = createTime;
  1289. this.updateBy = updateBy;
  1290. this.updateTime = updateTime;
  1291. this.imageUrl = imageUrl;
  1292. this.toType = toType;
  1293. }
  1294. }
  1295. export class ShopTopicSku{
  1296. id: number
  1297. topicId: number
  1298. skuId: number
  1299. static Create(){
  1300. return new ShopTopicSku(null,null,null,);
  1301. }
  1302. constructor( id: number,topicId: number,skuId: number,) {
  1303. this.id = id;
  1304. this.topicId = topicId;
  1305. this.skuId = skuId;
  1306. }
  1307. }
  1308. export class Authority{
  1309. static Create(){
  1310. return new Authority();
  1311. }
  1312. constructor( ) {
  1313. }
  1314. }
  1315. export class ArticleQuery{
  1316. id: number
  1317. articleTitle: string
  1318. articleContent: string
  1319. state: string
  1320. articleTagIds: string
  1321. articleTopicId: number
  1322. image: string
  1323. publishTime: string
  1324. eyeFill: number
  1325. likeCount: number
  1326. createBy: string
  1327. createTime: string
  1328. updateBy: string
  1329. updateTime: string
  1330. id: number
  1331. static Create(){
  1332. return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1333. }
  1334. constructor(id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTime: string,eyeFill: number,likeCount: number,createBy: string,createTime: string,updateBy: string,updateTime: string,id: number,) {
  1335. this.id = id;
  1336. this.articleTitle = articleTitle;
  1337. this.articleContent = articleContent;
  1338. this.state = state;
  1339. this.articleTagIds = articleTagIds;
  1340. this.articleTopicId = articleTopicId;
  1341. this.image = image;
  1342. this.publishTime = publishTime;
  1343. this.eyeFill = eyeFill;
  1344. this.likeCount = likeCount;
  1345. this.createBy = createBy;
  1346. this.createTime = createTime;
  1347. this.updateBy = updateBy;
  1348. this.updateTime = updateTime;
  1349. this.id = id;
  1350. }
  1351. }
  1352. export class ArticleTagQuery{
  1353. id: number
  1354. tagName: string
  1355. tagDesc: string
  1356. static Create(){
  1357. return new ArticleTag(null,null,null,);
  1358. }
  1359. constructor(id: number,tagName: string,tagDesc: string,) {
  1360. this.id = id;
  1361. this.tagName = tagName;
  1362. this.tagDesc = tagDesc;
  1363. }
  1364. }
  1365. export class ArticleTopicQuery{
  1366. id: number
  1367. image: string
  1368. topicName: string
  1369. topicDesc: string
  1370. static Create(){
  1371. return new ArticleTopic(null,null,null,null,);
  1372. }
  1373. constructor(id: number,image: string,topicName: string,topicDesc: string,) {
  1374. this.id = id;
  1375. this.image = image;
  1376. this.topicName = topicName;
  1377. this.topicDesc = topicDesc;
  1378. }
  1379. }
  1380. export class BackAuthorityQuery{
  1381. id: number
  1382. authorityName: string
  1383. authorityPath: string
  1384. method: string
  1385. state: string
  1386. authorityVerification: string
  1387. createTime: string
  1388. static Create(){
  1389. return new BackAuthority(null,null,null,null,null,null,null,);
  1390. }
  1391. constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
  1392. this.id = id;
  1393. this.authorityName = authorityName;
  1394. this.authorityPath = authorityPath;
  1395. this.method = method;
  1396. this.state = state;
  1397. this.authorityVerification = authorityVerification;
  1398. this.createTime = createTime;
  1399. }
  1400. }
  1401. export class BackMenuQuery{
  1402. id: number
  1403. backMenuName: string
  1404. backMenuPater: number
  1405. sort: number
  1406. icon: string
  1407. remark: string
  1408. backRouterPath: string
  1409. state: string
  1410. static Create(){
  1411. return new BackMenu(null,null,null,null,null,null,null,null,);
  1412. }
  1413. constructor(id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  1414. this.id = id;
  1415. this.backMenuName = backMenuName;
  1416. this.backMenuPater = backMenuPater;
  1417. this.sort = sort;
  1418. this.icon = icon;
  1419. this.remark = remark;
  1420. this.backRouterPath = backRouterPath;
  1421. this.state = state;
  1422. }
  1423. }
  1424. export class BackRoleQuery{
  1425. id: number
  1426. roleName: string
  1427. static Create(){
  1428. return new BackRole(null,null,);
  1429. }
  1430. constructor(id: number,roleName: string,) {
  1431. this.id = id;
  1432. this.roleName = roleName;
  1433. }
  1434. }
  1435. export class BackRoleAuthorityQuery{
  1436. id: number
  1437. roleId: number
  1438. authorityId: number
  1439. static Create(){
  1440. return new BackRoleAuthority(null,null,null,);
  1441. }
  1442. constructor(id: number,roleId: number,authorityId: number,) {
  1443. this.id = id;
  1444. this.roleId = roleId;
  1445. this.authorityId = authorityId;
  1446. }
  1447. }
  1448. export class BackRoleMenuQuery{
  1449. id: number
  1450. roleId: number
  1451. menuId: number
  1452. static Create(){
  1453. return new BackRoleMenu(null,null,null,);
  1454. }
  1455. constructor(id: number,roleId: number,menuId: number,) {
  1456. this.id = id;
  1457. this.roleId = roleId;
  1458. this.menuId = menuId;
  1459. }
  1460. }
  1461. export class GenTableQuery{
  1462. id: number
  1463. tableName: string
  1464. tableComment: string
  1465. name: string
  1466. routerName: string
  1467. remark: string
  1468. static Create(){
  1469. return new GenTable(null,null,null,null,null,null,);
  1470. }
  1471. constructor(id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  1472. this.id = id;
  1473. this.tableName = tableName;
  1474. this.tableComment = tableComment;
  1475. this.name = name;
  1476. this.routerName = routerName;
  1477. this.remark = remark;
  1478. }
  1479. }
  1480. export class GenTableColumnQuery{
  1481. id: number
  1482. tableId: number
  1483. sort: number
  1484. columnName: string
  1485. columnComment: string
  1486. columnType: string
  1487. goType: string
  1488. goField: string
  1489. isKey: string
  1490. isIncrement: string
  1491. isRequired: string
  1492. queryType: string
  1493. vueShowType: string
  1494. dictType: string
  1495. queryType: string
  1496. static Create(){
  1497. return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1498. }
  1499. constructor(id: number,tableId: number,sort: number,columnName: string,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,queryType: string,) {
  1500. this.id = id;
  1501. this.tableId = tableId;
  1502. this.sort = sort;
  1503. this.columnName = columnName;
  1504. this.columnComment = columnComment;
  1505. this.columnType = columnType;
  1506. this.goType = goType;
  1507. this.goField = goField;
  1508. this.isKey = isKey;
  1509. this.isIncrement = isIncrement;
  1510. this.isRequired = isRequired;
  1511. this.queryType = queryType;
  1512. this.vueShowType = vueShowType;
  1513. this.dictType = dictType;
  1514. this.queryType = queryType;
  1515. }
  1516. }
  1517. export class GoodsQuery{
  1518. id: number
  1519. typeId: number
  1520. goodsName: string
  1521. introductionId: number
  1522. salesVolumeStart: number
  1523. salesVolumeEnd: number
  1524. tagIds: string
  1525. static Create(){
  1526. return new Goods(null,null,null,null,null,null,);
  1527. }
  1528. constructor(id: number,typeId: number,goodsName: string,introductionId: number,salesVolumeStart: number,salesVolumeEnd: number,tagIds: string,) {
  1529. this.id = id;
  1530. this.typeId = typeId;
  1531. this.goodsName = goodsName;
  1532. this.introductionId = introductionId;
  1533. this.salesVolumeStart = salesVolumeStart;
  1534. this.salesVolumeEnd = salesVolumeEnd;
  1535. this.tagIds = tagIds;
  1536. }
  1537. }
  1538. export class GoodsCommodityAreaQuery{
  1539. id: number
  1540. goodsId: number
  1541. commodityAreaName: string
  1542. detailImage: string
  1543. detailIntroductionId: number
  1544. static Create(){
  1545. return new GoodsCommodityArea(null,null,null,null,null,);
  1546. }
  1547. constructor(id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  1548. this.id = id;
  1549. this.goodsId = goodsId;
  1550. this.commodityAreaName = commodityAreaName;
  1551. this.detailImage = detailImage;
  1552. this.detailIntroductionId = detailIntroductionId;
  1553. }
  1554. }
  1555. export class GoodsCouponQuery{
  1556. id: number
  1557. couponName: string
  1558. couponDesc: string
  1559. cashBackPoint: number
  1560. cashBackPrice: number
  1561. conditionByTopic: string
  1562. conditionByType: string
  1563. conditionByGoods: string
  1564. grantCount: string
  1565. count: number
  1566. receiveType: string
  1567. validity: string
  1568. validityPeriod: string
  1569. static Create(){
  1570. return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1571. }
  1572. 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,) {
  1573. this.id = id;
  1574. this.couponName = couponName;
  1575. this.couponDesc = couponDesc;
  1576. this.cashBackPoint = cashBackPoint;
  1577. this.cashBackPrice = cashBackPrice;
  1578. this.conditionByTopic = conditionByTopic;
  1579. this.conditionByType = conditionByType;
  1580. this.conditionByGoods = conditionByGoods;
  1581. this.grantCount = grantCount;
  1582. this.count = count;
  1583. this.receiveType = receiveType;
  1584. this.validity = validity;
  1585. this.validityPeriod = validityPeriod;
  1586. }
  1587. }
  1588. export class GoodsCouponUserQuery{
  1589. id: number
  1590. userId: number
  1591. couponId: number
  1592. collectionTime: string
  1593. state: string
  1594. static Create(){
  1595. return new GoodsCouponUser(null,null,null,null,null,);
  1596. }
  1597. constructor(id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  1598. this.id = id;
  1599. this.userId = userId;
  1600. this.couponId = couponId;
  1601. this.collectionTime = collectionTime;
  1602. this.state = state;
  1603. }
  1604. }
  1605. export class GoodsIntroductionQuery{
  1606. id: number
  1607. goodsArticleName: string
  1608. goodsArticle: string
  1609. createBy: string
  1610. createTime: string
  1611. updateBy: string
  1612. updateTime: string
  1613. static Create(){
  1614. return new GoodsIntroduction(null,null,null,null,null,null,null,);
  1615. }
  1616. constructor(id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  1617. this.id = id;
  1618. this.goodsArticleName = goodsArticleName;
  1619. this.goodsArticle = goodsArticle;
  1620. this.createBy = createBy;
  1621. this.createTime = createTime;
  1622. this.updateBy = updateBy;
  1623. this.updateTime = updateTime;
  1624. }
  1625. }
  1626. export class GoodsOrderQuery{
  1627. id: number
  1628. orderName: string
  1629. skuId: number
  1630. count: number
  1631. price: number
  1632. totalPrice: number
  1633. contactInformation: string
  1634. couponUserId: number
  1635. state: string
  1636. createBy: number
  1637. createTime: string
  1638. static Create(){
  1639. return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,);
  1640. }
  1641. constructor(id: number,orderName: string,skuId: number,count: number,price: number,totalPrice: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,) {
  1642. this.id = id;
  1643. this.orderName = orderName;
  1644. this.skuId = skuId;
  1645. this.count = count;
  1646. this.price = price;
  1647. this.totalPrice = totalPrice;
  1648. this.contactInformation = contactInformation;
  1649. this.couponUserId = couponUserId;
  1650. this.state = state;
  1651. this.createBy = createBy;
  1652. this.createTime = createTime;
  1653. }
  1654. }
  1655. export class GoodsSkuQuery{
  1656. id: number
  1657. skuImage: string
  1658. skuName: string
  1659. price: number
  1660. historicalPrices: number
  1661. inventoryNumber: number
  1662. commodityAreaId: number
  1663. goodsId: number
  1664. createBy: string
  1665. createTime: string
  1666. static Create(){
  1667. return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
  1668. }
  1669. constructor(id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
  1670. this.id = id;
  1671. this.skuImage = skuImage;
  1672. this.skuName = skuName;
  1673. this.price = price;
  1674. this.historicalPrices = historicalPrices;
  1675. this.inventoryNumber = inventoryNumber;
  1676. this.commodityAreaId = commodityAreaId;
  1677. this.goodsId = goodsId;
  1678. this.createBy = createBy;
  1679. this.createTime = createTime;
  1680. }
  1681. }
  1682. export class GoodsSkuCardQuery{
  1683. id: number
  1684. cardName: string
  1685. state: string
  1686. count: number
  1687. totalCount: string
  1688. cardKey: string
  1689. use: string
  1690. uploadTime: string
  1691. skuId: number
  1692. sort: string
  1693. static Create(){
  1694. return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
  1695. }
  1696. constructor(id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
  1697. this.id = id;
  1698. this.cardName = cardName;
  1699. this.state = state;
  1700. this.count = count;
  1701. this.totalCount = totalCount;
  1702. this.cardKey = cardKey;
  1703. this.use = use;
  1704. this.uploadTime = uploadTime;
  1705. this.skuId = skuId;
  1706. this.sort = sort;
  1707. }
  1708. }
  1709. export class GoodsTagQuery{
  1710. id: number
  1711. name: string
  1712. iconUrl: string
  1713. tag: string
  1714. static Create(){
  1715. return new GoodsTag(null,null,null,null,);
  1716. }
  1717. constructor(id: number,name: string,iconUrl: string,tag: string,) {
  1718. this.id = id;
  1719. this.name = name;
  1720. this.iconUrl = iconUrl;
  1721. this.tag = tag;
  1722. }
  1723. }
  1724. export class GoodsTypeQuery{
  1725. id: number
  1726. sort: number
  1727. typeImage: string
  1728. typeName: string
  1729. createTime: string
  1730. static Create(){
  1731. return new GoodsType(null,null,null,null,null,);
  1732. }
  1733. constructor(id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
  1734. this.id = id;
  1735. this.sort = sort;
  1736. this.typeImage = typeImage;
  1737. this.typeName = typeName;
  1738. this.createTime = createTime;
  1739. }
  1740. }
  1741. export class UserQuery{
  1742. id: number
  1743. username: string
  1744. password: string
  1745. creationTime: number
  1746. loginTime: number
  1747. status: string
  1748. roleId: number
  1749. phone: string
  1750. email: string
  1751. name: string
  1752. avatar: string
  1753. recommendCode: string
  1754. static Create(){
  1755. return new User(null,null,null,null,null,null,null,null,null,null,null,null,);
  1756. }
  1757. 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,) {
  1758. this.id = id;
  1759. this.username = username;
  1760. this.password = password;
  1761. this.creationTime = creationTime;
  1762. this.loginTime = loginTime;
  1763. this.status = status;
  1764. this.roleId = roleId;
  1765. this.phone = phone;
  1766. this.email = email;
  1767. this.name = name;
  1768. this.avatar = avatar;
  1769. this.recommendCode = recommendCode;
  1770. }
  1771. }
  1772. export class UserWalletQuery{
  1773. id: number
  1774. userId: number
  1775. balance: number
  1776. promotionAmount: number
  1777. rechargeAmount: number
  1778. static Create(){
  1779. return new UserWallet(null,null,null,null,null,);
  1780. }
  1781. constructor(id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
  1782. this.id = id;
  1783. this.userId = userId;
  1784. this.balance = balance;
  1785. this.promotionAmount = promotionAmount;
  1786. this.rechargeAmount = rechargeAmount;
  1787. }
  1788. }
  1789. export class AuthorityQuery{
  1790. id: number
  1791. authorityName: string
  1792. authorityPath: string
  1793. static Create(){
  1794. return new Authority(null,null,null,);
  1795. }
  1796. constructor(id: number,authorityName: string,authorityPath: string,) {
  1797. this.id = id;
  1798. this.authorityName = authorityName;
  1799. this.authorityPath = authorityPath;
  1800. }
  1801. }
  1802. export class DictDataQuery{
  1803. id: number
  1804. sort: number
  1805. dictLabel: string
  1806. dictValue: string
  1807. dictType: string
  1808. status: string
  1809. cssStyle: string
  1810. isDefault: string
  1811. remark: string
  1812. static Create(){
  1813. return new DictData(null,null,null,null,null,null,null,null,null,);
  1814. }
  1815. constructor(id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  1816. this.id = id;
  1817. this.sort = sort;
  1818. this.dictLabel = dictLabel;
  1819. this.dictValue = dictValue;
  1820. this.dictType = dictType;
  1821. this.status = status;
  1822. this.cssStyle = cssStyle;
  1823. this.isDefault = isDefault;
  1824. this.remark = remark;
  1825. }
  1826. }
  1827. export class DictTypeQuery{
  1828. id: number
  1829. dictName: string
  1830. dictType: string
  1831. status: string
  1832. remark: string
  1833. static Create(){
  1834. return new DictType(null,null,null,null,null,);
  1835. }
  1836. constructor(id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1837. this.id = id;
  1838. this.dictName = dictName;
  1839. this.dictType = dictType;
  1840. this.status = status;
  1841. this.remark = remark;
  1842. }
  1843. }
  1844. export class ManageUserQuery{
  1845. id: number
  1846. name: string
  1847. username: string
  1848. password: string
  1849. creationTime: number
  1850. loginTime: number
  1851. status: string
  1852. roleId: number
  1853. phone: string
  1854. email: string
  1855. avatar: string
  1856. static Create(){
  1857. return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
  1858. }
  1859. constructor(id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
  1860. this.id = id;
  1861. this.name = name;
  1862. this.username = username;
  1863. this.password = password;
  1864. this.creationTime = creationTime;
  1865. this.loginTime = loginTime;
  1866. this.status = status;
  1867. this.roleId = roleId;
  1868. this.phone = phone;
  1869. this.email = email;
  1870. this.avatar = avatar;
  1871. }
  1872. }
  1873. export class ShopAdviceCarouselQuery{
  1874. id: number
  1875. name: string
  1876. toId: number
  1877. adviceType: string
  1878. sort: string
  1879. state: string
  1880. showType: string
  1881. createBy: string
  1882. createTime: string
  1883. updateBy: string
  1884. updateTime: string
  1885. static Create(){
  1886. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,);
  1887. }
  1888. constructor(id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  1889. this.id = id;
  1890. this.name = name;
  1891. this.toId = toId;
  1892. this.adviceType = adviceType;
  1893. this.sort = sort;
  1894. this.state = state;
  1895. this.showType = showType;
  1896. this.createBy = createBy;
  1897. this.createTime = createTime;
  1898. this.updateBy = updateBy;
  1899. this.updateTime = updateTime;
  1900. }
  1901. }
  1902. export class ShopTopicQuery{
  1903. id: number
  1904. sort: string
  1905. parentId: number
  1906. topicPageImage: string
  1907. topicName: string
  1908. topicDesc: string
  1909. typeIds: string
  1910. static Create(){
  1911. return new ShopTopic(null,null,null,null,null,null,null,);
  1912. }
  1913. constructor(id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1914. this.id = id;
  1915. this.sort = sort;
  1916. this.parentId = parentId;
  1917. this.topicPageImage = topicPageImage;
  1918. this.topicName = topicName;
  1919. this.topicDesc = topicDesc;
  1920. this.typeIds = typeIds;
  1921. }
  1922. }
  1923. export class ShopTopicSkuQuery{
  1924. id: number
  1925. topicId: number
  1926. skuId: number
  1927. static Create(){
  1928. return new ShopTopicSku(null,null,null,);
  1929. }
  1930. constructor(id: number,topicId: number,skuId: number,) {
  1931. this.id = id;
  1932. this.topicId = topicId;
  1933. this.skuId = skuId;
  1934. }
  1935. }
  1936. export class ShopAdviceCarouselQuery{
  1937. id: number
  1938. name: string
  1939. toId: number
  1940. adviceType: string
  1941. sort: string
  1942. state: string
  1943. showType: string
  1944. createBy: string
  1945. createTime: string
  1946. updateBy: string
  1947. updateTime: string
  1948. imageUrl: string
  1949. toType: string
  1950. static Create(){
  1951. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1952. }
  1953. constructor(id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,imageUrl: string,toType: string,) {
  1954. this.id = id;
  1955. this.name = name;
  1956. this.toId = toId;
  1957. this.adviceType = adviceType;
  1958. this.sort = sort;
  1959. this.state = state;
  1960. this.showType = showType;
  1961. this.createBy = createBy;
  1962. this.createTime = createTime;
  1963. this.updateBy = updateBy;
  1964. this.updateTime = updateTime;
  1965. this.imageUrl = imageUrl;
  1966. this.toType = toType;
  1967. }
  1968. }
  1969. export class ShopTopicSkuQuery{
  1970. id: number
  1971. topicId: number
  1972. skuId: number
  1973. static Create(){
  1974. return new ShopTopicSku(null,null,null,);
  1975. }
  1976. constructor(id: number,topicId: number,skuId: number,) {
  1977. this.id = id;
  1978. this.topicId = topicId;
  1979. this.skuId = skuId;
  1980. }
  1981. }
  1982. export class AuthorityQuery{
  1983. static Create(){
  1984. return new Authority();
  1985. }
  1986. constructor() {
  1987. }
  1988. }