1、文件:app/services/user/member/MemberRightServices.php
2、在1文件中,找到方法:
save
3、復(fù)制下圖代碼段:
$this->dao->update($id, $data);
$right = $this->dao->get($id);
if ($right) {
$this->dao->cacheUpdate($right->toArray());
}
return true;
4、對照下圖(下圖是修改后代碼),修改
5、重啟swoole
6、重新編輯會員權(quán)益保存