|
|
|
@ -2971,8 +2971,8 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
string _commonType = ""; // 类别 |
|
|
|
|
string userID = ""; |
|
|
|
|
bool hasUserIDPara = false; |
|
|
|
|
string SqlCompanyKey = "SELECT CompanyKey from Ghro_company where IsEnable=1"; |
|
|
|
|
DataTable dtCompanyKey = await Db.Ado.GetDataTableAsync(SqlCompanyKey); |
|
|
|
|
string sqlCompanyKey = "SELECT CompanyKey FROM Ghro_company WHERE IsEnable=1"; |
|
|
|
|
DataTable dtCompanyKey = await Db.Ado.GetDataTableAsync(sqlCompanyKey); |
|
|
|
|
string tokenKey = "Tiobon"; |
|
|
|
|
if (dtCompanyKey.Rows.Count > 0) |
|
|
|
|
tokenKey = dtCompanyKey.Rows[0][0].ToString(); |
|
|
|
@ -3252,7 +3252,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
message = ErrorMsg; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
Dictionary<String, Object> data = new Dictionary<String, Object> |
|
|
|
|
var data = new Dictionary<string, object> |
|
|
|
|
{ |
|
|
|
|
{"result", JObject.Parse(strJson)}, |
|
|
|
|
{"message",message}, |
|
|
|
@ -3269,7 +3269,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
} |
|
|
|
|
catch (Exception e) |
|
|
|
|
{ |
|
|
|
|
Dictionary<String, Object> data = new Dictionary<String, Object> |
|
|
|
|
var data = new Dictionary<string, object> |
|
|
|
|
{ |
|
|
|
|
{"result", "{}"}, |
|
|
|
|
{"message",e.Message}, |
|
|
|
@ -3278,10 +3278,6 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
}; |
|
|
|
|
return data; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//DataSet dt = await Db.Ado.UseStoredProcedure().GetDataSetAllAsync(param.procName, dic); |
|
|
|
|
|
|
|
|
|
//return dt; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|