siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.66k stars 1.21k forks source link

/api/pages/settings/adminAccessTokens?&1536654977155 #1332

Open yourapis opened 5 years ago

yourapis commented 5 years ago

Console出来的信息是:

500 GET http://xxxxx.com/api/pages/settings/adminAccessTokens?&1536654977155

message An error has occurred. exceptionMessage Unknown column 'AdminName' in 'field list' exceptionType MySql.Data.MySqlClient.MySqlException stackTrace 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MySql.Data.MySqlClient.MySqlCommand.…ers, AdoConnectionOwnership connectionOwnership) 在 SiteServer.CMS.Data.DatabaseApi.ExecuteReader(String connectionString, String commandText, IDataParameter[] commandParameters) 在 SiteServer.CMS.Data.DatabaseApi.ExecuteReader(String connectionString, String commandText) 在 SiteServer.CMS.Data.DataProviderBase.ExecuteReader(String commandText) 在 SiteServer.CMS.Provider.AccessTokenDao.GetAccessTokenInfoList() 在 SiteServer.API.Controllers.Pages.Settings.AdminAccessTokensController.GetList()

程序是从6.0开始一直每个月下载www.siteserver.cn的正式版包进行升级来的。

starlying commented 5 years ago

SQLSERVER 我们测试正常,MYSQL还需要测试一下。 先看看是不是表少了AdminName字段

yourapis commented 5 years ago

qq 20180914094407

=======================================

这个token表的字段,没有你说的AdminName字段,

yourapis commented 5 years ago

是不是你们在某个版本升级的时候,mysql版本的把这个字段给忘了。

yourapis commented 5 years ago

这是BUG哦。。。快修补

starlying commented 5 years ago

好的,我们会尽快修复