|
@@ -1,7 +1,7 @@
|
|
|
import { get, post } from "@/request/api.js";
|
|
import { get, post } from "@/request/api.js";
|
|
|
|
|
+// 此执行为获取实名认证的开关状态
|
|
|
post('isAuthentication').then(res => {
|
|
post('isAuthentication').then(res => {
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
- // uni.setStorageSync("isAuthentication", true);
|
|
|
|
|
uni.setStorageSync("isAuthentication", res.data.data);
|
|
uni.setStorageSync("isAuthentication", res.data.data);
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|