wesmiler 3 months ago
parent
commit
bfd329cdfb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/Api/AccountService.php

+ 1 - 0
app/Services/Api/AccountService.php

@@ -167,6 +167,7 @@ class AccountService extends BaseService
             $info['meal']['unit'] = '次';
             $info['meal']['num'] = 1;
             $info['meal']['price'] = $info['pay_total'];
+            $info['meal']['total'] = $info['pay_total'];
             $info['meal']['thumb'] = get_image_url('/images/goods/goods.jpeg');
             $info['order_goods'] = [$info['meal']];
             unset($info['meal']);