订单页面优化
parent
8968a65d48
commit
19a8e50ea2
|
|
@ -188,9 +188,9 @@ class Buy extends Common
|
|||
*/
|
||||
public function Add()
|
||||
{
|
||||
if(input('post.'))
|
||||
if($this->data_post)
|
||||
{
|
||||
$params = $_POST;
|
||||
$params = $this->data_post;
|
||||
$params['user'] = $this->user;
|
||||
return BuyService::OrderInsert($params);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue