目录结构更新,增加composer支持

This commit is contained in:
2018-01-14 09:40:04 +08:00
parent 3818619504
commit ae46a73172
945 changed files with 421 additions and 210179 deletions

View File

@@ -1,25 +0,0 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace app\api\controller;
use app\common\controller\Api;
class Wechat extends Api {
public function config(){
$js = new \Wechat\WechatScript(config('wxapp'));
$this->data['data'] = $js->getJsSign('http://test.tensent.cn:81/home');
// dump($this->data);
// $this->data['data'] = array(
// 'appid' => 'dddd',
// 'timestamp' => time()
// );
return $this->data;
}
}