订单页面优化

This commit is contained in:
Devil 2021-07-19 18:36:33 +08:00
parent 8968a65d48
commit 19a8e50ea2

View File

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