Merge remote-tracking branch 'origin/dev' into dev
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 142 KiB |
|
After Width: | Height: | Size: 152 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 238 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 201 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 176 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 208 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 173 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 248 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 62 KiB |
@ -0,0 +1,47 @@
|
|||||||
|
import request from '@/config/axios'
|
||||||
|
|
||||||
|
export interface ArticleVO {
|
||||||
|
id: number
|
||||||
|
categoryId: number
|
||||||
|
title: string
|
||||||
|
author: string
|
||||||
|
picUrl: string
|
||||||
|
introduction: string
|
||||||
|
browseCount: string
|
||||||
|
sort: number
|
||||||
|
status: number
|
||||||
|
spuId: number
|
||||||
|
recommendHot: boolean
|
||||||
|
recommendBanner: boolean
|
||||||
|
content: string
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询文章管理列表
|
||||||
|
export const getArticlePage = async (params) => {
|
||||||
|
return await request.get({ url: `/promotion/article/page`, params })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询文章管理详情
|
||||||
|
export const getArticle = async (id: number) => {
|
||||||
|
return await request.get({ url: `/promotion/article/get?id=` + id })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增文章管理
|
||||||
|
export const createArticle = async (data: ArticleVO) => {
|
||||||
|
return await request.post({ url: `/promotion/article/create`, data })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改文章管理
|
||||||
|
export const updateArticle = async (data: ArticleVO) => {
|
||||||
|
return await request.put({ url: `/promotion/article/update`, data })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除文章管理
|
||||||
|
export const deleteArticle = async (id: number) => {
|
||||||
|
return await request.delete({ url: `/promotion/article/delete?id=` + id })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 导出文章管理 Excel
|
||||||
|
export const exportArticle = async (params) => {
|
||||||
|
return await request.download({ url: `/promotion/article/export-excel`, params })
|
||||||
|
}
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
import request from '@/config/axios'
|
||||||
|
|
||||||
|
export interface ArticleCategoryVO {
|
||||||
|
id: number
|
||||||
|
name: string
|
||||||
|
picUrl: string
|
||||||
|
status: number
|
||||||
|
sort: number
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询文章分类列表
|
||||||
|
export const getArticleCategoryPage = async (params) => {
|
||||||
|
return await request.get({ url: `/promotion/article-category/page`, params })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询文章分类精简信息列表
|
||||||
|
export const getSimpleArticleCategoryList = async () => {
|
||||||
|
return await request.get({ url: `/promotion/article-category/list-all-simple` })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询文章分类详情
|
||||||
|
export const getArticleCategory = async (id: number) => {
|
||||||
|
return await request.get({ url: `/promotion/article-category/get?id=` + id })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增文章分类
|
||||||
|
export const createArticleCategory = async (data: ArticleCategoryVO) => {
|
||||||
|
return await request.post({ url: `/promotion/article-category/create`, data })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改文章分类
|
||||||
|
export const updateArticleCategory = async (data: ArticleCategoryVO) => {
|
||||||
|
return await request.put({ url: `/promotion/article-category/update`, data })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除文章分类
|
||||||
|
export const deleteArticleCategory = async (id: number) => {
|
||||||
|
return await request.delete({ url: `/promotion/article-category/delete?id=` + id })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 导出文章分类 Excel
|
||||||
|
export const exportArticleCategory = async (params) => {
|
||||||
|
return await request.download({ url: `/promotion/article-category/export-excel`, params })
|
||||||
|
}
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
import request from '@/config/axios'
|
||||||
|
|
||||||
|
export interface WalletRechargePackageVO {
|
||||||
|
id: number
|
||||||
|
name: string
|
||||||
|
payPrice: number
|
||||||
|
bonusPrice: number
|
||||||
|
status: number
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询套餐充值列表
|
||||||
|
export const getWalletRechargePackagePage = async (params) => {
|
||||||
|
return await request.get({ url: '/pay/wallet-recharge-package/page', params })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询套餐充值详情
|
||||||
|
export const getWalletRechargePackage = async (id: number) => {
|
||||||
|
return await request.get({ url: '/pay/wallet-recharge-package/get?id=' + id })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增套餐充值
|
||||||
|
export const createWalletRechargePackage = async (data: WalletRechargePackageVO) => {
|
||||||
|
return await request.post({ url: '/pay/wallet-recharge-package/create', data })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改套餐充值
|
||||||
|
export const updateWalletRechargePackage = async (data: WalletRechargePackageVO) => {
|
||||||
|
return await request.put({ url: '/pay/wallet-recharge-package/update', data })
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除套餐充值
|
||||||
|
export const deleteWalletRechargePackage = async (id: number) => {
|
||||||
|
return await request.delete({ url: '/pay/wallet-recharge-package/delete?id=' + id })
|
||||||
|
}
|
||||||