Browse Source

Merge branch 'master' into develop

zilong 4 years ago
parent
commit
fe0ce1057d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Order.php

+ 1 - 1
app/Models/Order.php

xqd
@@ -259,7 +259,7 @@ class Order extends BaseModel
         $updateOrder = ['order_status' => 5, 'order_notes' => $order_notes];
         if ($order['payment_status'] > 1) {
             //判断是余额支付还是服务包支付
-            if ($order['payment_type'] == 2) {
+            if ($order['payment_type'] == 3) {
                 //退服务包的次数
                 $map = [1 => 'phone_minutes', 2 => 'chat_num', 3 => 'appoint_num', 4 => 'vaccine_limit_amount', 5 => 'nurses_limit_amount'];
                 $addNum = $order['product_type'] == 1 ? 10 : 1;