springboot项目的根目录?
难道要把txt打包到根目录里面?
我没有尝试
问了一个大牛同学
代码如下:
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class WxreController {
@GetMapping("tencent3024102779270645187.txt")
public String tencent() {
return "3136677322060462185";
}
}
完美通过,
不过还是要填表,
然后等审核