/// <summary>
        /// 绑定外部账号
        /// </summary>
        /// <returns></returns>
        public IHttpActionResult BindExternalUser(BindExternalUserModelGet modelGet)
        {
            string openUserId = _accountInfoDal.BindExternalUser(modelGet.UserId, modelGet.ExternalUserId, modelGet.AppId);

            return(Json(new ResultDataModel <BindExternalUserModelResult> {
                Code = (openUserId != "-1" && openUserId != " -2") ? 0 : -1, Messages = openUserId == "-2" ? "用户已绑定" : "", Data = new BindExternalUserModelResult()
                {
                    OpenUserId = (openUserId != "-1" && openUserId != " -2") ? openUserId : ""
                }
            }));
        }