瀏覽代碼

直播申请列表查询错误修复
商品去除标签信息
增加小程序参数

沈静伟 4 年之前
父節點
當前提交
466a00cf27

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

@@ -104,11 +104,11 @@ public class products extends Controller {
         String fprodclassname = content.getString("fprodclassname", "tagents_product.fprodclassname", "经营类目");
         String fintroduction = content.getString("fintroduction", "tagents_product.fintroduction", "产品介绍");
         String fnotes = content.getString("fnotes", "tagents_product.fnotes", "备注");
-        String ftag = content.getString("ftag", "tagents_product.ftag", "标签");
+        //String ftag = content.getString("ftag", "tagents_product.ftag", "标签");
         boolean fisonsale = content.getBoolean("fisonsale");
-        if (!isJSONArray(ftag)) {
-            return new D3BReturnObject_Err().setErrMsg("ftag不是有效的JSONArray格式").toString();
-        }
+//        if (!isJSONArray(ftag)) {
+//            return new D3BReturnObject_Err().setErrMsg("ftag不是有效的JSONArray格式").toString();
+//        }
         PaoSetRemote tagents_productSet = getP2ServerSystemPaoSet("tagents_product", "siteid='" + siteid + "' and tagentsid='" + tagentsid + "' and tagents_productid='" + tagents_productid + "'");
         PaoRemote tagents_product = null;
         if (tagents_productid <= 0 || tagents_productSet.isEmpty()) {
@@ -125,7 +125,7 @@ public class products extends Controller {
         tagents_product.setValue("fprice", fprice, 11L);//销售单价
         tagents_product.setValue("fprodclassname", fprodclassname, 11L);//经营类目
         tagents_product.setValue("fintroduction", fintroduction, 11L);//产品介绍
-        tagents_product.setValue("ftag", ftag, 11L);//产品标签
+        //tagents_product.setValue("ftag", ftag, 11L);//产品标签
         tagents_product.setValue("fnotes", fnotes, 11L);//备注
         tagents_product.setValue("changeby", username, 11L);//修改人
         tagents_product.setValue("changedate", sysdate, 11L);//修改时间

+ 1 - 2
src/dsb/com/cnd3b/restcontroller/enterprise/live/SQL/直播申请列表查询.sql

@@ -1,4 +1,3 @@
 select t1.tliveapplyid,t1.createby,t1.createdate,t1.siteid,t1.changeby,t1.changedate,
 t1.tagentsid,t1.tactivityid,t1.checkby,t1.checkdate,t1.fstatus,t1.fnotes,t1.fissecret,t2.tliveid,t2.channelid from tliveapply t1
-left join tlive t2 on t1.tliveapplyid=t2.tliveapplyid and t1.siteid=t2.siteid
-order by checkdate desc
+left join tlive t2 on t1.tliveapplyid=t2.tliveapplyid and t1.siteid=t2.siteid

+ 2 - 2
src/dsb/com/cnd3b/utility/wechatdock/WechatDock_xcx.java

@@ -8,8 +8,8 @@ import org.apache.commons.codec.digest.DigestUtils;
 import java.util.Calendar;
 
 public class WechatDock_xcx extends BaseClass {
-    public static String appid = "";
-    public static String secret = "";
+    public static String appid = "wx5dc7fd18b6335214";
+    public static String secret = "2729625b337024eaff2a52fe67f2b633";
 
 
     //有效期2小时,需定时刷新,重复获取将导致上次获取的失效