diff --git a/api/login.js b/api/login.js
index 6ce7e7c..55ee3e8 100644
--- a/api/login.js
+++ b/api/login.js
@@ -57,3 +57,21 @@ export function getCodeImg() {
timeout: 20000
})
}
+
+// 微信自动登录
+export function autoLogin(data) {
+ return request({
+ 'url': '/weixin/auth/autoLogin',
+ 'data':data,
+ 'method': 'post'
+ })
+}
+
+// 微信-登录绑定微信号
+export function autobind(data) {
+ return request({
+ 'url': '/weixin/auth/bind',
+ 'data':data,
+ 'method': 'post'
+ })
+}
\ No newline at end of file
diff --git a/pages/login.vue b/pages/login.vue
index 4401d80..71e18e0 100644
--- a/pages/login.vue
+++ b/pages/login.vue
@@ -39,8 +39,8 @@