Browse Source

合成提示

afa 7 months ago
parent
commit
7c23b41ee7
1 changed files with 1 additions and 1 deletions
  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();
         $time = time();
         if ($synthesis->start_time > $time || $synthesis->end_time < $time)$this->error(__("合成活动已结束"));
         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();
         Db::startTrans();
         try {
         try {