柳建 9 сар өмнө
parent
commit
a212d455db

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

@@ -81,7 +81,7 @@ class Index extends Api
         if (!$userdata) {
         $returndata= 'no data';
         } else {
-           // Db::startTrans();
+            Db::startTrans();
             $userids = array_column($userdata, 'id');
             $userlink = db('userlink')
                 ->join(['fa_link'], 'fa_userlink.link_id = fa_link.id')