Skip to content

Commit

Permalink
拆分cart插件 #3037
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Mar 6, 2017
1 parent 811ffdd commit abc0fe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Service/Coupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Miaoxing\Coupon\Service;

use plugins\cart\services\Cart;
use Miaoxing\Cart\Service\Cart;

class Coupon extends \miaoxing\plugin\BaseModel
{
Expand Down Expand Up @@ -32,7 +32,7 @@ public function getMessage()
/**
* 根据多个购物车,拉取可用的优惠券
*
* @param Cart|Cart[] $carts
* @param Cart|\Miaoxing\Cart\Service\Cart[] $carts
* @return Coupon[]
*/
public function getAvailableCouponsByCarts(Cart $carts)
Expand Down
4 changes: 2 additions & 2 deletions src/Service/UserCoupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Miaoxing\Coupon\Service;

use Miaoxing\Plugin\Service\User;
use plugins\cart\services\Cart;
use Miaoxing\Cart\Service\Cart;

class UserCoupon extends \miaoxing\plugin\BaseModel
{
Expand Down Expand Up @@ -39,7 +39,7 @@ public function getResult()
}

/**
* @param Cart|Cart[] $carts
* @param Cart|\Miaoxing\Cart\Service\Cart[] $carts
* @return array|bool
* @throws \Exception
*/
Expand Down

0 comments on commit abc0fe4

Please sign in to comment.