package com.gkhy.safePlatform.account.service;
|
|
import com.gkhy.safePlatform.account.model.dto.req.AppAddReqDTO;
|
import com.gkhy.safePlatform.account.model.dto.req.AppModReqDTO;
|
import com.gkhy.safePlatform.account.model.dto.resp.AppVersionRespDTO;
|
import com.gkhy.safePlatform.account.model.dto.resp.ObjectItemRespDTO;
|
import com.gkhy.safePlatform.account.model.query.AppVersionPageQuery;
|
import com.gkhy.safePlatform.commons.co.ContextCacheUser;
|
import com.gkhy.safePlatform.commons.query.PageQuery;
|
import com.gkhy.safePlatform.commons.vo.ResultVO;
|
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
|
|
import java.util.List;
|
|
public interface AppVersionService {
|
|
/**
|
* @Description: 获取 app 上传地址和 objectName
|
*/
|
ObjectItemRespDTO getAppPresignedUrl(ContextCacheUser currentUser, String filename);
|
|
/**
|
* @Description: 新增 app 版本
|
*/
|
void addAppVersion(ContextCacheUser currentUser, AppAddReqDTO reqDTO);
|
|
/**
|
* @Description: 修改 app 版本
|
*/
|
void modAppVersion(ContextCacheUser currentUser, AppModReqDTO reqDTO);
|
|
/**
|
* @Description: 删除 app 版本
|
*/
|
void delAppVersion(ContextCacheUser currentUser, Long id);
|
|
/**
|
* @Description: 分页
|
*/
|
SearchResultVO<List<AppVersionRespDTO>> listAppVersionByPage(ContextCacheUser currentUser, PageQuery<AppVersionPageQuery> pageQuery);
|
|
|
/**
|
* @Description: 获取 appType 的最新版本
|
*/
|
AppVersionRespDTO getLastestAppRelease(ContextCacheUser currentUser, Byte appType);
|
}
|