New file |
| | |
| | | package com.panzhihua.applets.api; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.service.user.UserService; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | | * @description: 调试接口 |
| | | * @author: huang.hongfa weixin hhf9596 qq 959656820 |
| | | * @create: 2021-01-06 16:32 |
| | | **/ |
| | | @RestController |
| | | @RequestMapping("/test/") |
| | | @Api(tags = {"调试接口"}) |
| | | public class TestApi { |
| | | |
| | | @Resource |
| | | private UserService userService; |
| | | |
| | | @ApiOperation(value = "维护用户持续登录天数") |
| | | @GetMapping("timedtaskcontinuouslandingdays") |
| | | public R timedTaskContinuousLandingDays() { |
| | | return userService.timedTaskContinuousLandingDays(); |
| | | } |
| | | } |