1 Commits
1.0 ... 1.0.1

Author SHA1 Message Date
a60851f892 删除调试代码 2021-05-12 16:32:58 +08:00
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);