|
|
@@ -114,11 +114,13 @@ class RefundController extends BaseController
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if ($version == 0 && $has == true) {
|
|
|
- util::fail('请先升级系统');
|
|
|
- }
|
|
|
- if ($has == true && $confirm == 0) {
|
|
|
- util::success(['notFirstApply' => 1]);
|
|
|
+ if ($has == true) {
|
|
|
+ if ($version == 0) {
|
|
|
+ util::fail('请先升级系统');
|
|
|
+ }
|
|
|
+ if ($confirm == 0) {
|
|
|
+ util::success(['notFirstApply' => 1]);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
$connection = Yii::$app->db;//事务处理
|