|
@@ -0,0 +1,33 @@
|
|
|
|
|
+package space.anyi.openAPI.comom.service.inside;
|
|
|
|
|
+
|
|
|
|
|
+import space.anyi.openAPI.comom.model.userInterfaceInfo.UserInterfaceInfo;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @ProjectName: open-api-commom
|
|
|
|
|
+ * @FileName: InsideUserInterfaceInfoService
|
|
|
|
|
+ * @Author: 杨逸
|
|
|
|
|
+ * @Data:2025/12/3 20:02
|
|
|
|
|
+ * @Description: 服务内部使用的接口,RPC使用
|
|
|
|
|
+ */
|
|
|
|
|
+public interface InsideUserInterfaceInfoService {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @param userId 用户ID
|
|
|
|
|
+ * @param interfaceInfoId 接口信息ID
|
|
|
|
|
+ * @return {@code UserInterfaceInfo }
|
|
|
|
|
+ * @description: 根据用户ID和接口信息ID获取用户关联对应接口信息
|
|
|
|
|
+ * @author: 杨逸
|
|
|
|
|
+ * @data:2025/12/03 20:03:28
|
|
|
|
|
+ * @since 1.0.0
|
|
|
|
|
+ */
|
|
|
|
|
+ UserInterfaceInfo getUserInterfaceInfoByUserIdAndInterfaceInfoId(Long userId, Long interfaceInfoId);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @param id 用户关联接口信息的ID
|
|
|
|
|
+ * @return boolean
|
|
|
|
|
+ * @description: 调用成功,增加记录调用次数
|
|
|
|
|
+ * @author: 杨逸
|
|
|
|
|
+ * @data:2025/12/03 20:18:14
|
|
|
|
|
+ * @since 1.0.0
|
|
|
|
|
+ */
|
|
|
|
|
+ boolean invokeSuccess(Long id);
|
|
|
|
|
+}
|