|
@@ -64,7 +64,7 @@ class Topicdongtai extends Api
|
|
|
$rs = Db::name('topic_hub')->where('id','IN',$topic_ids)->setInc('t_number');
|
|
|
|
|
|
//task任务
|
|
|
- //好评有礼
|
|
|
+ //发第一条动态
|
|
|
$task_count = Db::name('topic_dongtai')->where('user_id',$this->auth->id)->count();
|
|
|
if($task_count == 1){
|
|
|
$task_rs = \app\common\model\TaskLog::tofinish($this->auth->id,16);
|
|
@@ -390,7 +390,6 @@ class Topicdongtai extends Api
|
|
|
$this->error('点赞失败');
|
|
|
}
|
|
|
|
|
|
- // \app\common\model\TaskLog::tofinish($this->auth->id,"VpXtablCsZ",1);
|
|
|
|
|
|
Db::commit();
|
|
|
$this->success('点赞成功');
|