afa hace 7 meses
padre
commit
7c23b41ee7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/api/controller/Synthesis.php

+ 1 - 1
application/api/controller/Synthesis.php

@@ -79,7 +79,7 @@ class Synthesis extends Api
    
         $time = time();
         if ($synthesis->start_time > $time || $synthesis->end_time < $time)$this->error(__("合成活动已结束"));
-        if ($synthesis->num + $num > $synthesis->stock)$this->error(__("材料不足"));
+        if ($synthesis->num + $num > $synthesis->stock)$this->error(__("示库存不足"));
 
         Db::startTrans();
         try {