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
939f5328
Commit
939f5328
authored
Sep 04, 2018
by
liwotianname
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加状态
parent
0b4f0ec1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/Bargain/Enum/BargainEnum.php
+7
-0
src/Bargain/Lib/BargainInterface.php
+3
-2
No files found.
src/Bargain/Enum/BargainEnum.php
View file @
939f5328
...
...
@@ -13,6 +13,12 @@ class BargainEnum
//订单状态
const
STATUS_NORMAL
=
10
;
//待支付
//paystatus
const
HAVE_PAY
=
2
;
const
PAY_EXCEPTION
=
3
;
}
\ No newline at end of file
src/Bargain/Lib/BargainInterface.php
View file @
939f5328
...
...
@@ -10,6 +10,7 @@
namespace
Hdll\Services\Bargain\Lib
;
use
Hdll\Services\Bargain\Enum\BargainEnum
;
use
Swoft\Core\ResultInterface
;
/**
...
...
@@ -52,13 +53,13 @@ interface BargainInterface
* 支付 状态 回馈接口
* @param string $storeId //
* @param int $bargainbranchId // 砍价活动id
* @param int $status //
status :1 成功支付 2
:未支付 (已经过期或者支付异常)
* @param int $status //
BargainEnum::HAVE_PAY 成功支付 BargainEnum::PAY_EXCEPTION
:未支付 (已经过期或者支付异常)
* @return mixed
*/
public
function
payStatus
(
string
$storeId
,
int
$bargainbranchId
,
int
$status
,
int
$status
,
//
int
$orderId
);
}
...
...
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