Преглед изворни кода

Merge branch 'master' of http://git.huxiukeji.com/lizhen/xiaoshan

lizhen_gitee пре 3 месеци
родитељ
комит
a5a6dcbd0e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/api/controller/Vip.php

+ 1 - 1
application/api/controller/Vip.php

@@ -73,6 +73,6 @@ class Vip extends Api
         if (!Db::name('vip_coupon_user')->where(['id' => $params['coupon_id'], 'status' => 1])->update(['status' => 2, 'use_time' => time()])) {
             $this->error('操作失败');
         }
-        $this->error('使用成功');
+        $this->success('使用成功');
     }
 }