mirror of
https://gitee.com/technical-laohu/mpay_v2_webman.git
synced 2026-04-24 11:04:26 +08:00
codex基础代码更新
This commit is contained in:
@@ -6,6 +6,7 @@ namespace app\common\contracts;
|
||||
|
||||
use app\exceptions\PaymentException;
|
||||
use support\Request;
|
||||
use support\Response;
|
||||
|
||||
/**
|
||||
* 支付插件接口
|
||||
@@ -81,4 +82,8 @@ interface PaymentInterface
|
||||
* @throws PaymentException 验签失败、数据异常等
|
||||
*/
|
||||
public function notify(Request $request): array;
|
||||
|
||||
public function notifySuccess(): string|Response;
|
||||
|
||||
public function notifyFail(): string|Response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user