Explorar o código

chapte tenplate

zz %!s(int64=6) %!d(string=hai) anos
pai
achega
3ccf66487d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Wap/Order/OrdersController.php

+ 1 - 1
app/Http/Controllers/Wap/Order/OrdersController.php

@@ -257,7 +257,7 @@ class OrdersController extends BaseController
                     continue;
                 }
                 $temp = [
-                    'price' => (int)$v->price . '元',
+                    'price' => (float)$v->price . '元',
                     'is_year_order' => 0,
                     'text' => sprintf('%s+%s书币', $v->price * 100, $v->given),
                     'first_charge' => true,