Explorar el Código

增加一个邮件临期测试

hgw hace 3 años
padre
commit
0a32711060

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/controller/TenantInfoController.java

@@ -143,4 +143,12 @@ public class TenantInfoController extends BaseController {
     public HttpResponseResult<Boolean> testEmail() {
         return succeed(tenantInfoService.testEmail());
     }
+
+    @ApiOperation(value = "测试临期提醒")
+    @GetMapping("/testCheck")
+    public Object testCheck() {
+        tenantInfoService.checkTenantState();
+        return succeed();
+    }
+
 }