|
@@ -10,8 +10,8 @@ import com.emato.biz.mapper.mall.MallMngChangeMapper;
|
|
|
import com.emato.biz.service.mall.ISalesDetaiServicel;
|
|
|
import com.emato.common.core.Result;
|
|
|
import com.emato.common.utils.DateUtils;
|
|
|
-import com.emato.common.utils.oms.request.DesUtils;
|
|
|
import com.emato.common.utils.sign.Md5Utils;
|
|
|
+import com.emato.system.mapper.SysConfigMapper;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -35,8 +35,8 @@ public class SalesDetaiServicelImpl implements ISalesDetaiServicel {
|
|
|
private InventoryDataMapper inventoryDataMapper;
|
|
|
@Autowired
|
|
|
private MallMngChangeMapper mallMngChangeMapper;
|
|
|
-
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private SysConfigMapper configMapper;
|
|
|
|
|
|
/**
|
|
|
* kmall向eccs系统推送数据
|
|
@@ -58,7 +58,7 @@ public class SalesDetaiServicelImpl implements ISalesDetaiServicel {
|
|
|
try {
|
|
|
String strMsg = httpServletRequest.getHeader("Sign");
|
|
|
String tranDtion = httpServletRequest.getHeader("tranDtion")==null?"":httpServletRequest.getHeader("tranDtion");
|
|
|
- if(!strMsg.equals(DesUtils.SIGN)){
|
|
|
+ if(!strMsg.equals(configMapper.getConfigValue("sign"))){
|
|
|
return Result.error("1003","签名错误");
|
|
|
}
|
|
|
if(tranDtion.equals("")){
|