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
18f3ff65
Commit
18f3ff65
authored
Mar 27, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xmy' of
http://git.dev.2b3.cn/tencent/services
into xmy
parents
71ac02e4
7cdddf50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
2 deletions
+73
-2
src/Goods/Lib/GoodsInterface.php
+3
-2
src/Pay/Enum/PayClientEnum.php
+12
-0
src/SMS/Lib/SMSInterface.php
+58
-0
No files found.
src/Goods/Lib/GoodsInterface.php
View file @
18f3ff65
...
...
@@ -19,7 +19,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferListByIds($ids, $storeId)
* @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId)
* @method ResultInterface deferGetSkuByIds($goodsId, $skuIds, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsId
s
($goodsId, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsId($goodsId, $storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
...
...
@@ -127,5 +127,5 @@ interface GoodsInterface
* @return mixed
* @author work
*/
public
function
getSpecAttributeByGoodsId
s
(
$goodsId
,
$storeId
);
public
function
getSpecAttributeByGoodsId
(
$goodsId
,
$storeId
);
}
\ No newline at end of file
src/Pay/Enum/PayClientEnum.php
0 → 100644
View file @
18f3ff65
<?php
namespace
Hdll\Services\Pay\Enum
;
class
PayClientEnum
{
const
BUYER_MINI_PROGRAM
=
1
;
//买家小程序
const
SELLER_MINI_PROGRAM
=
2
;
//卖家小程序
const
SELLER_MP
=
3
;
//卖家公众号
}
\ No newline at end of file
src/SMS/Lib/SMSInterface.php
0 → 100644
View file @
18f3ff65
<?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\SMS\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* The interface of SMS service
*
* @method ResultInterface deferCreateCost(int $storeId,string $scene,int $decnum,string $nickname,string $phone)
* @method ResultInterface deferPayOrder(string $orderNo,int $payStatus)
* @method ResultInterface deferGetOrder(int $smsOId)
*/
interface
SMSInterface
{
/**
* 消费短信
*
* @param integer $storeId
* @param string $scene
* @param integer $decnum
* @param string $nickname
* @param string $phone
* @return int
*/
public
function
createCost
(
int
$storeId
,
string
$scene
,
int
$decnum
,
string
$nickname
,
string
$phone
);
/**
* 支付短信套餐包订单
*
* @param string $orderNo
* @param integer $payStatus
* @return int
*/
public
function
payOrder
(
string
$orderNo
,
int
$payStatus
);
/**
* 获取短信订单
* @param integer $smsOId
* @return array
*/
public
function
getOrder
(
int
$smsOId
);
}
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