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
14c2340f
Commit
14c2340f
authored
Aug 14, 2018
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
aa041c07
a1813c8a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
0 deletions
+67
-0
src/Bargain/Enum/BargainEnum.php
+19
-0
src/Bargain/Lib/BargainInterface.php
+36
-0
src/LimitTimeBuy/Lib/LimitTimeBuyInterface.php
+12
-0
No files found.
src/Bargain/Enum/BargainEnum.php
0 → 100644
View file @
14c2340f
<?php
/**
* Created by PhpStorm.
* User: lwt
* Date: 2018/7/10
* Time: 13:15
*/
namespace
Hdll\Services\Bargain\Enum
;
class
BargainEnum
{
//订单状态
const
STATUS_NORMAL
=
10
;
//待支付
}
\ No newline at end of file
src/Bargain/Lib/BargainInterface.php
0 → 100644
View file @
14c2340f
<?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\Bargain\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* The interface of demo service
*
* @method ResultInterface deferGetgoodsinfo( int $limit_id)
*/
interface
BargainInterface
{
/**
* 获取砍价商品的 商品信息
* @param int $limit_id
* @return mixed
*/
public
function
getgoodsinfo
(
int
$limit_id
);
}
\ No newline at end of file
src/LimitTimeBuy/Lib/LimitTimeBuyInterface.php
View file @
14c2340f
...
...
@@ -40,4 +40,15 @@ interface LimitTimeBuyInterface
int
$order_type
,
int
$goods_id
,
string
$reservation_time
=
''
);
/**
* 获取限时购商品的 商品信息
* @param int $limit_id
* @return mixed
*/
public
function
getLimitgoods
(
int
$limit_id
);
}
\ 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