|
@@ -111,10 +111,10 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
{
|
|
|
return new AppResultJson() { Status = "-1", Info = "绑定失败" };
|
|
|
}
|
|
|
- if (pos.BuyUserId == 0)
|
|
|
- {
|
|
|
- return new AppResultJson() { Status = "-1", Info = "码牌未授权" };
|
|
|
- }
|
|
|
+ // if (pos.BuyUserId == 0)
|
|
|
+ // {
|
|
|
+ // return new AppResultJson() { Status = "-1", Info = "码牌未授权" };
|
|
|
+ // }
|
|
|
PosId = pos.Id;
|
|
|
Kind = 1;
|
|
|
}
|
|
@@ -124,10 +124,10 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
{
|
|
|
return new AppResultJson() { Status = "-1", Info = "绑定失败" };
|
|
|
}
|
|
|
- if (machines.BuyUserId == 0)
|
|
|
- {
|
|
|
- return new AppResultJson() { Status = "-1", Info = "音响未授权" };
|
|
|
- }
|
|
|
+ // if (machines.BuyUserId == 0)
|
|
|
+ // {
|
|
|
+ // return new AppResultJson() { Status = "-1", Info = "音响未授权" };
|
|
|
+ // }
|
|
|
PosId = machines.Id;
|
|
|
Kind = 2;
|
|
|
}
|