Authored by whb

Merge branch 'develop'

@@ -14,7 +14,7 @@ class Config @@ -14,7 +14,7 @@ class Config
14 /** 14 /**
15 * DB前缀 15 * DB前缀
16 */ 16 */
17 - const DB_PREFIX = 'qin_'; 17 + const DB_PREFIX = 'yh_';
18 18
19 /** 19 /**
20 * 模块名称 20 * 模块名称
@@ -21,7 +21,7 @@ class Dao @@ -21,7 +21,7 @@ class Dao
21 21
22 private $dbName = ''; 22 private $dbName = '';
23 23
24 - public function __construct($dbName = 'sns') 24 + public function __construct($dbName = 'buysns')
25 { 25 {
26 $this->key = $this->dbName = Config::DB_PREFIX . $dbName; 26 $this->key = $this->dbName = Config::DB_PREFIX . $dbName;
27 } 27 }
  1 +<?php
  2 +namespace QSns\Post;
  3 +
  4 +class Client {
  5 +
  6 + public function self()
  7 + {
  8 + return new self();
  9 + }
  10 +
  11 + public function Dao()
  12 + {
  13 + return new Dao();
  14 + }
  15 +}
  1 +<?php
  2 +namespace QSns\Post;
  3 +
  4 +use QSns\Dao as rootDao;
  5 +class Dao extends rootDao {
  6 +
  7 +}
  1 +<?php
  2 +namespace QSns\Post;
  3 +class SqlMap {
  4 +
  5 +}
  1 +<?php
  2 +namespace QSnsApi\Api;
  3 +class Common {
  4 +
  5 +}
  1 +<?php
  2 +namespace QSnsApi\Api\V1;
  3 +use QSnsApi\Api\Common as Common;
  4 +class Base extends Common {
  5 +
  6 +}