Jelajahi Sumber

feat(config): 新增测试配置

wangpx 1 tahun lalu
induk
melakukan
442406518e
3 mengubah file dengan 22 tambahan dan 3 penghapusan
  1. 4 2
      config.js
  2. 17 0
      config_test.js
  3. 1 1
      pages.json

+ 4 - 2
config.js

@@ -1,4 +1,6 @@
-import config_ygtx from './config_ygtx.js';
-const configModule = config_ygtx;
+import ygtx from './config_ygtx.js';
+// import hnyz from './config_hnyz.js';
+// import test from './config_test.js';
+const configModule = ygtx;
 
 export default configModule;

+ 17 - 0
config_test.js

@@ -0,0 +1,17 @@
+export default {
+	baseUrl: 'http://127.0.0.1:8081/oa',
+	baseUrlPre: 'http://127.0.0.1:8081',
+	// baseUrl: 'http://192.168.110.82:8081/oa',
+	// baseUrlPre:'http://192.168.110.82:8081',
+	// baseUrl: 'https://api.ygtxfj.com/ynet',
+	// baseUrlPre:'https://api.ygtxfj.com',
+	logoSrc: 'https://50006360.s21i.huaweicloudsite.cn/4/ABUIABAEGAAg-I3cuQYo6IXe9AQw9AM4Rg.png',
+	companyName:'宇光同行',
+	companyCode: 'yg',
+	mapKey: 'KJBBZ-5JCLZ-3NLXD-742CK-Y26UZ-X7BJN',
+	// signInTimeRange:['08:30:00', '09:30:00'], //正常签到时间范围
+	// signOutTimeRange:['17:30:00', '20:00:00'], //正常签退时间
+	// lateTimeRange:['09:00:00', '09:30:00'], //迟到时间范围
+	timeout: 10000,
+	defaultAvatarPath:'/shares/document/miniApp/avatar/defaultAvatar.jpg',//默认服务器存储的头像路径
+}

+ 1 - 1
pages.json

@@ -141,7 +141,7 @@
 			"path" : "pages/message/chat/index",
 			"style" : 
 			{
-				"navigationBarTitleText" : "AI客服"
+				"navigationBarTitleText" : "AI助手"
 			}
 		},
 		{