Commit 6e599901 authored by 陈国太's avatar 陈国太

添加发券

parent feb658ba
......@@ -38,7 +38,7 @@ return [
'clientSecret' => '6A23057D233DA902B5D603A758B0438E'
],
'shop' => [
'apiUrl' => 'http://appapi.fecshoptest.com/v1/internalapi',
'apiUrl' => 'http://api-shop.yunya.com/v1/internalapi',
'clientId' => 'common',
'clientSecret' => 'qlOCFMUfxWjOhK2bdL88e3w2DjdhUDIA'
],
......
<?php
/**
* Coupon.php class file.
*
* @author Cathay <chenguotai@weixiuhui.cn>
* @time 2019/9/27 10:43 上午
* @copyright 2014-2019 weixiuhui. All Right Reserved
*/
namespace internalApi\shop;
use internalApi\base\Client;
class Coupon extends Client
{
/**
* 购买服务星送券
*
* @param int $uid 用户中心uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function sendByBuyVip($uid)
{
return self::call('coupon.sendByBuyVip', compact('uid'));
}
}
\ No newline at end of file
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