Authored by whb

配置

... ... @@ -14,7 +14,7 @@ class Config
/**
* DB前缀
*/
const DB_PREFIX = 'qin_';
const DB_PREFIX = 'yh_';
/**
* 模块名称
... ...
... ... @@ -21,7 +21,7 @@ class Dao
private $dbName = '';
public function __construct($dbName = 'sns')
public function __construct($dbName = 'buysns')
{
$this->key = $this->dbName = Config::DB_PREFIX . $dbName;
}
... ...
<?php
namespace QSns\Post;
class Client {
public function self()
{
return new self();
}
public function Dao()
{
return new Dao();
}
}
\ No newline at end of file
... ...
<?php
namespace QSns\Post;
use QSns\Dao as rootDao;
class Dao extends rootDao {
}
\ No newline at end of file
... ...
<?php
namespace QSns\Post;
class SqlMap {
}
\ No newline at end of file
... ...
<?php
namespace QSnsApi\Api;
class Common {
}
\ No newline at end of file
... ...
<?php
namespace QSnsApi\Api\V1;
use QSnsApi\Api\Common as Common;
class Base extends Common {
}
\ No newline at end of file
... ...