浏览代码

优化返回字段名

zhangdongming 3 月之前
父节点
当前提交
a5a045094b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AdminController/ProductsSchemeManageController.py

+ 1 - 1
AdminController/ProductsSchemeManageController.py

@@ -364,7 +364,7 @@ class ProductsSchemeManageView(View):
             'ad': scheme.ad,
             'sensor': scheme.sensor,
             'orderQuantity': scheme.order_quantity,
-            'customer_code': scheme.customer_code,
+            'customerCode': scheme.customer_code,
             'phy':scheme.phy,
             'remark': scheme.remark,
             'createdTime': scheme.created_time,