wupengfei 2 年之前
父节点
当前提交
aa2b7b5532
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/store/controller/Convert.php

+ 1 - 1
application/store/controller/Convert.php

@@ -59,7 +59,7 @@ class Convert  extends  Controller
         }
         // 积分赠送integral_info
         if($this->request->isPost() && $this->request->action() == 'audit') {
-            $ck = Db::table('order_shift')->find($data['id']);
+            $ck = Db::table('integral_convert')->find($data['id']);
             if($ck['sh_status'] != 1 &&  $data['sh_status'] == 1  && $data['integral'] > 0 && $data['user_id']) {
                 update_user_integral($data['user_id'],$data['integral'],10,'恭喜亲通过兑换获得'.$data['integral'].'积分',$data['id']);
             }