swoole-framwork/test/MyDB.php

17 lines
226 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?php
namespace baihand\test;
class MyDB
{
private $db;
public function __construct($connInfo = '')
{
}
public function queryForRows($sql)
{
return ['user_id'=>1,'user_name'=>'ttt'];
}
}