App.java 687 Bytes
package com.viontech.storage;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * .
 *
 * @author 谢明辉
 * @date 2021/11/8
 */

@SpringBootApplication
@Slf4j
@MapperScan("com.viontech.storage.mapper")
@EnableDiscoveryClient
public class App {
    public static void main(String[] args) {
        try {
            SpringApplication.run(App.class, args);
        } catch (Exception e) {
            log.error("app start error", e);
        }
    }

}