Mybatis Mapper

This commit is contained in:
zhaoyong 2021-07-28 10:18:57 +08:00
parent bf6be211c3
commit 42ad63a026
2 changed files with 3 additions and 1 deletions

View File

@ -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 {

View File

@ -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);
}