diff --git a/agentApp/common/api.js b/agentApp/common/api.js
index c8cb5dc..ed39809 100644
--- a/agentApp/common/api.js
+++ b/agentApp/common/api.js
@@ -59,6 +59,18 @@ export const userWithdraw = (params) => http.post(baseUrl + '/api/user/withdraw'
export const userWithdrawList = (params) => http.post(baseUrl + '/api/user/withdrawList', params, userConfig())
+// 带上代理token
+const agentConfig = function() {
+ return {
+ header: {
+ 'Agent-Token': uni.getStorageSync('agent_token')
+ }
+ }
+}
+
+export const agentSmsLogin = (params) => http.post(baseUrl + '/api/agent/smsLogin', params)
+
+
// 带上商户token
const merchantConfig = function() {
return {
diff --git a/agentApp/pages/agent-login/index.vue b/agentApp/pages/agent-login/index.vue
index e1a9693..7510c81 100644
--- a/agentApp/pages/agent-login/index.vue
+++ b/agentApp/pages/agent-login/index.vue
@@ -6,23 +6,25 @@
-
+
-
-
+
+
获取验证码
+
+ 剩余{{countdown}}秒
+
+ style="color:#ffffff;backgroundColor:#1783FF;borderColor:#1783FF;border-radius: 50rpx;height: 88rpx;line-height: 88rpx;">登录
-
-
-
+
+
+
《排队支付代理用户服务协议》
@@ -32,28 +34,72 @@
-
+
\ No newline at end of file