更新统一使用 PHPDoc + PSR-19 标准注释

This commit is contained in:
技术老胡
2026-04-21 08:38:59 +08:00
parent dcd58e24ce
commit 9a16a88640
252 changed files with 9218 additions and 659 deletions

View File

@@ -13,11 +13,18 @@ use support\Response;
* 商户账户控制器。
*
* 负责商户余额查询等账户类接口。
*
* @property MerchantService $merchantService 商户服务
* @property MerchantAccountService $merchantAccountService 商户账户服务
*/
class AccountController extends BaseController
{
/**
* 构造函数,注入商户与账户服务
* 构造方法
*
* @param MerchantService $merchantService 商户服务
* @param MerchantAccountService $merchantAccountService 商户账户服务
* @return void
*/
public function __construct(
protected MerchantService $merchantService,
@@ -26,9 +33,11 @@ class AccountController extends BaseController
}
/**
* GET /mer/merchant/{merchantNo}/balance
*
* 查询商户余额。
*
* @param Request $request 请求对象
* @param string $merchantNo 商户号
* @return Response 响应对象
*/
public function balance(Request $request, string $merchantNo): Response
{
@@ -45,3 +54,8 @@ class AccountController extends BaseController
}
}