shish 5 лет назад
Родитель
Сommit
086e045e9b
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app-ghs/controllers/ProductController.php

+ 2 - 1
app-ghs/controllers/ProductController.php

@@ -3,6 +3,7 @@
  * User: admin
  * Date Time: 2021/1/15 20:36
  */
+
 namespace ghs\controllers;
 
 use biz\admin\classes\AdminRoleClass;
@@ -213,7 +214,7 @@ class ProductController extends BaseController
                 }
             }
             $transaction->commit();
-            util::complete();
+            util::complete('修改成功');
 
         } catch (\Exception $e) {
             $transaction->rollBack();