mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
修改数据类型
This commit is contained in:
parent
c8fcac91b0
commit
2ae341ff24
@ -78,6 +78,9 @@ class Service extends Make
|
||||
if (in_array($item['type'], ['checkbox'])) {
|
||||
$valueContent = '[]';
|
||||
$input = '(array)(' . $input . $valueContent . ')';
|
||||
} else if ($item['type'] == 'radio') {
|
||||
$valueContent = '-1';
|
||||
$input = '(int)(' . $input . $valueContent . ')';
|
||||
} else {
|
||||
$input = $input . $valueContent;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user