dever 4 years ago
parent
commit
f43baaff2b
3 changed files with 23 additions and 7 deletions
  1. 1 1
      lib/dever/index.js
  2. 2 2
      main.js
  3. 20 4
      manifest.json

+ 1 - 1
lib/dever/index.js

@@ -4,7 +4,7 @@ import config from './config';
 //http网络请求
 var http = {
 	//token的key
-	token : 'token',
+	token : 'signature',
 	//获取token
 	getToken: function() {
 		return uni.getStorageSync('prev1_' + this.token);

+ 2 - 2
main.js

@@ -29,8 +29,8 @@ Vue.prototype.Dever = Dever;
 
 // 载入全局配置 默认配置,防止第一次载入报错的,系统会自动从后台更新最新的配置
 var defaultConfig = {
-	'system_name' : '幻境',
-	'system_info' : '幻境',
+	'system_name' : '合小记',
+	'system_info' : '合小记',
 	'system_logo' : '../../static/logo.png',
 	//自动更新时间间隔
 	'set_update' : 86400,

+ 20 - 4
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "幻境",
+    "name" : "合小记",
     "appid" : "__UNI__10C3233",
     "description" : "",
     "versionName" : "1.0.0",
@@ -94,9 +94,25 @@
         "enable" : true
     },
     "h5" : {
-        "uniStatistics" : {
-            "enable" : true
-        }
+        "router" : {
+            "mode" : "hash",
+            "base" : "/"
+        },
+        "title" : "合小记",
+        "devServer" : {
+            "https" : false,
+            "port" : ""
+        },
+        "domain" : "http://he.shemic.com/",
+        "sdkConfigs" : {
+            "maps" : {}
+        },
+        "optimization" : {
+            "treeShaking" : {
+                "enable" : true
+            }
+        },
+        "template" : "index.html"
     },
     "mp-qq" : {
         "uniStatistics" : {