|
@@ -521,7 +521,7 @@ class Usercenter extends Api
|
|
//上级获得金额
|
|
//上级获得金额
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
if ($intro_uid_money > 0) {
|
|
if ($intro_uid_money > 0) {
|
|
- $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$user_id,'money',$intro_uid_money,68, '邀请人开通守护获赠奖励','gift_user_typing',$log_id);
|
|
|
|
|
|
+ $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$user_id,'money',$intro_uid_money,68, '邀请人开通守护获赠奖励','user_guard',$log_id);
|
|
if($intro_result['status']===false)
|
|
if($intro_result['status']===false)
|
|
{
|
|
{
|
|
Db::rollback();
|
|
Db::rollback();
|
|
@@ -700,7 +700,7 @@ $resArray['money'] = $money; //返回给前端的计算结果
|
|
//上级获得金额
|
|
//上级获得金额
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
if ($intro_uid_money > 0) {
|
|
if ($intro_uid_money > 0) {
|
|
- $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$to_user_id,'money',$intro_uid_money,68, '邀请人文字聊天获赠奖励','gift_user_typing',$log_id);
|
|
|
|
|
|
+ $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$to_user_id,'money',$intro_uid_money,68, '邀请人文字聊天获赠奖励','user_match_typing_log',$log_id);
|
|
if($intro_result['status']===false)
|
|
if($intro_result['status']===false)
|
|
{
|
|
{
|
|
Db::rollback();
|
|
Db::rollback();
|
|
@@ -849,7 +849,7 @@ $resArray['money'] = $money; //返回给前端的计算结果
|
|
//上级获得金额
|
|
//上级获得金额
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
if ($intro_uid_money > 0) {
|
|
if ($intro_uid_money > 0) {
|
|
- $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$to_user_id,'money',$intro_uid_money,68, '邀请人语音聊天获赠奖励' . $data['call_minutes'] . '分钟','gift_user_typing',$log_id, 0, $request_id);
|
|
|
|
|
|
+ $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$to_user_id,'money',$intro_uid_money,68, '邀请人语音聊天获赠奖励' . $data['call_minutes'] . '分钟','user_match_audio_log',$log_id, 0, $request_id);
|
|
if($intro_result['status']===false)
|
|
if($intro_result['status']===false)
|
|
{
|
|
{
|
|
Db::rollback();
|
|
Db::rollback();
|
|
@@ -1017,7 +1017,7 @@ $resArray['money'] = $money; //返回给前端的计算结果
|
|
//上级获得金额
|
|
//上级获得金额
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
$intro_uid_money = number_format($money * $intro_income_rebate_rate / 100, 2, '.', '');
|
|
if ($intro_uid_money > 0) {
|
|
if ($intro_uid_money > 0) {
|
|
- $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$to_user_id,'money',$intro_uid_money,68, '邀请人视频聊天获赠奖励' . $data['call_minutes'] . '分钟','gift_user_typing',$log_id, 0, $request_id);
|
|
|
|
|
|
+ $intro_result = model('Wallet')->lockChangeAccountRemain($touserinfo['intro_uid'],$to_user_id,'money',$intro_uid_money,68, '邀请人视频聊天获赠奖励' . $data['call_minutes'] . '分钟','user_match_video_log',$log_id, 0, $request_id);
|
|
if($intro_result['status']===false)
|
|
if($intro_result['status']===false)
|
|
{
|
|
{
|
|
Db::rollback();
|
|
Db::rollback();
|