@@ -33,6 +33,7 @@ namespace CallCenterApi.Interface
var date = DateTime.Parse(Configs.GetValue("AuthDate"));
if (date < DateTime.Now)
{
+ context.Response.ContentType = "text/plain; charset=utf-8";
context.Response.Write(new AjaxResult { state = ResultTypes.error.ToString(), message = "授权过期,请联系系统厂家。" }.ToJson());
context.Response.End();
}