fix:无methods_name时,默认调用tuijian方法
This commit is contained in:
parent
2330b6003f
commit
468b1ecfe9
@ -7855,7 +7855,8 @@ class Wms extends Frontend
|
||||
throw new \Exception("Invalid JSON: " . json_last_error_msg());
|
||||
}
|
||||
if (empty($decoded['method_name']) || empty($decoded['data'])) {
|
||||
throw new \Exception("Missing method_name or data");
|
||||
$decoded['method_name'] = "tuijian";
|
||||
// throw new \Exception("Missing method_name or data");
|
||||
}
|
||||
|
||||
$method_name = $decoded['method_name'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user