|
|
@@ -11,6 +11,7 @@ import com.zswl.dataservice.domain.openApi.OpenApiRequestLog;
|
|
|
import com.zswl.dataservice.domain.openApi.OpenApiSignInfo;
|
|
|
import com.zswl.dataservice.service.base.RedisService;
|
|
|
import com.zswl.dataservice.service.user.OperationLogsService;
|
|
|
+import com.zswl.dataservice.type.AppState;
|
|
|
import com.zswl.dataservice.type.OperationLogType;
|
|
|
import com.zswl.dataservice.utils.AesUtils;
|
|
|
import com.zswl.dataservice.utils.DateUtils;
|
|
|
@@ -150,6 +151,10 @@ public class OpenApiVerifyService {
|
|
|
isSuccess = false;
|
|
|
msg = "AppId错误";
|
|
|
}
|
|
|
+ if (signInfo.getAppState() == null || signInfo.getAppState() != AppState.Enable) {
|
|
|
+ isSuccess = false;
|
|
|
+ msg = "AppId未启用";
|
|
|
+ }
|
|
|
if (isSuccess && !map.containsKey("Timestamp")) {
|
|
|
isSuccess = false;
|
|
|
msg = "没有Timestamp信息";
|