|
|
|
@@ -106,7 +106,7 @@ public class KwBoxV1Controller extends BaseController { |
|
|
|
|
|
|
|
private boolean checkSign(KwBox kwBox, Map<String,Object> paramMap, String sign) { |
|
|
|
|
|
|
|
if (sign == null) |
|
|
|
if (kwBox.getComKey() == null || sign == null) |
|
|
|
return false; |
|
|
|
|
|
|
|
HmacUtils hmacUtils = new HmacUtils(HmacAlgorithms.HMAC_SHA_1, kwBox.getComKey()); |
|
|
|
|