|
@@ -29,8 +29,6 @@ public class NotifyCallback implements MQTTCallbackHandler {
|
|
|
@Autowired
|
|
|
private TenantPaymentOrderService tenantPaymentOrderService;
|
|
|
@Autowired
|
|
|
- private SysConfigDao sysConfigDao;
|
|
|
- @Autowired
|
|
|
private HfMemberDao hfMemberDao;
|
|
|
|
|
|
private static NotifyCallback notifyCallback;
|
|
@@ -44,7 +42,6 @@ public class NotifyCallback implements MQTTCallbackHandler {
|
|
|
@PostConstruct
|
|
|
public void init() {
|
|
|
notifyCallback = this;
|
|
|
- String baseUrl = notifyCallback.sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
|
if (!profiles.equals("prod") && !appName.equals("student-server")) {
|
|
|
Adapay.debug = true;
|
|
|
/**
|
|
@@ -52,7 +49,7 @@ public class NotifyCallback implements MQTTCallbackHandler {
|
|
|
*/
|
|
|
Adapay.prodMode = false;
|
|
|
}
|
|
|
- Adapay.setDeviceID(baseUrl);
|
|
|
+ Adapay.setDeviceID(appName);
|
|
|
}
|
|
|
|
|
|
/**
|