This commit is contained in:
youda 2025-04-17 16:11:32 +08:00
parent 529ea5a636
commit 551eb68906
3 changed files with 8 additions and 5 deletions

View File

@ -307,7 +307,10 @@ class Login extends Base
if ($uid) {
User::where('id', $user_id)->update(['uid' => $uid]);
}
$isTest = \app\common\helper\ConfigHelper::getSystemTestKey("enable_test");
if ($isTest == "1") {
$res[] = User::changeMoney($user_id, 50000, 8, '内测免费送');
}
$time = time();
#token字符串
$token_num = getRandStr(10);
@ -682,7 +685,7 @@ class Login extends Base
$data = $wxServer->getAccessTokenOffiaccountSign($url);
return $this->renderSuccess('', $data);
}
/**

View File

@ -356,7 +356,7 @@ class User extends Base
}
/**
* 用户余额变化
* 用户钻石变化
* @param $user_id
* @param $change_money
* @param $type 1后台充值 2在线充值 3抽赏消费 4背包兑换 5推荐奖励6签到赠送

View File

@ -182,11 +182,11 @@ return [
],
],
[
'name' => '图片管理',
'name' => '页面管理',
'son' => [
[
'url' => '/admin/advert',
'name' => '图片管理',
'name' => 'banner图片',
],
[
'url' => '/admin/welfare_house',