diff --git a/home/controllers/h5/market/sylive2/Act.php b/home/controllers/h5/market/sylive2/Act.php index c0e049d8..4a4b73fc 100644 --- a/home/controllers/h5/market/sylive2/Act.php +++ b/home/controllers/h5/market/sylive2/Act.php @@ -384,7 +384,6 @@ class Act extends Wx $skey = $this->input->post('skey'); $name = $this->input->post('name'); $mobile = $this->input->post('telPhone'); - $remark = $this->input->post('remark'); $param = $this->myencryption->base64url_decode($skey); $a_id = intval($param['a_id']);//活动id $row = $this->market_sylive_activity_model->get(['activityId' => $a_id]); @@ -438,7 +437,6 @@ class Act extends Wx ]; $name && $unpay['uname'] = $name; $mobile && $unpay['mobile'] = $mobile; - $remark && $unpay['jsondata'] = json_encode(array('remark' => $remark), JSON_UNESCAPED_UNICODE); $p_user['teamId'] && $unpay['cfrom'] = 1; $oid = $this->market_sylive_order_model->add($unpay); if (!is_numeric($oid)) { diff --git a/home/controllers/h5/market/sylive2/Item.php b/home/controllers/h5/market/sylive2/Item.php index d1245e25..44192f53 100644 --- a/home/controllers/h5/market/sylive2/Item.php +++ b/home/controllers/h5/market/sylive2/Item.php @@ -113,6 +113,7 @@ class Item extends Wx{ $skey = $this->input->post('skey'); $name = $this->input->post('name'); $mobile = $this->input->post('telPhone'); + $remark = $this->input->post('remark'); $code = $this->input->post('code'); $province = $this->input->post('province'); $city = $this->input->post('city'); @@ -194,6 +195,7 @@ class Item extends Wx{ ]; $name && $unpay['uname'] = $name; $mobile && $unpay['mobile'] = $mobile; + $remark && $unpay['jsondata'] = json_encode(array('remark' => $remark), JSON_UNESCAPED_UNICODE); $p_user['bizId'] && $unpay['bizId'] = $p_user['bizId']; $p_user['levelId1'] && $unpay['levelId1'] = $p_user['levelId1']; $p_user['levelId2'] && $unpay['levelId2'] = $p_user['levelId2']; diff --git a/home/views/h5/market/sylive2/act/item.php b/home/views/h5/market/sylive2/act/item.php index 8051acee..e1bf9283 100644 --- a/home/views/h5/market/sylive2/act/item.php +++ b/home/views/h5/market/sylive2/act/item.php @@ -55,11 +55,6 @@
- -
- -
-
确认支付 @@ -92,7 +87,6 @@ isShowReg: false, name: '', telPhone: '', - remark: '', isSubmiting: false, }, created(){ @@ -183,7 +177,7 @@ return '' } that.isSubmiting = true - $.post('/h5/market/sylive/act/post_pay',{'skey':'','name':that.name,'telPhone':that.telPhone,'remark':that.remark},function (res){ + $.post('/h5/market/sylive/act/post_pay',{'skey':'','name':that.name,'telPhone':that.telPhone},function (res){ that.isSubmiting = false this.isShowReg = false if(res.code==200){ diff --git a/home/views/h5/market/sylive2/item/detail.php b/home/views/h5/market/sylive2/item/detail.php index e0acf006..155ef8e0 100644 --- a/home/views/h5/market/sylive2/item/detail.php +++ b/home/views/h5/market/sylive2/item/detail.php @@ -79,6 +79,11 @@
+ +
+ +
+
{{codeTx}} @@ -158,6 +163,7 @@ isShowReg: false, name: '', telPhone: '', + remark: '', isSubmiting: false, vCode:'', codeState:true, @@ -369,6 +375,7 @@ 'itemId':'', 'name':that.name, 'telPhone':that.telPhone, + 'remark':that.remark, 'code' : that.vCode, 'province' : that.province, 'city' : that.city,