|
@@ -170,6 +170,11 @@ class Match extends Api
|
|
|
$this->error($rs['msg']);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ //增加送礼用户的财富等级
|
|
|
+ $res_wealth = \app\common\model\User::add_wealth_level($this->auth->id,$price);
|
|
|
+ //增加获赠用户的魅力等级
|
|
|
+ $res_wealth = \app\common\model\User::add_charm_level($to_user_id,$price);
|
|
|
}
|
|
|
|
|
|
//tag任务赠送金币
|
|
@@ -309,6 +314,11 @@ class Match extends Api
|
|
|
$this->error($rs['msg']);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ //增加送礼用户的财富等级
|
|
|
+ $res_wealth = \app\common\model\User::add_wealth_level($this->auth->id,$price);
|
|
|
+ //增加获赠用户的魅力等级
|
|
|
+ $res_wealth = \app\common\model\User::add_charm_level($to_user_id,$price);
|
|
|
}
|
|
|
|
|
|
//tag任务赠送金币
|
|
@@ -424,6 +434,11 @@ class Match extends Api
|
|
|
$this->error($rs['msg']);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ //增加送礼用户的财富等级
|
|
|
+ $res_wealth = \app\common\model\User::add_wealth_level($this->auth->id,$price);
|
|
|
+ //增加获赠用户的魅力等级
|
|
|
+ $res_wealth = \app\common\model\User::add_charm_level($to_user_id,$price);
|
|
|
}
|
|
|
|
|
|
Db::commit();
|