feat : spu

This commit is contained in:
2025-03-25 16:04:12 +08:00
parent bf1d001819
commit 614a77a247
4 changed files with 47 additions and 29 deletions

View File

@@ -26,14 +26,14 @@ use function Hyperf\Config\config;
class WxJsRechargeOrderService extends WxJsRechargeBaseService
{
use CheckOrderCallBackTrait,
GoodOrderTrait,
PayFinishTrait,
RefundOrderTrait,
OrderTrait,
OrderChangeStatusTrait,
CateringTrait,
CouponTrait;
use CheckOrderCallBackTrait;
// GoodOrderTrait,
// PayFinishTrait,
// RefundOrderTrait,
// OrderTrait,
// OrderChangeStatusTrait,
// CateringTrait,
// CouponTrait;
/**
*
@@ -41,36 +41,32 @@ class WxJsRechargeOrderService extends WxJsRechargeBaseService
const int OrderType = OrderCode::ORDER_TYPE_GOOD;
const int PayType = PayCode::WECHAT_PAY;
/**
* 订单 id
* @var int
*/
protected int $orderId;
// /**
// * 订单 id
// * @var int
// */
// protected int $orderId;
/**
* @var string
*/
protected string $orderNo;
/**
* @var mixed
*/
protected mixed $orderInfo;
// /**
// * @var mixed
// */
// protected mixed $orderInfo;
/**
* @var mixed
*/
protected mixed $payInfo;
// /**
// * @var mixed
// */
// protected mixed $payInfo;
/**
* @var mixed
*/
protected mixed $refundInfo;
// /**
// * @var mixed
// */
// protected mixed $refundInfo;
/**
* @var bool 是否加入配餐数据
*/
protected bool $isCatering = true;
/**
* @var Producer