Ver Fonte

MOD:订单详情---加个总数

cxyu há 3 anos atrás
pai
commit
1b058dab1a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      handlers/OrderHandler.py

+ 1 - 1
handlers/OrderHandler.py

@@ -414,7 +414,7 @@ class OrderInfo(BaseHandler):
                         }
             data_sum_res_dict.append(tmp_dict)
 
-        data, total, total_data = data_res_dict, data_total, data_sum_res_dict
+        data, total, total_data = data_res_dict, data_total, data_sum_res_dict[0]
 
         return data, total, total_data