分享朋友圈调整

This commit is contained in:
唐明明
2023-09-14 09:25:37 +08:00
parent 510cbeb181
commit 0dcf23bfde
43 changed files with 458 additions and 219 deletions

View File

@@ -32,9 +32,17 @@ const resetPassword = data => req({
data
})
/**
* 隐私协议
*/
const richText = id => req({
url: "cms/pages/" + id
})
export default ({
Login,
register,
getSms,
resetPassword
resetPassword,
richText
})

View File

@@ -14,11 +14,16 @@ const updIdcard = (path, data) => upload({
})
// 提交身份信息
const ocr = data => req({
url : "user/certification",
data,
method : "POST"
})
const ocr = data => {
console.log(data)
return req({
url : "user/certification",
data,
method : "POST"
})
}
// 获取认证信息
const getInfo = () => req({

View File

@@ -6,13 +6,10 @@
import { errInfo } from './err'
import { updToken } from './updateToken'
// 请求方式配置
// //正式地址
// https://api.xhtest.douhuofalv.com/api/ //测试地址
// wx989712ad2d06a40b 测试appid 三猿
// wx7662853c6f7f46b4 正式appid
// 正式环境
const api = "https://api.xhtest.douhuofalv.com/api/" // 测试环境
// 正式地址
const api = "https://api.xuanhuojk.com/api/"
// 测试地址
// const api = "https://api.xhtest.douhuofalv.com/api/"
const header = {
"Accept" : "application/json"
}