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 @@