|
|
@@ -195,7 +195,12 @@ public class ServiceInfoController extends MallUserInfoBaseController{ |
|
|
|
@GetMapping("/current") |
|
|
|
public ResultData currentInfo() { |
|
|
|
MallUserInfo user = this.getUser(); |
|
|
|
ServiceInfo si = serviceInfoService.getServiceInfoByMallUserInfo(user.getId()); |
|
|
|
ServiceInfo si = null; |
|
|
|
if (AiVideoHelper.localDeploy) { |
|
|
|
si = SmSdkUtils.getCurrentServiceInfo(); |
|
|
|
}else { |
|
|
|
si = serviceInfoService.getServiceInfoByMallUserInfo(user.getId()); |
|
|
|
} |
|
|
|
return new ResultData(si); |
|
|
|
} |
|
|
|
|
|
|
|