fix obix config
This commit is contained in:
parent
85b6553db7
commit
fc7a9713fd
@ -50,8 +50,8 @@ namespace Backend.Controllers
|
|||||||
var obixApiConfig = new Backend.Models.ObixApiConfig();
|
var obixApiConfig = new Backend.Models.ObixApiConfig();
|
||||||
EDFunction ed = new EDFunction();
|
EDFunction ed = new EDFunction();
|
||||||
obixApiConfig.ApiBase = variableObix.Where(x => x.Name == "ApiBase").Select(x => x.Value).FirstOrDefault() + "obix/config/Program/ObixQuery/query/";
|
obixApiConfig.ApiBase = variableObix.Where(x => x.Name == "ApiBase").Select(x => x.Value).FirstOrDefault() + "obix/config/Program/ObixQuery/query/";
|
||||||
obixApiConfig.UrlSlot = variableObix.Where(x => x.Name == "url_slot").Select(x => x.Value).FirstOrDefault();
|
obixApiConfig.UrlSlot = ed.AESDecrypt(variableObix.Where(x => x.Name == "url_slot").Select(x => x.Value).FirstOrDefault());
|
||||||
obixApiConfig.TagQuantity = variableObix.Where(x => x.Name == "tag_quantity").Select(x => x.Value).FirstOrDefault();
|
obixApiConfig.TagQuantity = ed.AESDecrypt(variableObix.Where(x => x.Name == "tag_quantity").Select(x => x.Value).FirstOrDefault());
|
||||||
|
|
||||||
List<Device_value> ds;
|
List<Device_value> ds;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user