| | |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.common.security.utils.SecurityUtils; |
| | | import com.ruoyi.other.api.domain.Shop; |
| | | import com.ruoyi.other.api.domain.ShopScore; |
| | | import com.ruoyi.other.api.domain.Technician; |
| | | import com.ruoyi.other.enums.ShopStatus; |
| | | import com.ruoyi.other.service.ShopScoreService; |
| | | import com.ruoyi.other.service.ShopService; |
| | | import com.ruoyi.other.service.TechnicianService; |
| | | import com.ruoyi.other.vo.NearbyShopVO; |
| | |
| | | private ShopService shopService; |
| | | @Resource |
| | | private AppUserClient appUserClient; |
| | | @Resource |
| | | private ShopScoreService shopScoreService; |
| | | |
| | | |
| | | @PostMapping("/getDetailById") |
| | |
| | | return appUserClient.editAppUserById(appUser); |
| | | } |
| | | |
| | | /** |
| | | * 门店打分 |
| | | * @return |
| | | */ |
| | | @PostMapping("/shopScore") |
| | | @ApiOperation(value = "门店打分", tags = {"小程序-个人中心-门店打分"}) |
| | | public R<Void> shopScore(@RequestBody ShopScore shopScore) { |
| | | shopScoreService.save(shopScore); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |