|
@@ -19,6 +19,9 @@ public class MercAuthUtils {
|
|
|
if (!Emptys.check(token)) {
|
|
|
throw new RuntimeException("token不能为空");
|
|
|
}
|
|
|
+ if (!Emptys.check(providerId)) {
|
|
|
+ throw new RuntimeException("服务商ID不能为空");
|
|
|
+ }
|
|
|
//判断redis里是否有对应的商户ID
|
|
|
Integer mercId = redisService.get(redisPrefix + providerId + ":" + token);
|
|
|
if (!Emptys.check(mercId)) {
|