zhengkaixin 4 vuotta sitten
vanhempi
commit
7262c8e5a5
2 muutettua tiedostoa jossa 13 lisäystä ja 1 poistoa
  1. 12 0
      src/apis/weixin.js
  2. 1 1
      src/projects/business/router/master.js

+ 12 - 0
src/apis/weixin.js

@@ -18,3 +18,15 @@ export function getDataByOpenId(params) {
 		method: 'post',
 	})
 }
+
+//获得配置
+export function getConfig() {
+	
+	return request({
+		url: '/wechat/getConfig'  ,
+		data: Qs.stringify({
+			url:escape(location.href.split('#')[0])
+		}),
+		method: 'post',
+	})
+}

+ 1 - 1
src/projects/business/router/master.js

@@ -329,7 +329,7 @@ const routesMaster = [
 						meta: {
 							requireAuth: false,
 							role: [],
-							title: '考勤详情',
+							title: '考勤补卡详情',
 						}
 					},
 					//考勤补卡申请