|
@@ -114,7 +114,7 @@ class GameplayRule extends Controller
|
|
|
if (!$info) {
|
|
|
return $this->error(0, '角色不存在');
|
|
|
}
|
|
|
-
|
|
|
+ GameplayRuleService::clearCache($info->keywords);
|
|
|
$info->delete();
|
|
|
|
|
|
return $this->success([], '删除成功');
|
|
@@ -122,7 +122,7 @@ class GameplayRule extends Controller
|
|
|
|
|
|
public function info()
|
|
|
{
|
|
|
- $keywords = request()->get('keywords', '');
|
|
|
+ $keywords = request()->get('keywords', '大');
|
|
|
$result = GameplayRuleService::getGameplayRules($keywords);
|
|
|
return $this->success($result);
|
|
|
}
|