|
@@ -1,44 +1,21 @@
|
|
|
+const node_dev = process.env.H_NODE_ENV;
|
|
|
+
|
|
|
+let apiBaseurl='http://wx.hw.hongweisoft.com/forestapi/forest-portal';
|
|
|
+let loginUrl='http://wx.hw.hongweisoft.com/forestapi/forest-portal/wechat/h5/authorize?returnUrl=http://172.16.90.25:8080/#/';
|
|
|
+
|
|
|
+if (node_dev) {
|
|
|
+ apiBaseurl = process.env.H_BASE_URL;
|
|
|
+ loginUrl = process.env.H_LOGIN_URL
|
|
|
+}
|
|
|
+
|
|
|
const config = {
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- apiBaseurl:'http://wx.hw.hongweisoft.com/fqb/forest-portal',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- placeImg:'http://placekitten.com',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- loginUrl:'http://wx.hw.hongweisoft.com/fqb/forest-portal/wechat/h5/authorize?returnUrl=http://172.16.90.25:8080/#/',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- loginUrl:'http://gzqlyxwxh5.hongweisoft.com/api/forest-portal/wechat/h5/authorize?returnUrl=http://gzqlyxwxh5.hongweisoft.com/#/',
|
|
|
- apiBaseurl:'http://gzqlyxwxh5.hongweisoft.com/api/forest-portal',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ apiBaseurl:apiBaseurl,
|
|
|
+ loginUrl:loginUrl,
|
|
|
+
|
|
|
|
|
|
imgUrl:"",
|
|
|
+
|
|
|
+ placeImg:'http://placekitten.com',
|
|
|
}
|
|
|
export {
|
|
|
config
|