Bladeren bron

添加大恒巡检保养工单系统分支

dylan 2 jaren geleden
bovenliggende
commit
cd511a1175
2 gewijzigde bestanden met toevoegingen van 14 en 7 verwijderingen
  1. 8 0
      .gitignore
  2. 6 7
      common/setting.js

+ 8 - 0
.gitignore

@@ -0,0 +1,8 @@
+.hbuilderx
+node_modules
+uni_modules
+unpackage
+uview-ui
+*.bak
+
+

+ 6 - 7
common/setting.js

@@ -12,15 +12,14 @@ module.exports = {
 	userType: 'app',
 	// 开发环境接口Url
 	devUrl: 'http://127.0.0.1:50004',
-	//devUrl: 'http://111.204.228.227:50004',
-	// 生产环境
-	oss: 'https://wx.dahengsi.com:30001/oss/galaxy/',
-	imgPath: 'https://wx.dahengsi.com:30001/img/',
-	prodUrl: 'https://wx.dahengsi.com:30001/api',
 	// 测试环境
 	// oss: 'https://wx.dahengsi.com:44301/oss/galaxy/',
 	// imgPath: 'https://wx.dahengsi.com:44301/img/',
 	// prodUrl: 'https://wx.dahengsi.com:44301/api',
+	// 生产环境
+	oss: 'https://wx.dahengsi.com:30001/oss/galaxy/',
+	imgPath: 'https://wx.dahengsi.com:30001/img/',
+	prodUrl: 'https://wx.dahengsi.com:30001/api',
 	// 后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8
 	contentType: 'application/json;charset=UTF-8',
 	// 后端返回状态码
@@ -30,7 +29,7 @@ module.exports = {
 	// 登录失效code
 	invalidCode: 401,
 	// 客户端ID
-	clientId: 'tscloudywxt',
+	clientId: 'tscloudywxt_app',
 	// 客户端密钥
-	clientSecret: 'tscloudywxt_secret_82828800',
+	clientSecret: 'tscloudywxt_app_secret_82828800',
 }