소스 검색

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

沈静伟 4 년 전
부모
커밋
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();
         }