From b02540aef65fa1bc2af72cff2d7f444108a5865e Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang
Date: Mon, 17 May 2021 09:20:54 +0800
Subject: [PATCH] 添加参数
---
pages/hbfqPage/orderInfo/orderInfo.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/pages/hbfqPage/orderInfo/orderInfo.js b/pages/hbfqPage/orderInfo/orderInfo.js
index dc98258..a3047da 100644
--- a/pages/hbfqPage/orderInfo/orderInfo.js
+++ b/pages/hbfqPage/orderInfo/orderInfo.js
@@ -38,7 +38,7 @@
},
getList(obj) {
$api.ajax(
- '/sib/xcx/order/hbCreateInit',
+ '/zic/order/hbCreateInit',
'POST',
(res) => {
this.setData({
@@ -54,7 +54,7 @@
},
orderhbTrial() {
$api.ajax(
- '/sib/xcx/order/hbTrial',
+ '/zic/order/hbTrial',
'POST',
(res) => {
let body = res.data.body
@@ -263,7 +263,7 @@
success: (res) => {
console.log(res)
$api.ajax(
- '/sib/xcx/order/createHb',
+ '/zic/order/createHb',
'POST',
(res) => {
my.reLaunch({
@@ -351,6 +351,14 @@
});
return
}
+ if (!validator.checkPhone(info.userMblNo)) {
+ my.showToast({
+ type: 'none',
+ content: '请输入正确的客户手机号',
+ duration: 2000,
+ });
+ return
+ }
let str = JSON.stringify(this.data.info)
my.navigateTo({
url: `../qrCode/qrCode?info=${str}`
--
Gitblit v1.8.0