Mybatis Mapper
This commit is contained in:
parent
bf6be211c3
commit
42ad63a026
@ -1,6 +1,7 @@
|
||||
package cn.axzo.oss.client;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@ -12,6 +13,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
* @since 2021-07-15 11:34
|
||||
*/
|
||||
@Slf4j
|
||||
@MapperScan(basePackages = {"cn.axzo.oss.dal.mapper"})
|
||||
@SpringBootApplication(scanBasePackages = {"cn.axzo.oss"})
|
||||
public class Bootstrap {
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ public interface ServerFileServiceApi {
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/upload", method = RequestMethod.POST)
|
||||
@RequestMapping(value = "/delete", method = RequestMethod.POST)
|
||||
CommonResponse delete(ServerFileDeleteRequest request);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user