分享朋友圈调整
This commit is contained in:
@@ -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
|
||||
})
|
||||
@@ -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({
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user