Explorar o código

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

DuGuYang hai 1 ano
pai
achega
9ebbbac842
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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))