| | |
| | | @Component |
| | | public class AppManager { |
| | | |
| | | //,url = "dubbo://193.112.35.168:20882/com.ks.app.service.AppService" |
| | | @Reference(version = "1.0.0", url = "dubbo://193.112.35.168:20882/com.ks.app.service.AppService", check = false) |
| | | //,url = "dubbo://134.175.68.214:20901/com.ks.app.service.AppService" |
| | | @Reference(version = "1.0.0") |
| | | private AppService appService; |
| | | |
| | | public Long getAppId(String appKey) { |
| | |
| | | AppInfo info = appService.getAppDetail(appId); |
| | | return info; |
| | | } |
| | | |
| | | public AppInfo getAppDetail(String appKey) { |
| | | AppInfo info = appService.getAppDetail(appKey); |
| | | return info; |
| | | } |
| | | |
| | | } |