Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
7b90f75c
Commit
7b90f75c
authored
Dec 16, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-insurance' into test
parents
2983e148
0cab6259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
src/Insurance/Lib/InsuranceInterface.php
+41
-0
No files found.
src/Insurance/Lib/InsuranceInterface.php
0 → 100644
View file @
7b90f75c
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace
Hdll\Services\Insurance\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* The interface of insurance service
*
* @method ResultInterface deferGetOrderInfo(int $orderId)
* @method ResultInterface deferPaySuccess(int $storeId, int $sellerId, $unionId, int $orderId)
*/
interface
InsuranceInterface
{
/**
* 获取指定订单数据
*
* @param integer $orderId
* @return array
*/
public
function
getOrderInfo
(
int
$orderId
);
/**
* 支付成功回调
*
* @param integer $orderId
* @return array
*/
public
function
paySuccess
(
int
$storeId
,
int
$sellerId
,
$unionId
,
int
$orderId
);
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment