Browse Source

若收款码或音响码已是绑定状态,返回对应提示

DuGuYang 1 year ago
parent
commit
9ebbbac842
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Areas/Api/Controllers/Main/MerchantQrCodeController.cs

+ 2 - 2
Areas/Api/Controllers/Main/MerchantQrCodeController.cs

@@ -118,11 +118,11 @@ namespace MySystem.Areas.Api.Controllers.v1
             MerchantInfo merchant = MerchantInfoService.Query(MerchantId);
             if (pos.BindingState == 1)
             {
-                return new AppResultJson() { Status = "-1", Info = "绑定失败,该二维码已绑定" };
+                return new AppResultJson() { Status = "-1", Info = "此码已被绑定" };
             }
             if (machines.BindingState == 1)
             {
-                return new AppResultJson() { Status = "-1", Info = "绑定失败,该二维码已绑定" };
+                return new AppResultJson() { Status = "-1", Info = "此码已被绑定" };
             }
             int PosId = 0;
             if (SnNo == MachineNo || string.IsNullOrEmpty(MachineNo))