Przeglądaj źródła

删除参数0519_1859

whc 4 lat temu
rodzic
commit
e3ba68a482

+ 8 - 0
UI/src/pages/sellmanage/adminiFans.js

@@ -326,7 +326,15 @@ class AddminiFans extends Component {
         }
         );
       },
+      primaryKey: 'TagId',
       columns: [
+        {
+          title: "id",
+          data: "id",
+          type: "text",
+          editor: {ep:"hide",ap:"hide"},
+          hide: true
+        },
         {
           title: "分组Id",
           data: "TagId",

+ 1 - 1
UI/src/pages/sellmanage/channelCode.js

@@ -189,7 +189,7 @@ class BirdGridPermissionPage extends React.Component {
       },
       checkable: true,
       pageSize: 10,
-
+      primaryKey: 'qrcode_id',
       columns: [
         { title: "编号", data: "qrcode_id", type: "number", query: true },
         { title: "渠道名称", data: "qrcode_name", type: "text", query: true },

+ 1 - 1
mpwechatApp/src/main/java/com/liangjian11/wx/mp/controller/WxQrcodeController.java

@@ -91,7 +91,7 @@ public class WxQrcodeController {
      */
     @CrossOrigin
     @DeleteMapping("/delete")
-    public ResultInfo deleteQrcode(@RequestBody Integer idList){
+    public ResultInfo deleteQrcode(@RequestParam("idList") Integer idList){
         List<Integer> list = new ArrayList<>();
         list.add(idList);
         return qrcodeService.deleteQrcode(list);

+ 1 - 1
mpwechatApp/src/main/java/com/liangjian11/wx/mp/service/impl/QrcodeServiceImpl.java

@@ -75,7 +75,7 @@ public class QrcodeServiceImpl implements QrcodeService {
         }
         // 删除库中数据
         qrcodeMapper.deleteBatchIds(idList);
-        return ResultUtil.createSuccess(200, null);
+        return new ResultInfo(ResultInfo.TYPE_RESULT_SUCCESS, 200, "成功!");
     }
 
     /**

BIN
qiyewechat_parent/public/qrcode/permanent_1231232120200519172813.jpg


BIN
qiyewechat_parent/public/qrcode/permanent_张20200519174951.jpg


BIN
qiyewechat_parent/public/qrcode/permanent_陈某20200519174825.jpg


BIN
qiyewechat_parent/public/qrcode/temporary_你的20200519171222.jpg