mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
优化Restful接口校验
This commit is contained in:
@@ -5,7 +5,6 @@ import com.gitee.sop.productweb.open.resp.ProductResponse;
|
||||
import com.gitee.sop.support.annotation.Open;
|
||||
import com.gitee.sop.support.context.OpenContext;
|
||||
import com.gitee.sop.support.dto.FileData;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
@@ -35,7 +34,6 @@ public interface OpenProduct {
|
||||
@Open("product.updateError")
|
||||
Integer updateError(Integer id);
|
||||
|
||||
@ApiOperation(value = "根据id获取故事")
|
||||
@Open("product.get")
|
||||
ProductResponse getById(@NotNull(message = "id必填") Integer id);
|
||||
|
||||
|
Reference in New Issue
Block a user