Commit 57350a97a531b5467ce3943c428992dc8c96c9ad

Authored by zhang
1 parent b31669aa

初始化,留言板模块

trunk/Common/Common/Conf/config.php
... ... @@ -27,12 +27,12 @@ return array(
27 27 // 默认语言切换变量
28 28 'VAR_LANGUAGE' => 'lang',
29 29 // 数据库设置
30   - //'DB_TYPE' => 'mysql',
31   - //'DB_HOST' => '127.0.0.1',
32   - //'DB_NAME' => 'vchangyi_oa',
33   - //'DB_USER' => 'root',
34   - //'DB_PWD' => 'password',
35   - //'DB_PORT' => '3306',
  30 + 'DB_TYPE' => 'mysql',
  31 + 'DB_HOST' => '127.0.0.1',
  32 + 'DB_NAME' => 'vchangyi_oa2',
  33 + 'DB_USER' => 'root',
  34 + 'DB_PWD' => '',
  35 + 'DB_PORT' => '3306',
36 36  
37 37 // 数据库表前缀
38 38 'DB_PREFIX' => 'oa_',
... ...
trunk/Common/Runtime/Temp/3/0/E92B06237F00000150F5A2266E14186D/E92B06237F00000150F5A2266E14186D_Common.EnterpriseConfig.php
1 1 <?php
2   -//000000007200a:19:{s:10:"timeformat";s:0:"";s:10:"dateformat";s:0:"";s:8:"sitename";s:18:"畅移成都内部";s:7:"wxMchid";s:0:"";s:8:"wxMchkey";s:0:"";s:10:"wxqyPkcs12";s:0:"";s:9:"wxmpToken";s:0:"";s:18:"wxmpEncodingAeskey";s:0:"";s:9:"wxmpAppid";s:0:"";s:13:"wxmpAppsecret";s:0:"";s:10:"wxmpQrcode";s:0:"";s:18:"wxqyEncodingAeskey";s:43:"kFBsTL20hDeTERscU8D1bXRBUQen2nW14jzXtk2akCI";s:10:"wxqyCorpid";s:18:"wx0a2381771ffbfbe9";s:14:"wxqyCorpsecret";s:0:"";s:10:"wxqyQrcode";s:82:"http://shp.qpic.cn/bizmp/ulSnRrJCzVE2P7ZwJ12f9uiajfY2DQW6pfSo3OIOLduLgLiarTyy7dfg/";s:9:"wxqyToken";s:21:"fMw9LpKqiDYQeXWT9tgXb";s:17:"contactIdentifier";s:21:"shelloemsalescontacts";s:21:"studycenterIdentifier";N;s:15:"resourcesDomain";s:26:"https://t-rep.vchangyi.com";}
  2 +//000000007200a:20:{s:10:"timeformat";s:0:"";s:10:"dateformat";s:0:"";s:8:"sitename";s:18:"畅移成都内部";s:7:"wxMchid";s:0:"";s:8:"wxMchkey";s:0:"";s:10:"wxqyPkcs12";s:0:"";s:9:"wxmpToken";s:0:"";s:18:"wxmpEncodingAeskey";s:0:"";s:9:"wxmpAppid";s:0:"";s:13:"wxmpAppsecret";s:0:"";s:10:"wxmpQrcode";s:0:"";s:18:"wxqyEncodingAeskey";s:43:"kFBsTL20hDeTERscU8D1bXRBUQen2nW14jzXtk2akCI";s:10:"wxqyCorpid";s:18:"wx0a2381771ffbfbe9";s:14:"wxqyCorpsecret";s:43:"s5cRCvPlVW7BmOnWJ2FTcTLjlBQ8LCe15tRRWQndQuw";s:10:"wxqyQrcode";s:82:"http://shp.qpic.cn/bizmp/ulSnRrJCzVE2P7ZwJ12f9uiajfY2DQW6pfSo3OIOLduLgLiarTyy7dfg/";s:9:"wxqyToken";s:21:"fMw9LpKqiDYQeXWT9tgXb";s:17:"contactIdentifier";s:21:"shelloemsalescontacts";s:21:"studycenterIdentifier";N;s:15:"resourcesDomain";s:26:"https://t-rep.vchangyi.com";s:16:"wxExternalSecret";N;}
3 3 ?>
4 4 \ No newline at end of file
... ...
trunk/Message/Api/Controller/AbstractController.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * Created by PhpStorm.
  4 + * User: zhuxun37
  5 + * Date: 16/11/01
  6 + * Time: 下午14:10
  7 + */
  8 +namespace Api\Controller;
  9 +
  10 +use \Common\Controller\Api\AbstractController as BaseAbstractController;
  11 +
  12 +abstract class AbstractController extends BaseAbstractController
  13 +{
  14 +
  15 +}
0 16 \ No newline at end of file
... ...
trunk/Message/Api/Controller/Message/MsgController.class.php 0 → 100644
  1 +<?php
  2 +
  3 +namespace Api\Controller\Message;
  4 +
  5 +use Api\Controller\AbstractController;
  6 +
  7 +class MsgController extends AbstractController
  8 +{
  9 +
  10 + public function Index_get()
  11 + {
  12 +
  13 + $this->_result = array(
  14 + 'total' => 0,
  15 + 'list' => ['test' => 'Message/success'],
  16 + 'title' => L('DEFAULT_TITLE')
  17 + );
  18 +
  19 + return true;
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
trunk/Message/Common/Conf.bak/Import.xls 0 → 100644
No preview for this file type
trunk/Message/Common/Conf.bak/config.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * config.php
  4 + * 公共配置
  5 + * $Author$
  6 + */
  7 +
  8 +return array(
  9 +
  10 + // '配置项'=>'配置值'
  11 +
  12 + // 默认模块
  13 + 'DEFAULT_MODULE' => 'Home',
  14 + // 默认控制器
  15 + 'DEFAULT_CONTROLLER' => 'Frontend/Index',
  16 + // 附件服务器
  17 + 'FILE_SERVER_URL' => 'http://file/',
  18 + // 头像服务器
  19 + 'FACE_SERVER_URL' => 'http://face/',
  20 + // 开启多语言
  21 + 'LANG_SWITCH_ON' => true,
  22 + // 自动侦测语言 开启多语言功能后有效
  23 + 'LANG_AUTO_DETECT' => true,
  24 + // 允许切换的语言列表 用逗号分隔
  25 + 'LANG_LIST' => 'zh-cn',
  26 + // 默认语言切换变量
  27 + 'VAR_LANGUAGE' => 'lang',
  28 +
  29 + // 数据库表前缀
  30 + 'DB_PREFIX' => 'oa_exam_',
  31 + // 数据库连接参数
  32 + 'DB_PARAMS' => [],
  33 + // 数据库调试模式 开启后可以记录SQL日志
  34 + 'DB_DEBUG' => true,
  35 + // 启用字段缓存
  36 + 'DB_FIELDS_CACHE' => true,
  37 + // 数据库编码默认采用utf8
  38 + 'DB_CHARSET' => 'utf8mb4',
  39 + // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
  40 + 'DB_DEPLOY_TYPE' => 0,
  41 + // 数据库读写是否分离 主从式有效
  42 + 'DB_RW_SEPARATE' => false,
  43 + // 读写分离后 主服务器数量
  44 + 'DB_MASTER_NUM' => 1,
  45 + // 指定从服务器序号
  46 + 'DB_SLAVE_NO' => '',
  47 + // 前端路径
  48 + 'FRONTEND_PATH' => 'h5',
  49 + // 获取菜单配置
  50 + 'LOAD_EXT_CONFIG' => 'menu',
  51 + // SDK 配置 第三方标识
  52 + 'SDK_THIRD_IDENTIFIER' => 'qy',
  53 + // 应用名称
  54 + 'APPLICATION_NAME' => '考试',
  55 +);
... ...
trunk/Message/Common/Conf.bak/debug.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * debug.php
  4 + * DEBUG 配置
  5 + * $Author$
  6 + */
  7 +return array(
  8 + // 是否允许自动创建应用文件和目录(开发)
  9 + 'CREATE_MODEL_ON' => false
  10 +);
... ...
trunk/Message/Common/Conf.bak/tags.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * tags 配置
  4 + */
  5 +return array(
  6 + // 在应用执行前检查语言文件(注意键值的大小写)
  7 + 'app_begin' => array(
  8 + 'Behavior\CheckLangBehavior'
  9 + )
  10 +);
... ...
trunk/Message/Common/Model/AbstractModel.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * AbstractModel.class.php
  4 + * Model 层基类
  5 + * @author: zhuxun37
  6 + * @version: $Id$
  7 + * @copyright: vchangyi.com
  8 + */
  9 +
  10 +namespace Common\Model;
  11 +
  12 +abstract class AbstractModel extends \Com\Model
  13 +{
  14 + // 构造方法
  15 + public function __construct()
  16 + {
  17 + parent::__construct();
  18 +
  19 + }
  20 +}
... ...
trunk/Message/Common/Model/SettingModel.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * DailyreportSettingModel.class.php
  4 + * $author$
  5 + */
  6 +
  7 +namespace Common\Model;
  8 +
  9 +class SettingModel extends AbstractModel
  10 +{
  11 + /**
  12 + * 构造方法
  13 + */
  14 + public function __construct()
  15 + {
  16 + parent::__construct();
  17 + }
  18 +}
... ...
trunk/Message/Common/Model/SyscacheModel.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * Created by IntelliJ IDEA.
  4 + * User: zhoutao
  5 + * Date: 16/9/6
  6 + * Time: 下午8:08
  7 + */
  8 +
  9 +namespace Common\Model;
  10 +
  11 +class SyscacheModel extends AbstractModel
  12 +{
  13 +
  14 + /**
  15 + * 构造方法
  16 + */
  17 + public function __construct()
  18 + {
  19 + parent::__construct();
  20 + }
  21 +}
... ...
trunk/Message/Common/Service/AbstractService.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * AbstractService.class.php
  4 + *
  5 + * Service 层基类
  6 + * @author: daijun
  7 + */
  8 +
  9 +namespace Common\Service;
  10 +
  11 +
  12 +abstract class AbstractService extends \Com\Service
  13 +{
  14 +
  15 + // 构造方法
  16 + public function __construct()
  17 + {
  18 + parent::__construct();
  19 + }
  20 +
  21 +}
  22 +
... ...
trunk/Message/Common/Service/SettingService.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * SettingService.class.php
  4 + * 问卷调查设置表
  5 + * @author: dj
  6 + * @copyright: vchangyi.com
  7 + */
  8 +
  9 +namespace Common\Service;
  10 +
  11 +use Common\Model\SettingModel;
  12 +
  13 +class SettingService extends AbstractService
  14 +{
  15 +
  16 + // 构造方法
  17 + public function __construct()
  18 + {
  19 + $this->_d = new SettingModel();
  20 +
  21 + parent::__construct();
  22 + }
  23 +}
... ...
trunk/Message/Common/Service/SyscacheService.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * SyscacheService.class.php
  4 + * 问卷调查缓存表
  5 + * @author: dj
  6 + * @copyright: vchangyi.com
  7 + */
  8 +
  9 +namespace Common\Service;
  10 +
  11 +use Common\Model\SyscacheModel;
  12 +
  13 +class SyscacheService extends AbstractService
  14 +{
  15 +
  16 + // 构造方法
  17 + public function __construct()
  18 + {
  19 + $this->_d = new SyscacheModel();
  20 +
  21 + parent::__construct();
  22 + }
  23 +}
... ...
trunk/Message/app.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * app.php
  4 + * 定义当前应用的信息文件
  5 + * Create By Deepseath
  6 + * $Author$
  7 + * $Id$
  8 + */
  9 +
  10 +return array(
  11 + // 当前应用唯一标识符,默认为应用所在目录名称,标准产品改为项目如果需要的话可以自行定义
  12 + 'identifier' => strtolower(basename(__DIR__))
  13 +);
... ...