解除提供商服开店信息的限制

master
coral chen 4 years ago
parent 2e6f1633c4
commit da729610d6

@ -66,12 +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 clientConfig = clientConfigMapper.find(device.getIntValue("client_id"));
if (!debug && !clientConfig.getBooleanValue("geek_shop_status")
&& device.getIntValue("client_id") != 9
&& device.getIntValue("client_id") != 4181) {
throw new NotFoundException();
}
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")) {

Loading…
Cancel
Save