|
|
@@ -21,6 +21,16 @@ class CustomClass extends BaseClass
|
|
|
|
|
|
public static $baseFile = '\bizHd\custom\models\Custom';
|
|
|
|
|
|
+ //用余额支付,客户余额减少 ssh 20250410
|
|
|
+ public static function payByChangeBalance($order)
|
|
|
+ {
|
|
|
+ $hdId = $order->hdId ?? 0;
|
|
|
+ $hd = HdClass::getLockById($hdId);
|
|
|
+
|
|
|
+ $customId = $order->customId ?? 0;
|
|
|
+ $custom = self::getLockById($customId);
|
|
|
+ }
|
|
|
+
|
|
|
//会员等级变化,包括手动修改、自动降会员和充值升会员等 ssh 20250324
|
|
|
public static function levelChange($oldLevel, $newLevel, $shop, $custom, $hd, $params)
|
|
|
{
|