From c9db68e33f90231b064b8864fc69ccf7d25f5e0b Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 25 八月 2022 17:55:40 +0800
Subject: [PATCH] 淘宝商品ID字符串化

---
 app/src/main/java/com/ks/app/controller/admin/vip/VipCenterAdminController.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/app/src/main/java/com/ks/app/controller/admin/vip/VipCenterAdminController.java b/app/src/main/java/com/ks/app/controller/admin/vip/VipCenterAdminController.java
index c515e29..267b682 100644
--- a/app/src/main/java/com/ks/app/controller/admin/vip/VipCenterAdminController.java
+++ b/app/src/main/java/com/ks/app/controller/admin/vip/VipCenterAdminController.java
@@ -1,18 +1,13 @@
 package com.ks.app.controller.admin.vip;
 
 
-import com.google.gson.Gson;
-import com.google.gson.reflect.TypeToken;
-import com.ks.app.pojo.DTO.OptionDTO;
 import com.ks.app.pojo.VO.PageEntity;
 import com.ks.app.pojo.VO.Result;
 import com.ks.app.util.ResultUtils;
 import com.ks.vip.exception.VipCenterException;
 import com.ks.vip.pojo.DO.VipCenter;
 import com.ks.vip.pojo.DO.VipGrade;
-import com.ks.vip.pojo.Enums.VIPEnum;
 import com.ks.vip.pojo.VO.VipCenterVO;
-import com.ks.vip.service.VipCenterService;
 import com.ks.vip.service.VipCenterService;
 import com.ks.vip.service.VipGradeService;
 import org.apache.dubbo.config.annotation.Reference;
@@ -94,6 +89,8 @@
         try {
             vipCenterService.saveManageWeb(t);
             return ResultUtils.loadTrue();
+        } catch (VipCenterException e) {
+            return ResultUtils.loadFalse(e.getCode(),e.getMsg());
         } catch (Exception e) {
             e.printStackTrace();
             return ResultUtils.loadFalse("淇濆瓨澶辫触锛�");

--
Gitblit v1.8.0