1004749546@qq.com преди 4 години
родител
ревизия
0fb8cb20ae
променени са 1 файла, в които са добавени 17 реда и са изтрити 0 реда
  1. 17 0
      api/order.js

+ 17 - 0
api/order.js

@@ -14,6 +14,14 @@ export const existPayPwd = params => {
     method: 'get',
   })
 };
+// 校验短信验证码是否正确
+export const checkCode = params => {
+  return axios.request({
+    url: `customer/checkVerificationCode`,
+	data: params,
+    method: 'post',
+  })
+};
 // 设置支付密码
 export const setPayPwd = params => {
   return axios.request({
@@ -22,6 +30,15 @@ export const setPayPwd = params => {
     method: 'post',
   })
 };
+// 校验原密码是否正确
+export const checkPayPwd = params => {
+  return axios.request({
+    url: `customer/checkPayPwd`,
+	data: params,
+    method: 'post',
+  })
+};
+
 // 修改支付密码
 export const changePayPwd = params => {
   return axios.request({