|
|
@@ -14,7 +14,7 @@ using SqlSugar;
|
|
14
|
14
|
|
|
15
|
15
|
namespace TVShoppingCallCenter_ZLJ.Controllers.Customer
|
|
16
|
16
|
{
|
|
17
|
|
- [Authorize]
|
|
|
17
|
+ // [Authorize]
|
|
18
|
18
|
[Produces("application/json")]
|
|
19
|
19
|
[Route("api/[controller]")]
|
|
20
|
20
|
public class CusMsgController : BaseController
|
|
|
@@ -143,7 +143,7 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Customer
|
|
143
|
143
|
{
|
|
144
|
144
|
return Error("获取失败");
|
|
145
|
145
|
}
|
|
146
|
|
- var infomodel=await _cus_vip_infoRepository.GetSingleV(x => x.F_ID == model.F_VipInfoID && x.F_State == (int)EnumDelState.Enabled);
|
|
|
146
|
+ var infomodel= await _cus_vip_infoRepository.GetSingle(x => x.F_ID == model.F_VipInfoID && x.F_State == (int)EnumDelState.Enabled);
|
|
147
|
147
|
if(infomodel==null)
|
|
148
|
148
|
return Error("相关的会员信息已不存在,请查询后处理!");
|
|
149
|
149
|
if (model.F_State==0)
|