退款失败测试
This commit is contained in:
@@ -124,13 +124,13 @@ class FinanceController extends BaseAdminController
|
||||
// 获取前端传递的POST数据
|
||||
$post = \Yii::$app->request->post();
|
||||
|
||||
ds($post);
|
||||
// 对必要的字段进行验证
|
||||
$this->requestValidate($post, [
|
||||
['id', 'required'],
|
||||
['refund_type', 'required'],
|
||||
['refund_type', 'required'],
|
||||
]);
|
||||
ds($post);
|
||||
|
||||
// 实例化ProductOrder模型
|
||||
$orderModel = new ProductOrder();
|
||||
|
||||
Reference in New Issue
Block a user