|
|
|
@ -66,7 +66,7 @@ public class RetailRSvcServiceImpl implements RetailRSvcService {
|
|
|
|
|
public JSONObject findMchInfoBySourceCode(JSONObject device, String sourceCode, boolean debug) {
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject svcInfo = commonIncrementalChannelMapper.findIncreamentalChannelBySourceCode(sourceCode);
|
|
|
|
|
if (svcInfo == null || StringUtils.isEmpty(svcInfo.getString("channel_pub_key"))
|
|
|
|
|
|| StringUtils.isEmpty(svcInfo.getString("platform_pub_key")) || StringUtils.isEmpty("platform_pri_key")) {
|
|
|
|
|