@@ -699,6 +699,18 @@ namespace Hotline.Api.Controllers
var dataDtos = _mapper.Map<ICollection<TrCallDto>>(data);
+ dto.ColumnInfos.ForEach(x =>
+ {
+ if (x.Prop=="cpn")
+ x.Prop ="CPN";
+ }
+ if (x.Prop=="cdpn")
+ x.Prop = "CDPN";
+ });
+
dynamic? dynamicClass = DynamicClassHelper.CreateDynamicClass(dto.ColumnInfos);
var dtos = dataDtos
@@ -1,7 +1,7 @@
{
"AllowedHosts": "*",
"AppConfiguration": {
- "AppScope": "ZiGong",
+ "AppScope": "YiBin",
"YiBin": {
"AreaCode": "511500",
"CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang