Jelajahi Sumber

合成提示

afa 7 bulan lalu
induk
melakukan
7c23b41ee7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 {