Kaynağa Gözat

change graphql api,use cos db file

kulley 7 yıl önce
ebeveyn
işleme
0ab86c4668
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 2 1
      project.config.json
  2. 1 1
      utils/util.js

+ 2 - 1
project.config.json

@@ -10,7 +10,8 @@
 		"minified": true,
 		"newFeature": true,
 		"nodeModules": true,
-		"autoAudits": false
+		"autoAudits": false,
+		"uglifyFileName": false
 	},
 	"compileType": "miniprogram",
 	"libVersion": "2.4.3",

+ 1 - 1
utils/util.js

@@ -2,7 +2,7 @@ const idGen = (kind) => {
     return kind + '_' + Date.now() + '_' + Math.random().toString().slice(-8);
 };
 
-const graphqlURL = 'https://orderfcdb.ioobot.cn/graphql';
+const graphqlURL = 'https://orderfcdb.szu.im/graphql';
 
 const fetchGraphql = (query, variables, dataName, dataBack, that) => {
     // 如果给了 databack,则返回对应的数据,没有则返回全部