TASK:mixi;

This commit is contained in:
shahaibo
2024-08-23 16:33:24 +08:00
parent 8f1d8c7b0f
commit 76992a0fb7
13 changed files with 3010 additions and 2812 deletions

View File

@@ -1,10 +1,7 @@
package com.mixi.controller;
import com.mixi.common.response.Response;
import com.mixi.model.dto.AccountLoginDTO;
import com.mixi.model.dto.AccountLogoutDTO;
import com.mixi.model.dto.AccountRegisterDTO;
import com.mixi.model.dto.AppAccountLoginDTO;
import com.mixi.model.dto.*;
import com.mixi.model.vo.AccountLoginVO;
import com.mixi.model.vo.AppAccountLoginVO;
import com.mixi.model.vo.StoreVO;
@@ -12,11 +9,9 @@ import com.mixi.service.AccountService;
import com.mixi.service.StoreService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
@@ -63,6 +58,10 @@ public class AppAccountController {
return Response.success(storeService.queryUserStore(null,null));
}
@ApiOperation(value = "setCommonStore")
@PostMapping("/setCommonStore")
public Response<Boolean> setCommonStore(@ApiParam(value = "店铺ID") @RequestParam(value = "id") Long id) {
return Response.success(storeService.setCommonStore(id));
}
}