|
@@ -9,7 +9,7 @@ class Util
|
|
# 获取后台传入的数据
|
|
# 获取后台传入的数据
|
|
public function request($col, $other = '')
|
|
public function request($col, $other = '')
|
|
{
|
|
{
|
|
- $info = Dever::input(['field', 'set'])[$col] ?? 0;
|
|
|
|
|
|
+ $info = Dever::input(['set', 'field'])[$col] ?? 0;
|
|
if ($other && !$info) {
|
|
if ($other && !$info) {
|
|
$info = Dever::input($other);
|
|
$info = Dever::input($other);
|
|
}
|
|
}
|