| | |
| | | |
| | | import com.panzhihua.common.model.dtos.shop.PageComShopGoodsDTO; |
| | | import com.panzhihua.common.model.dtos.shop.*; |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.PageDTO; |
| | | import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO; |
| | | import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | @Slf4j |
| | | @RestController |
| | |
| | | return comShopStoreService.editStore(id, storeVO); |
| | | } |
| | | |
| | | @GetMapping("/getStoreByPhone") |
| | | R GetStoreByPhone(@RequestParam("phone") String phone){ |
| | | return comShopStoreService.getStoreByPhone(phone); |
| | | } |
| | | |
| | | /** |
| | | * 删除店铺 |
| | | * |