正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -283,7 +283,7 @@ class Client extends Base | @@ -283,7 +283,7 @@ class Client extends Base | ||
283 | //每个微信用户只能购买一次一个活动 | 283 | //每个微信用户只能购买一次一个活动 |
284 | $count = Db::name('verification_order')->where(['user_id'=>$this->auth->id,'type'=>['<>','0']])->count(); | 284 | $count = Db::name('verification_order')->where(['user_id'=>$this->auth->id,'type'=>['<>','0']])->count(); |
285 | if($count >=1){ | 285 | if($count >=1){ |
286 | - //$this->error("该活动仅限购买1次!"); | 286 | + $this->error("该活动仅限购买1次!"); |
287 | } | 287 | } |
288 | $phone=$this->postParam['phone']; | 288 | $phone=$this->postParam['phone']; |
289 | $name=$this->postParam['name']; | 289 | $name=$this->postParam['name']; |
-
请 注册 或 登录 后发表评论