|
|
@@ -142,9 +142,9 @@ class BonusController extends BaseController {
|
|
|
}
|
|
|
// 判断当前时间,是否临近封期,否则隐藏
|
|
|
LoggerTool::debug(['calc-2']);
|
|
|
-// if ($periodNum % 2!=0) {
|
|
|
-// return static::notice(['user' => [],'team'=>[]]);
|
|
|
-// }
|
|
|
+ if ($periodNum % 2!=0) {
|
|
|
+ return static::notice(['user' => [],'team'=>[]]);
|
|
|
+ }
|
|
|
$userInfo = User::getEnCodeInfo($userId);
|
|
|
$data = PerfMonth::fetchMonthPerf($month, $userId);
|
|
|
$user[0] = [
|