|
|
@@ -228,7 +228,7 @@ class AccountService extends BaseService
|
|
|
$mealType = isset($mealInfo['type']) && $mealInfo['type'] ? intval($mealInfo['type']) : 1;
|
|
|
$productId= isset($mealInfo['product_id']) ? $mealInfo['product_id'] : 0;
|
|
|
$remark= isset($mealInfo['remark']) ? $mealInfo['remark'] : '';
|
|
|
- $price = $discount?round($money*$discount/100,2): $money;
|
|
|
+ $price = $discount?moneyFormat($money*$discount/100,2): $money;
|
|
|
if (empty($mealInfo)) {
|
|
|
$this->error = '该套餐不存在';
|
|
|
RedisService::clear($cacheKey . '_lock');
|