diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/BIPService.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java similarity index 99% rename from sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/BIPService.java rename to sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java index d848993..368b426 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/BIPService.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java @@ -10,7 +10,6 @@ import kd.bos.logging.LogFactory; import kd.bos.orm.query.QCP; import kd.bos.orm.query.QFilter; import kd.bos.servicehelper.BusinessDataServiceHelper; -import shkd.sys.sys.common.ApiEntity; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; @@ -29,8 +28,8 @@ import java.util.*; * @Author Tao * @Date 2024/11/11 */ -public class BIPService { - private static final Log logger = LogFactory.getLog(BIPService.class); +public class ApiService { + private static final Log logger = LogFactory.getLog(ApiService.class); public static String getBIPToken() { String access_token = null; diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiTestBillPlugin.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiTestBillPlugin.java index b0be6fd..a397524 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiTestBillPlugin.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiTestBillPlugin.java @@ -1,11 +1,10 @@ package shkd.sys.sys.plugin.form; -import com.alibaba.fastjson.JSONObject; import kd.bos.bill.AbstractBillPlugIn; import kd.bos.form.control.Toolbar; import kd.bos.form.control.events.ItemClickEvent; import kd.sdk.plugin.Plugin; -import shkd.sys.sys.mservice.BIPService; +import shkd.sys.sys.mservice.ApiService; import java.util.EventObject; @@ -33,13 +32,13 @@ public class ApiTestBillPlugin extends AbstractBillPlugIn implements Plugin { String key = evt.getItemKey(); if ("shkd_token".equals(key)) { - String bipToken = BIPService.getBIPToken(); + String bipToken = ApiService.getBIPToken(); this.getView().showTipNotification(bipToken); } if ("shkd_api".equals(key)) { - JSONObject jsonObject = BIPService.paymentSlipsJson(); - this.getView().showTipNotification(jsonObject.toJSONString()); +// JSONObject jsonObject = BIPService.paymentSlipsJson(); +// this.getView().showTipNotification(jsonObject.toJSONString()); } }