|
@@ -3,6 +3,7 @@
|
|
|
namespace app\weixin\model;
|
|
namespace app\weixin\model;
|
|
|
|
|
|
|
|
use cmf\phpqrcode\QRcode;
|
|
use cmf\phpqrcode\QRcode;
|
|
|
|
|
+use think\Db;
|
|
|
use think\Model;
|
|
use think\Model;
|
|
|
|
|
|
|
|
class Devices extends Model
|
|
class Devices extends Model
|
|
@@ -53,7 +54,9 @@ class Devices extends Model
|
|
|
return $item;
|
|
return $item;
|
|
|
})
|
|
})
|
|
|
->toArray();
|
|
->toArray();
|
|
|
- saveLogCache('map_sql', Devices::getLastSql());
|
|
|
|
|
|
|
+
|
|
|
|
|
+ //echo Db::name('devices')->getLastSql().'++';
|
|
|
|
|
+
|
|
|
// echo Devices::getLastSql();
|
|
// echo Devices::getLastSql();
|
|
|
return $dataList;
|
|
return $dataList;
|
|
|
}
|
|
}
|