diff --git a/.env.development b/.env.development index 302ecd1..9911057 100644 --- a/.env.development +++ b/.env.development @@ -1,11 +1,11 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 通告快接管理后台 # 开发环境配置 ENV = 'development' -# 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +# 通告快接管理后台/开发环境 +VUE_APP_BASE_API = 'http://localhost:8088' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.staging b/.env.staging index 209b64e..d245445 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 通告快接管理后台 BABEL_ENV = production @@ -8,5 +8,5 @@ NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 若依管理系统/测试环境 +# 通告快接管理后台/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/src/api/busi/tcinfo.js b/src/api/busi/tcinfo.js new file mode 100644 index 0000000..3408d44 --- /dev/null +++ b/src/api/busi/tcinfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询提成记录列表 +export function listTcinfo(query) { + return request({ + url: '/busi/tcinfo/list', + method: 'get', + params: query + }) +} + +// 查询提成记录详细 +export function getTcinfo(id) { + return request({ + url: '/busi/tcinfo/' + id, + method: 'get' + }) +} + +// 新增提成记录 +export function addTcinfo(data) { + return request({ + url: '/busi/tcinfo', + method: 'post', + data: data + }) +} + +// 修改提成记录 +export function updateTcinfo(data) { + return request({ + url: '/busi/tcinfo', + method: 'put', + data: data + }) +} + +// 删除提成记录 +export function delTcinfo(id) { + return request({ + url: '/busi/tcinfo/' + id, + method: 'delete' + }) +} diff --git a/src/api/member/points.js b/src/api/member/points.js new file mode 100644 index 0000000..117706b --- /dev/null +++ b/src/api/member/points.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询博主积分变动明细列表 +export function listPoints(query) { + return request({ + url: '/member/points/adminList', + method: 'get', + params: query + }) +} + +// 查询博主积分变动明细详细 +export function getPoints(id) { + return request({ + url: '/member/points/' + id, + method: 'get' + }) +} + +// 新增博主积分变动明细 +export function addPoints(data) { + return request({ + url: '/member/points', + method: 'post', + data: data + }) +} + +// 修改博主积分变动明细 +export function updatePoints(data) { + return request({ + url: '/member/points', + method: 'put', + data: data + }) +} + +// 删除博主积分变动明细 +export function delPoints(id) { + return request({ + url: '/member/points/' + id, + method: 'delete' + }) +} diff --git a/src/views/busi/notice/index.vue b/src/views/busi/notice/index.vue index 3b2fb34..59c6659 100644 --- a/src/views/busi/notice/index.vue +++ b/src/views/busi/notice/index.vue @@ -1,6 +1,14 @@ +