Commit 18f3ff65 by dzhang

Merge branch 'xmy' of http://git.dev.2b3.cn/tencent/services into xmy

parents 71ac02e4 7cdddf50
...@@ -19,7 +19,7 @@ use Swoft\Core\ResultInterface; ...@@ -19,7 +19,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferListByIds($ids, $storeId) * @method ResultInterface deferListByIds($ids, $storeId)
* @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId) * @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId)
* @method ResultInterface deferGetSkuByIds($goodsId, $skuIds, $storeId) * @method ResultInterface deferGetSkuByIds($goodsId, $skuIds, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsIds($goodsId, $storeId) * @method ResultInterface deferGetSpecAttributeByGoodsId($goodsId, $storeId)
* Interface GoodsInterface * Interface GoodsInterface
* @package Hdll\Services\Goods\Lib * @package Hdll\Services\Goods\Lib
*/ */
...@@ -127,5 +127,5 @@ interface GoodsInterface ...@@ -127,5 +127,5 @@ interface GoodsInterface
* @return mixed * @return mixed
* @author work * @author work
*/ */
public function getSpecAttributeByGoodsIds($goodsId, $storeId); public function getSpecAttributeByGoodsId($goodsId, $storeId);
} }
\ No newline at end of file
<?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
<?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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment