11
This commit is contained in:
1 parent
afe4de0528
commit
02dfa5c90a
5 files changed
+15
-14
No files matched your search
+2
-6
@@ -15,14 +15,10 @@ if (ENV == 'DEV') {
|
||||
CHAT_ENV.BASE_URL = '/api';
|
||||
// #endif
|
||||
}
|
||||
|
||||
console.log("CHAT_ENV:", CHAT_ENV);
|
||||
|
||||
|
||||
// 生产
|
||||
if (ENV == 'PROD') {
|
||||
CHAT_ENV.BASE_URL = 'http://im-server.htysapp.com';
|
||||
CHAT_ENV.WS_URL = 'ws://chatapp.im-server.htysapp.com.com/im';
|
||||
CHAT_ENV.BASE_URL = 'http://im-platform.htysapp.com';
|
||||
CHAT_ENV.WS_URL = 'ws://im-server.htysapp.com/im';
|
||||
}
|
||||
|
||||
export default CHAT_ENV;
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
"name" : "荷塘月色",
|
||||
"appid" : "__UNI__0A84F60",
|
||||
"description" : "聊天交友app",
|
||||
"versionName" : "1.0.4",
|
||||
"versionCode" : 104,
|
||||
"versionName" : "1.0.6",
|
||||
"versionCode" : 106,
|
||||
"transformPx" : false,
|
||||
"app-plus" : {
|
||||
"usingComponents" : true,
|
||||
|
||||
+1
-1
@@ -494,7 +494,7 @@
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "荷塘月色交友聊天",
|
||||
"navigationBarBackgroundColor": "#222222 ",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"backgroundColor": "#222222",
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
|
||||
@@ -23,8 +23,13 @@ const verify = (certifyId: string, authId: string) => {
|
||||
},
|
||||
function (response: any) {
|
||||
console.log('认证结果', response);
|
||||
|
||||
switch (response.code) {
|
||||
let code = -1;
|
||||
if (response.code) {
|
||||
code = response.code;
|
||||
} else if (response.retCode) {
|
||||
code = response.retCode;
|
||||
}
|
||||
switch (code) {
|
||||
case 2006:
|
||||
uni.showToast({
|
||||
title: '认证不通过,请上传与您本人人脸相同的头像图片',
|
||||
|
||||
Reference in new issue
Block a user