You've already forked FrameTour-BE
删除swagger
This commit is contained in:
@@ -6,8 +6,6 @@ import com.ycwl.basic.model.mobile.weChat.DTO.WeChatUserInfoUpdateDTO;
|
||||
import com.ycwl.basic.model.pc.member.resp.MemberRespVO;
|
||||
import com.ycwl.basic.service.mobile.AppMemberService;
|
||||
import com.ycwl.basic.utils.ApiResponse;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -18,7 +16,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/api/mobile/member/v1")
|
||||
@Api(tags = "用户相关接口")
|
||||
// 用户相关接口
|
||||
@Slf4j
|
||||
public class AppMemberController {
|
||||
|
||||
@@ -32,7 +30,7 @@ public class AppMemberController {
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@ApiOperation("登录")
|
||||
// 登录
|
||||
@PostMapping("/{scenicId}/login")
|
||||
@IgnoreToken
|
||||
public ApiResponse<?> login(@PathVariable("scenicId") Long scenicId ,@RequestBody WeChatUserInfoDTO userInfoDTO) throws Exception {
|
||||
@@ -44,7 +42,7 @@ public class AppMemberController {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation("获取用户信息")
|
||||
// 获取用户信息
|
||||
@GetMapping("/getUserInfo")
|
||||
public ApiResponse<MemberRespVO> getUserInfo() {
|
||||
return memberService.getUserInfo();
|
||||
@@ -56,19 +54,19 @@ public class AppMemberController {
|
||||
* @param userInfoUpdateDTO
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation("修改用户信息")
|
||||
// 修改用户信息
|
||||
@PostMapping("/update")
|
||||
public ApiResponse<?> update(@RequestBody WeChatUserInfoUpdateDTO userInfoUpdateDTO) {
|
||||
return memberService.update(userInfoUpdateDTO);
|
||||
}
|
||||
|
||||
@ApiOperation("新增或修改景区服务通知状态")
|
||||
// 新增或修改景区服务通知状态
|
||||
@GetMapping("/updateScenicServiceNoticeStatus")
|
||||
public ApiResponse<String> updateScenicServiceNoticeStatus(Long scenicId) {
|
||||
return memberService.updateScenicServiceNoticeStatus(scenicId);
|
||||
}
|
||||
|
||||
@ApiOperation("查看景区服务通知状态 0关闭 1开启")
|
||||
// 查看景区服务通知状态 0关闭 1开启
|
||||
@GetMapping("/getScenicServiceNoticeStatus")
|
||||
public ApiResponse<Integer> getScenicServiceNoticeStatus(Long scenicId) {
|
||||
return memberService.getScenicServiceNoticeStatus(scenicId);
|
||||
|
Reference in New Issue
Block a user