2025-02-19 09:34:34 +08:00
|
|
|
import request from '@/utils/request';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @data 用户获取通知消息列表
|
|
|
|
|
*/
|
|
|
|
|
export function updateDetailInfoCasualForAppApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/custCasual/updateDetailInfoCasualForApp',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @data 用户获取通知消息列表
|
|
|
|
|
*/
|
|
|
|
|
export function queryUserInformApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v2/applet/inform/queryUserInform',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @data 获取未读消息数量
|
|
|
|
|
*/
|
|
|
|
|
export function queryUnreadInformNumApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v2/applet/inform/queryUnreadInformNum',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @data 修改通知状态
|
|
|
|
|
*/
|
|
|
|
|
export function updateNoticeStatusApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v2/applet/inform/updateStatus',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @data 查询人脸照片地址和状态
|
|
|
|
|
*/
|
|
|
|
|
export function queryFacePhotoApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v4/app/custInfo/queryFacePhoto',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @data 小程序保存人脸图片
|
|
|
|
|
*/
|
|
|
|
|
export function uploadPhotoGenCodeForAppApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/custInfo/uploadPhotoGenCodeForApp',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @data 移动端卡片管理 - web端卡片管理
|
|
|
|
|
*/
|
|
|
|
|
export function getCardListApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v4/app/custInfo/card/list',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @data 移动端卡片管理 - 挂失
|
|
|
|
|
*/
|
|
|
|
|
export function lossCardApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v4/app/custInfo/loss/card',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @data 移动端卡片管理 - 解挂
|
|
|
|
|
*/
|
|
|
|
|
export function cancelLossCardApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v4/app/custInfo/cancel/loss/card',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 评价及投诉建议
|
|
|
|
|
//获取食堂列表
|
|
|
|
|
export function getAllCanteenStallApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v2/alloc/canteen/list-all-canteen-stall',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
//投诉建议(提交)
|
|
|
|
|
export function postCanteenPlaintApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v1/wechat/applet/complaint/postPlaint',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//投诉建议(历史记录)
|
|
|
|
|
export function getqueryPlaintApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v1/wechat/applet/complaint/queryPlaint',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params:data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//重新绑定手机号
|
|
|
|
|
export function rebindMobileApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/custInfo/rebind/mobile',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2025-05-21 10:33:00 +08:00
|
|
|
//app端电子券列表
|
|
|
|
|
export function couponMobileGroupApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/api/v2/mkt/coupon/list-electron-mobile-group',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-02-19 09:34:34 +08:00
|
|
|
|