This commit is contained in:
gyq 2025-08-01 16:24:05 +08:00
parent 9e95072685
commit ebf40e35f6
5 changed files with 12 additions and 5 deletions

View File

@ -6,7 +6,9 @@ export const productUrl='dj-admin';
// const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
const baseUrl = "http://192.168.1.31:8080/admin/" // php
// const baseUrl = "http://192.168.1.31:8080/admin/" // php
const baseUrl = "https://playlet.test.sxczgkj.com/admin/" // php
export default{
baseUrl

View File

@ -2550,6 +2550,7 @@ export default {
data: this.$http.adornData({
courseDetailsId: row.courseDetailsId,
advertising: row.advertising,
courseId: row.courseId,
}),
}).then(({ data }) => {
if (data.code == 0) {
@ -2591,6 +2592,7 @@ export default {
data: this.$http.adornData({
courseDetailsId: row.courseDetailsId,
good: row.good,
courseId: row.courseId,
}),
}).then(({ data }) => {
if (data.code == 0) {

View File

@ -113,8 +113,8 @@
})
}).then(({data}) => {
if (data && data.code === 0) {
this.dataList = data.data.list
this.totalPage = data.data.totalCount
this.dataList = data.page.list
this.totalPage = data.page.totalCount
} else {
this.dataList = []
this.totalPage = 0

View File

@ -998,7 +998,10 @@ export default {
this.$http({
url: this.$http.adornUrl(`user/deleteUserByUserId/${delid}`),
method: 'post',
params: this.$http.adornData({})
params: this.$http.adornData({}),
data: {
'userId': delid
}
}).then(({
data
}) => {

View File

@ -152,7 +152,7 @@ export default {
this.orderInfo = res.data.data
} else {
this.orderInfo = ''
this.$message.error(res.data.msg)
this.$message.error(res.data.message)
}
} catch (error) {
this.orderInfo = ''