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
+2 -2
View File
@@ -139,13 +139,13 @@ class Product{
if($this->debug){
return print_r($str);
}
\support\Log::channel('product_buy')->alert($str);
log_alert($str);
}else{
$str = json_encode($args);
if($this->debug){
return print_r($str);
}
\support\Log::channel('product_buy')->alert($str);
log_alert($str);
}
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ class User{
cache_add('statistics_register_'.$date,1);
$saveData = [
'invite_code' => build_invite_code($user->id),
'userID' => idEncode($user->id)
'userID' => \support\Encrypt::userIDencode($user->id)
];
//管理直推人数和团队人数
if($user->parent_id){