产品订单自动收货调整,供应商余额结算调整
This commit is contained in:
@@ -11,6 +11,7 @@ use common\models\oldDb\ProductOrder;
|
||||
use common\models\oldDb\ProductOrderRefund;
|
||||
use common\services\EplPayService;
|
||||
use common\services\WechatService;
|
||||
use EasyWeChat\Kernel\Exceptions\InvalidConfigException;
|
||||
use yii\base\Exception;
|
||||
use function GuzzleHttp\Promise\all;
|
||||
|
||||
@@ -87,6 +88,14 @@ class ProductRefundForm extends BaseModel
|
||||
return ['操作成功'];
|
||||
}
|
||||
|
||||
/**
|
||||
* 退款操作
|
||||
* @param $productOrderRefund
|
||||
* @return true
|
||||
* @throws Exception
|
||||
* @throws InvalidConfigException
|
||||
* @throws \yii\db\Exception
|
||||
*/
|
||||
public function refundMoney($productOrderRefund)
|
||||
{
|
||||
$orderNo = $productOrderRefund->order->order_no;
|
||||
|
||||
Reference in New Issue
Block a user