Просмотр исходного кода

商品新增修改增加上下架字段

沈静伟 4 лет назад
Родитель
Сommit
d029eeab36
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/dsb/com/cnd3b/restcontroller/customer/products/products.java

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/products/products.java

@@ -105,7 +105,7 @@ public class products extends Controller {
         String fintroduction = content.getString("fintroduction", "tagents_product.fintroduction", "产品介绍");
         String fnotes = content.getString("fnotes", "tagents_product.fnotes", "备注");
         String ftag = content.getString("ftag", "tagents_product.ftag", "标签");
-        boolean fisonsale = content.getBooleanValue("fisonsale");
+        boolean fisonsale = content.getBoolean("fisonsale");
         if (!isJSONArray(ftag)) {
             return new D3BReturnObject_Err().setErrMsg("ftag不是有效的JSONArray格式").toString();
         }