mirror of
https://gitee.com/technical-laohu/mpay_v2_webman.git
synced 2026-04-26 12:04:28 +08:00
更新统一使用 PHPDoc + PSR-19 标准注释
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user