This commit is contained in:
2026-03-01 21:05:19 +08:00
parent 0a45a8fbb9
commit 92948fa856
39 changed files with 594 additions and 269 deletions
-1
View File
@@ -11,7 +11,6 @@ use app\model\Base;
class Config extends Base
{
public function setValueAttr($v,$row){
log_alert($row);
if(is_array($v)){
return json_encode($v,JSON_UNESCAPED_UNICODE);
}
+1 -1
View File
@@ -37,7 +37,7 @@ class User extends \app\model\User
if(isset($changeData[$currency])){
$cha = $changeData[$currency] - $orgData[$currency];
if($cha!=0){
\support\Log::channel('cansnow')->alert('管理员手动修改用户余额:'.$row->id.',货币:'.$currency.',修改金额:'.$cha.',原始数据:'.$orgData[$currency].',修改后的数据:'.$changeData[$currency]);
log_alert('管理员手动修改用户余额:'.$row->id.',货币:'.$currency.',修改金额:'.$cha.',原始数据:'.$orgData[$currency].',修改后的数据:'.$changeData[$currency],'cansnow');
}
}
}