增加了token的公共参数

This commit is contained in:
Qiuwja 2024-09-26 10:54:48 +08:00
parent 7342b958d2
commit 9f0e7b5d09
3 changed files with 10 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class AfterApprovePushRule implements IRule<OrderVO> {
}
HYSuperDMO dmo = new HYSuperDMO();
ObjectMapper objectMapper = new ObjectMapper();
String token="";
String token=EGAPParam.EGAPTOKEN;
for (int i = 0; i < vos.length; i++) {
if(vos[i].getHVO().getForderstatus().intValue()==3) {
HashMap<String, Object> h_bill = new HashMap<String, Object>();
@ -77,6 +77,7 @@ public class AfterApprovePushRule implements IRule<OrderVO> {
ArrayList<Object> l_items = new ArrayList<Object>();
OrderItemVO[] itemVOs= vos[i].getBVO();
for (int j = 0; j < itemVOs.length; j++) {
HashMap<String, Object> b_item = new HashMap<String, Object>();

View File

@ -35,7 +35,7 @@ public INCCForEGAPIntf iNCCForEGAPIntf =null;
HYSuperDMO dmo = new HYSuperDMO();
ObjectMapper objectMapper = new ObjectMapper();
String token="";
String token=EGAPParam.EGAPTOKEN;;
for (int i = 0; i < vos.length; i++) {
if(vos[i].getHVO().getForderstatus().intValue()!=3) {
HashMap<String, Object> h_bill = new HashMap<String, Object>();

View File

@ -0,0 +1,7 @@
package nc.impl.pu.m21.action.rule.def;
public class EGAPParam {
public static String EGAPTOKEN = "D6467205-7A71-4CF6-BD8C-3F9968BF0826";
}