parent
e7961e9bc9
commit
cfc62e800d
|
@ -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;
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue