Example #1
0
 public JsonResult SaveFormID(string formid, string access_token)
 {
     UserFormIDBussiness.InsertUserFormIDModel(new UserFormIDModel()
     {
         OpenID = access_token, FormID = formid
     });
     return(Success("success"));
 }
        public JsonResult <ResultObject> SaveFormID([FromBody] dynamic data)
        {
            string access_token = data.access_token.Value;
            string formid       = data.formid.Value;

            UserFormIDBussiness.InsertUserFormIDModel(new UserFormIDModel()
            {
                OpenID = access_token, FormID = formid
            });
            //var m = LoginInfo.Avatars;
            return(Success("success"));
        }