|
|
@@ -234,7 +234,7 @@ public class PtlAgreementServiceImpl extends ServiceImpl<PtlAgreementMapper, Ptl
|
|
|
}
|
|
|
|
|
|
// 验证用户名密码 python api 对接需要验证用户名
|
|
|
- if (PtlApiType.PTL_API_2.getCode() == attribution.getApiType()) {
|
|
|
+ if (!ObjectUtils.isEmpty(attribution.getApiType()) && PtlApiType.PTL_API_2.getCode() == attribution.getApiType()) {
|
|
|
String nameSimple = esmInsCompany.getNamesimple();
|
|
|
insCrawlerOrderController.isLogin(attribution, nameSimple);
|
|
|
}
|