Ejemplo n.º 1
0
 private void GetCanChangeBind(HttpContext context)
 {
     context.Response.ContentType = "application/json";
     try
     {
         int num = MemberHelper.CanChangeBindWeixin();
         context.Response.Write(JsonConvert.SerializeObject(new { status = num }));
     }
     catch (Exception)
     {
         context.Response.Write(JsonConvert.SerializeObject(new { status = 4, msg = "程序出错了" }));
     }
 }