|
@@ -62,8 +62,8 @@ class Trylesson extends Api
|
|
|
}
|
|
|
|
|
|
//试课数据
|
|
|
- $field = ['firstname','lastname','mobile','email','height','age','weight','address','health','emergency','comefrom','is_first'];
|
|
|
- $data = request_post_hub($field);
|
|
|
+// $field = ['firstname','lastname','mobile','email','height','age','weight','address','health','emergency','comefrom','is_first'];
|
|
|
+// $data = request_post_hub($field);
|
|
|
|
|
|
$sysdata = [
|
|
|
'order_no' => createUniqueNo('T',$this->auth->id),
|
|
@@ -77,7 +77,8 @@ class Trylesson extends Api
|
|
|
'starttime' => time(),
|
|
|
'endtime' => time() + (30 * 86400),
|
|
|
];
|
|
|
- $data = array_merge($data,$sysdata);
|
|
|
+// $data = array_merge($data,$sysdata);
|
|
|
+ $data = $sysdata;
|
|
|
|
|
|
//支付订单数据
|
|
|
$pay_order = [];
|