feat: 项目初始化

This commit is contained in:
tianyongbao
2025-10-11 22:48:19 +08:00
parent 3a51eed514
commit 7e10c62cf9
87 changed files with 46791 additions and 36 deletions

33
src/api/my.ts Normal file
View File

@@ -0,0 +1,33 @@
import httpService from '@/utils/request'
// 报警电话列表
export function warnPhoneList() {
return httpService.get(`/api/user-center/list_warn_phone`)
}
// 修改报警电话
export function updateWarnPhone(data) {
return httpService.put(`/api/user-center/update_warn_phone`,{data})
}
// 修改手机号码
export function updatePhone(data) {
return httpService.put(`/api/user-center/update_mobile_phone`,{data})
}
// 验证验证码
export function verifyCode(params) {
return httpService.post(`/sms_code/verify`,{params})
}
// 修改昵称
export function updateNickName(data) {
return httpService.put(`/api/user-center/update_user_name`,{data})
}
// 支付选项页面
export function payOption() {
return httpService.post(`/api/tenpay/get_pay_item`)
}
// 创建支付订单
export function createOrder(data) {
return httpService.post(`/api/tenpay/create_order`,{data})
}
// 微信支付
export function wxPayOrder(data) {
return httpService.post(`https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi`,{data})
}