瀏覽代碼

增加微信登录

chenxiong 3 年之前
父節點
當前提交
68f14afd96
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      common/httpList/login.js

+ 14 - 0
common/httpList/login.js

@@ -29,6 +29,20 @@ export default {
 			method: 'get',
 		})
 	},
+	/**
+	 * @param {Object} data 
+	 * 微信登录
+	 */
+	wxLogin(data) {
+		return myRequest({
+			url: '/app/common/bindLogin',
+			method: 'post',
+			data: data,
+			noToken: true
+		})
+	},
+	
+	
 	//刷新令牌
 	refreshToken(data) {
 		return myRequest({