This commit is contained in:
youda 2025-04-26 15:17:40 +08:00
parent 7e770991fb
commit c1cdc78079
2 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ class Finance extends Base
$mobile = trim(input('get.mobile'));
$addtime = trim(input('get.addtime'));
$whe = [];
$whe[] = ['order_type', '<', 12];
// $whe[] = ['order_type', '<', 12];
$whe[] = ['status', '=', 1];
if ($user_id) {
$user_id = $this->convertUidToUserId($user_id);

View File

@ -501,12 +501,12 @@ class Order extends Base
if ($info['status'] == 4) {
return $this->renderError('请勿重复操作');
}
if ($info['status'] == 1) {
return $this->renderError('该订单未发货');
}
if ($info['status'] != 2) {
return $this->renderError('请求参数错误1');
}
// if ($info['status'] == 1) {
// return $this->renderError('该订单未发货');
// }
// if ($info['status'] != 2) {
// return $this->renderError('请求参数错误1');
// }
if ($info['freight'] > 0) {
$wxServer = new \app\common\server\WechatRefund($this->app);
$refund_res = $wxServer->OrderRefund($info);