Browse Source
Merge branch 'coupon_rebate' of ssh://120.24.33.109:11022/hyzjshwo/lanzu_api_hyperf into coupon_rebate
master
Merge branch 'coupon_rebate' of ssh://120.24.33.109:11022/hyzjshwo/lanzu_api_hyperf into coupon_rebate
master
7 changed files with 148 additions and 70 deletions
-
11app/Amqp/Consumer/couponRebateConsumer.php
-
7app/Controller/CouponRebateController.php
-
15app/Service/CouponRebate.php
-
12app/Service/CouponRebateInterface.php
-
83app/Service/CouponRebateService.php
-
2app/Service/CouponRebateServiceInterface.php
-
2config/routes.php
@ -1,15 +0,0 @@ |
|||||
<?php |
|
||||
|
|
||||
namespace App\Service; |
|
||||
|
|
||||
use Hyperf\DbConnection\Db; |
|
||||
use Hyperf\HttpServer\Contract\RequestInterface; |
|
||||
use Hyperf\Di\Annotation\Inject; |
|
||||
use Hyperf\Paginator\Paginator; |
|
||||
|
|
||||
class CouponRebate implements CouponRebateInterface |
|
||||
{ |
|
||||
|
|
||||
|
|
||||
|
|
||||
} |
|
||||
@ -1,12 +0,0 @@ |
|||||
<?php |
|
||||
|
|
||||
namespace App\Service; |
|
||||
|
|
||||
interface CouponRebateInterface |
|
||||
{ |
|
||||
|
|
||||
public function isCouponRebate($user_id); |
|
||||
|
|
||||
public function getActiveInfo(); |
|
||||
|
|
||||
} |
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue