snow 1 ano atrás
pai
commit
cb34d62216
3 arquivos alterados com 9 adições e 16 exclusões
  1. 1 1
      dist/static/js/app.js
  2. 7 14
      src/apis/user/index.js
  3. 1 1
      src/config/env.development.js

+ 1 - 1
dist/static/js/app.js

@@ -9475,7 +9475,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
 /*! no static exports found */
 /***/ (function(module, exports) {
 
-eval("// 生产环境\nmodule.exports = {\n  title: \"阳光会务\",\n  baseUrl: \"http://wx.wxhr.sit.futurelab.tv\",\n  api: {\n    // baseApi: \"http://hwpro.test241.wanyuhengtong.com/\",\n    baseApi: 'http://hwpro.api.mingbaihui.com/'\n    //  baseApi:'http://hwdev.test241.wanyuhengtong.com/'\n  },\n\n  webUrl: \"http://project.web.caixiao365.com/#/test-good-share?id=\",\n  fileURL: \"http://hwpro.test241.wanyuhengtong.com/\",\n  shareWebUrl: \"http://post.web.caixiao365.com/?prod=1&outCode=\",\n  // 分仓\n  // wmUrl: 'http://stockwm.test241.wanyuhengtong.com',\n  appId: \"wx5ac3a2c2d72b6f26\",\n  ding: {\n    // 企业id\n    CorpId: \"dingc78fa4301e1a424a35c2f4657eb6378f\",\n    // 应用凭证\n    AgentId: \"1324690581\"\n  },\n  // 结算平台url\n  // settlementPlatformUrl: 'http://127.0.0.1:8848',\n  // 结算平台url\n  settlementPlatformUrl: \"http://webcx.test241.wanyuhengtong.com/\",\n  // 工单管理系统url\n  GDUrl: \"http://http://bugweb.test241.wanyuhengtong.com/\",\n  // token加密key\n  secretKey: \"key123\",\n  loginTitle: \"\",\n  loginBeian: \"京ICP备2022033072号-1\",\n  loginBeianUrl: \"https://beian.miit.gov.cn/\"\n};\n\n//# sourceURL=webpack:///./src/config/env.development.js?");
+eval("// 生产环境\nmodule.exports = {\n  title: \"阳光会务\",\n  baseUrl: \"http://wx.wxhr.sit.futurelab.tv\",\n  api: {\n    // baseApi: \"http://hwpro.test241.wanyuhengtong.com/\",\n    baseApi: 'https://hwpro.api.mingbaihui.com/'\n    //  baseApi:'http://hwdev.test241.wanyuhengtong.com/'\n  },\n\n  webUrl: \"http://project.web.caixiao365.com/#/test-good-share?id=\",\n  fileURL: \"http://hwpro.test241.wanyuhengtong.com/\",\n  shareWebUrl: \"http://post.web.caixiao365.com/?prod=1&outCode=\",\n  // 分仓\n  // wmUrl: 'http://stockwm.test241.wanyuhengtong.com',\n  appId: \"wx5ac3a2c2d72b6f26\",\n  ding: {\n    // 企业id\n    CorpId: \"dingc78fa4301e1a424a35c2f4657eb6378f\",\n    // 应用凭证\n    AgentId: \"1324690581\"\n  },\n  // 结算平台url\n  // settlementPlatformUrl: 'http://127.0.0.1:8848',\n  // 结算平台url\n  settlementPlatformUrl: \"http://webcx.test241.wanyuhengtong.com/\",\n  // 工单管理系统url\n  GDUrl: \"http://http://bugweb.test241.wanyuhengtong.com/\",\n  // token加密key\n  secretKey: \"key123\",\n  loginTitle: \"\",\n  loginBeian: \"京ICP备2022033072号-1\",\n  loginBeianUrl: \"https://beian.miit.gov.cn/\"\n};\n\n//# sourceURL=webpack:///./src/config/env.development.js?");
 
 /***/ }),
 

+ 7 - 14
src/apis/user/index.js

@@ -10,8 +10,7 @@ export default {
    //手机号获取验证码
   getCodebyMombile: (data, params) => http("api/wechat/getCodebyMombile", data, "post", params),
   //获取菜单
-  requestMenus: (data, params) =>
-    http("admin/menu/query", data, "post", params),
+  requestMenus: (data, params) => http("admin/menu/query", data, "post", params),
   // 获取个人信息
   userinfo: (data, params) => http("admin/login/index", data, "post", params),
   // 获取用户权限导航列表
@@ -19,21 +18,15 @@ export default {
   // 钉钉获取用户信息
   dingdingdetail: (data, params) => http("Api/dintalk", data, "post", params),
   // 获取账号详情
-  usergetinfo: (data, params) =>
-    http("admin/login/index", data, "post", params),
+  usergetinfo: (data, params) => http("admin/login/index", data, "post", params),
   //  获取角色流程节点详情
-  roleProcessInfo: (data, params) =>
-    http("admin/role_process_detail", data, "post", params),
+  roleProcessInfo: (data, params) => http("admin/role_process_detail", data, "post", params),
   //  获取角色详情
-  reuqsetRoleInfo: (data, params) =>
-    http("admin/roleinfo", data, "post", params),
+  reuqsetRoleInfo: (data, params) => http("admin/roleinfo", data, "post", params),
   // 获取用户的企业列表
-  requsetSupertubeCompany: (data, params) =>
-    http("admin/businesslist", data, "post", params),
+  requsetSupertubeCompany: (data, params) => http("admin/businesslist", data, "post", params),
   //  超管用户获取所有企业列表
-  requsetSupertubeCompany: (data, params) =>
-    http("admin/comprehensiveList", data, "post", params),
+  requsetSupertubeCompany: (data, params) => http("admin/comprehensiveList", data, "post", params),
   //  普通用户获取绑定的企业列表
-  requsetUserBindingCompany: (data, params) =>
-    http("admin/myCompanyList", data, "post", params),
+  requsetUserBindingCompany: (data, params) => http("admin/myCompanyList", data, "post", params)
 };

+ 1 - 1
src/config/env.development.js

@@ -4,7 +4,7 @@ module.exports = {
   baseUrl: "http://wx.wxhr.sit.futurelab.tv",
   api: {
     // baseApi: "http://hwpro.test241.wanyuhengtong.com/",
-    baseApi:'http://hwpro.api.mingbaihui.com/'
+    baseApi:'https://hwpro.api.mingbaihui.com/'
     //  baseApi:'http://hwdev.test241.wanyuhengtong.com/'
   },
   webUrl: "http://project.web.caixiao365.com/#/test-good-share?id=",