提交
This commit is contained in:
parent
7e770991fb
commit
c1cdc78079
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user