From 19a8e50ea254355341fecdf3bcc7062486b3c8ab Mon Sep 17 00:00:00 2001 From: Devil Date: Mon, 19 Jul 2021 18:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Buy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/index/controller/Buy.php b/app/index/controller/Buy.php index 8b46fee77..c6dc11f8c 100755 --- a/app/index/controller/Buy.php +++ b/app/index/controller/Buy.php @@ -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 {