Authored by 郭成尧

'透传接口数据'

... ... @@ -284,11 +284,7 @@ class ReturnsController extends WebAction
}
$orderId = $this->post('id');
$uid = $this->getUid();
$res = ReturnsData::cancelRefund($orderId, $uid);
$result = array();
if ($res['code'] === 200) {
$result['message'] = $res['message'];
}
$result = ReturnsData::cancelRefund($orderId, $uid);
$this->echoJson($result);
}
... ... @@ -303,11 +299,7 @@ class ReturnsController extends WebAction
}
$orderId = $this->post('id');
$uid = $this->getUid();
$res = ReturnsData::cancelChange($orderId, $uid);
$result = array();
if ($res['code'] === 200) {
$result['message'] = $res['message'];
}
$result = ReturnsData::cancelChange($orderId, $uid);
$this->echoJson($result);
}
... ...