浏览代码

删除debug信息

xielin 6 年之前
父节点
当前提交
59755d5e17
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      app/Helper/helper.php

+ 0 - 4
app/Helper/helper.php

@@ -19,13 +19,9 @@ function generateSign(array $params, $secret_key)
 
 
     // 给参数数组追加密钥,键名为 key, 值为签名配置中配置的 secret_key 的值
     // 给参数数组追加密钥,键名为 key, 值为签名配置中配置的 secret_key 的值
     $params['chxq_key'] = $secret_key;
     $params['chxq_key'] = $secret_key;
-    \Illuminate\Support\Facades\Log::debug($params);
     // 生成 URL-encode 之后的请求字符串
     // 生成 URL-encode 之后的请求字符串
     $str = http_build_query($params);
     $str = http_build_query($params);
     $str = urldecode($str);
     $str = urldecode($str);
-    \Illuminate\Support\Facades\Log::debug($str);
-    //$str = "address=计算机啊手机壳阿看见手机卡&address_type=1&area_id=2&area_name=西安市&city_id=2&city_name=西安市&contact_mobile
-    //=18458881890&contact_name=刘德华&province_id=1&province_name=陕西省&uid=0&zipcode=1000000";
     // 将请求字符串使用MD5加密后,再转换成大写,并返回
     // 将请求字符串使用MD5加密后,再转换成大写,并返回
     return strtoupper(MD5($str));
     return strtoupper(MD5($str));
 }
 }