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