|
@@ -97,16 +97,16 @@ class OrderAftersale extends Base
|
|
|
$this->success('上传退货快递单号成功', \app\api\model\order\OrderAftersale::operReturnExpress($params));
|
|
|
}
|
|
|
|
|
|
-// // 取消售后单
|
|
|
-// public function cancel()
|
|
|
-// {
|
|
|
-// $params = $this->request->post();
|
|
|
-//
|
|
|
-// // 表单验证
|
|
|
-// $this->shoproValidate($params, get_class(), 'cancel');
|
|
|
-//
|
|
|
-// $this->success('取消成功', \addons\shopro\model\OrderAftersale::operCancel($params));
|
|
|
-// }
|
|
|
+ // 取消售后单
|
|
|
+ public function cancel()
|
|
|
+ {
|
|
|
+ $params = $this->request->post();
|
|
|
+
|
|
|
+ // 表单验证
|
|
|
+ $this->shoproValidate($params, get_class(), 'cancel');
|
|
|
+
|
|
|
+ $this->success('取消成功', \addons\shopro\model\OrderAftersale::operCancel($params));
|
|
|
+ }
|
|
|
|
|
|
// // 删除售后单
|
|
|
// public function delete()
|