删除调试代码

This commit is contained in:
2021-05-12 16:32:58 +08:00
parent 39b2e50117
commit a60851f892
2 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
"homepage": "http://git.yuzhankeji.cn/xuanchen/WoUnicom.git", "homepage": "http://git.yuzhankeji.cn/xuanchen/WoUnicom.git",
"authors": [ "authors": [
{ {
"name": "玄尘", "name": "xuanchen",
"email": "122383162@qq.com" "email": "122383162@qq.com"
} }
], ],

View File

@@ -78,8 +78,9 @@ class WoUnicom
*/ */
public function callback($inputs) public function callback($inputs)
{ {
info('weounicom inputs'); if (empty($inputs)) {
info($inputs); return '缺少必要参数';
}
$params = str_replace('$', '&', $inputs); $params = str_replace('$', '&', $inputs);
parse_str($params, $data); parse_str($params, $data);