Commit e8fbfd87 by 冷斌

fix bug

parent f73884cf
......@@ -453,8 +453,8 @@ class PayAction extends CommonAction
'uid' => intval($this->mid),
'sid' => M('user')->where(['uid'=>$this->mid])->getField('mhm_id'),
'goods_id' => intval($_POST['goods_id']),
'price' => 0,//intval($_POST['total']) - intval($fare),
'fare' => 0,//intval($fare),
'price' => $_POST['total'] - $fare,
'fare' => $fare,
'count' => intval($_POST['count']),
'address_id' => intval($_POST['address_id']),
//'lastPrice' =>intval($_POST['total'])+intval($_POST['fare']),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment