/// <summary> /// 更新用户勋章信息 /// </summary> /// <param name="uid">用户Id</param> /// <param name="medals">勋章信息</param> public static void UpdateMedals(int uid, string medals) { DatabaseProvider.GetInstance().UpdateMedals(uid, medals); if (appDBCache) IUserService.UpdateMedals(uid, medals); }