|
|
|
@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.apache.http.HttpResponse; |
|
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.cache.annotation.CacheEvict; |
|
|
|
|
import org.springframework.data.redis.core.RedisTemplate; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
@ -246,6 +247,7 @@ public class PlatformTeamAccountController { |
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "小程序团队信息维护") |
|
|
|
|
@PostMapping("/updateTeamInfo") |
|
|
|
|
@CacheEvict(cacheNames = "shop_detail", key = "#teamInfo.id") |
|
|
|
|
public R updateTeamInfo(@RequestBody TeamInfo teamInfo) { |
|
|
|
|
PlatformTeamClassification platformTeamClassification = new PlatformTeamClassification(); |
|
|
|
|
BeanUtils.copyProperties(teamInfo, platformTeamClassification); |
|
|
|
|