guyue
2025-09-03 dd028e18a12ad9ae7c43ed09b15ddd6bde1a43e9
src/main/java/com/linghu/service/PlatformService.java
@@ -1,7 +1,11 @@
package com.linghu.service;
import com.linghu.model.common.ResponseResult;
import com.linghu.model.entity.Platform;
import com.baomidou.mybatisplus.extension.service.IService;
import com.linghu.model.page.CustomPage;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;
/**
 * @author xy
@@ -12,4 +16,16 @@
    public Platform getPlatformByDomain(String domain,String platformName);
    public Platform getPlatformByDomain(String domain);
    ResponseResult<Platform> addPlatform(Platform platform);
    ResponseResult<Void> deleteByPlatFormId(Integer platformId);
    ResponseResult<CustomPage<Platform>> platformPageList(Integer page, Integer pageSize, Integer typeId, Integer keywordId, Integer questionId, Integer isNow);
    ResponseResult<String> importPlatformsExcel(MultipartFile file);
    ResponseEntity<byte[]> downloadPlatformExcel();
    ResponseResult<Void> updatePlatform(Platform platform);
}