全局配置服务功能提交
This commit is contained in:
@@ -61,6 +61,13 @@ class PlanSceneV1Controller extends BaseController
|
||||
$val['reqConf'] = json_decode($val['reqConf'],true) ?: [];
|
||||
$val['msgConf'] = json_decode($val['msgConf'],true) ?: [];
|
||||
$val['tagConf'] = json_decode($val['tagConf'],true) ?: [];
|
||||
|
||||
// 确保 planType 有默认值(0=全局,1=独立,默认1)
|
||||
if (!isset($val['planType'])) {
|
||||
$val['planType'] = 1;
|
||||
} else {
|
||||
$val['planType'] = intval($val['planType']);
|
||||
}
|
||||
|
||||
$stats = $statsMap[$val['id']] ?? [
|
||||
'acquiredCount' => 0,
|
||||
|
||||
Reference in New Issue
Block a user