fix: add changePassword to notNeedLogin for asset token auth

This commit is contained in:
2026-05-20 17:13:26 +08:00
parent 44e97861d2
commit 076cd0fcf9
@@ -9,8 +9,8 @@ use think\facade\Db;
class AssetAppController extends BaseApiController
{
// 免登录验证的接口
public array $notNeedLogin = ['login', 'getResourceList'];
// 免登录验证的接口(使用独立 asset_token 体系,在方法内自行校验)
public array $notNeedLogin = ['login', 'getResourceList', 'changePassword'];
/**
* @notes 小程序端登录