个人中心校验

This commit is contained in:
丁杰 2026-06-15 21:33:34 +08:00
parent 177fbb35f9
commit cc5f824858
3 changed files with 10 additions and 7 deletions

View File

@ -2,8 +2,8 @@
"name" : "美融融商家",
"appid" : "__UNI__BBE6285",
"description" : "同城便捷到家美业“技术外卖”服务、同城预约到店服务平台美融融为同城爱美人群提供更优质的更全面的服务。",
"versionName" : "1.0.20",
"versionCode" : 1020,
"versionName" : "1.0.21",
"versionCode" : 1021,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -761,10 +761,13 @@ export default {
request.post("/sj/user/getUser").then((result) => {
this.userInfo = result.data;
uni.setStorageSync("syrId", result.data.id);
//
const isCertified = result.data.credentials_state === 2 ||
(result.data.id_type > 0 && result.data.credentials_state === 0);
const allReady = result.data.business_time &&
result.data.servers_kill_arr &&
result.data.servers_kill_arr.length > 0 &&
result.data.credentials_state === 2;
isCertified;
const mgmtCard = this.cardList.find(c => c.title === "管理中心");
if (mgmtCard) {
const shopItem = mgmtCard.list.find(i => i.title === "店铺装修");

View File

@ -120,14 +120,14 @@ const request = async (options, isUpdate) => {
if (process.env.NODE_ENV === "development") {
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。
// baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://dev.mrrwlkj.top'; // 发布到生产环境时,此处代码会被摇树移除掉。
// baseURL = "https://app.mrrweb.com.cn";
baseURL = "https://app.mrrweb.com.cn";
} else {
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。
// baseURL = "http://test.mrrwlkj.top"; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://dev.mrrwlkj.top'; // 发布到生产环境时,此处代码会被摇树移除掉。
// baseURL = "https://app.mrrweb.com.cn";
baseURL = "https://app.mrrweb.com.cn";
console.log("生产环境");
}