瀏覽代碼

点赞任务

zhangxiaobin 1 年之前
父節點
當前提交
263fd05c22
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/api/controller/Topicdongtai.php

+ 1 - 0
application/api/controller/Topicdongtai.php

@@ -186,6 +186,7 @@ class Topicdongtai extends Api
         $up = Db::name('topic_dongtai')->where('id',$id)->setInc('goodnum');
 
         if($rs && $up !== false){
+            \app\common\model\TaskLog::tofinish($this->auth->id,"VpXtablCsZ",1);
             Db::commit();
             $this->success('点赞成功');
         }