diff --git a/application/index/controller/wms/Wms.php b/application/index/controller/wms/Wms.php index a8efdcd..d3017c5 100644 --- a/application/index/controller/wms/Wms.php +++ b/application/index/controller/wms/Wms.php @@ -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'];