1、文件:app/services/user/member/MemberRightServices.php
2、在1文件中,找到方法:
save
3、复制下图代码段:
$this->dao->update($id, $data);
$right = $this->dao->get($id);
if ($right) {
$this->dao->cacheUpdate($right->toArray());
}
return true;
4、对照下图(下图是修改后代码),修改
5、重启swoole
6、重新编辑会员权益保存