mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 22:43:25 +08:00
【修复】修复服务商品后台手动核销后,前端状态仍然显示正常的问题。
【修复】修复微信同步头像及昵称数据,只更新用户表,未更新微信来源表的问题。
This commit is contained in:
@@ -951,6 +951,16 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
return jm;
|
||||
}
|
||||
oldModel.isVerification = (bool)entity.data;
|
||||
if (oldModel.isVerification)
|
||||
{
|
||||
oldModel.status = (int)GlobalEnumVars.ServicesTicketStatus.已核销;
|
||||
oldModel.verificationTime = DateTime.Now;
|
||||
}
|
||||
else
|
||||
{
|
||||
oldModel.status = (int)GlobalEnumVars.ServicesTicketStatus.正常;
|
||||
oldModel.verificationTime = null;
|
||||
}
|
||||
|
||||
var bl = await _coreCmsUserServicesTicketServices.UpdateAsync(oldModel);
|
||||
jm.code = bl ? 0 : 1;
|
||||
|
||||
Reference in New Issue
Block a user