-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
authored and
root
committed
Jul 29, 2016
1 parent
728563e
commit 673e5f6
Showing
83 changed files
with
551 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
return [ | ||
'fecadmin' => [ | ||
'class' => '\fecadmin\Module', | ||
//'controllerMap' => [ | ||
// 'login' => [ | ||
// 'class' => 'appadmin\local\fecadmin\controllers\LoginController', | ||
// ], | ||
// | ||
//], | ||
|
||
], | ||
'fecadmin' => [ | ||
'class' => '\fecadmin\Module', | ||
//'controllerMap' => [ | ||
// 'login' => [ | ||
// 'class' => 'appadmin\local\fecadmin\controllers\LoginController', | ||
// ], | ||
//], | ||
], | ||
]; |
12 changes: 11 additions & 1 deletion
12
app/appadmin/interfaces/base/AppadminbaseBlockEditInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\interfaces\base; | ||
|
||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
interface AppadminbaseBlockEditInterface{ | ||
|
||
/** | ||
|
11 changes: 11 additions & 0 deletions
11
app/appadmin/interfaces/base/AppadminbaseBlockInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\interfaces\base; | ||
# use fecshop\app\appadmin\interfaces\base\AppadminbaseBlockInterface; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
interface AppadminbaseBlockInterface{ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules; | ||
use fec\helpers\CRequest; | ||
use fec\helpers\CUrl; | ||
use yii\base\Object; | ||
use fecshop\app\appadmin\interfaces\base\AppadminbaseBlockInterface; | ||
# use fecshop\app\appadmin\modules\AppadminbaseBlock; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class AppadminbaseBlock extends Object{ | ||
/** | ||
* parameter storage front passed. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules; | ||
use Yii; | ||
use fec\helpers\CRequest; | ||
use fec\helpers\CUrl; | ||
use fec\helpers\CConfig; | ||
use yii\base\Object; | ||
|
||
use fecshop\app\appadmin\interfaces\base\AppadminbaseBlockEditInterface; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class AppadminbaseBlockEdit extends Object{ | ||
|
||
public $_param; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules\Catalog; | ||
|
||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
use Yii; | ||
use yii\helpers\Url; | ||
use fecadmin\FecadminbaseController; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules\Catalog; | ||
use Yii; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class Module extends \fec\AdminModule | ||
{ | ||
public function init() | ||
{ | ||
|
||
# 以下代码必须指定 | ||
# 以下代码必须指定 | ||
$this->controllerNamespace = __NAMESPACE__ . '\\controllers'; | ||
$this->_currentDir = __DIR__ ; | ||
$this->_currentNameSpace = __NAMESPACE__; | ||
|
||
# 指定默认的man文件 | ||
# 指定默认的man文件 | ||
$this->layout = "/main_ajax.php"; | ||
parent::init(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
use fec\helpers\CUrl; | ||
use fecshop\app\appadmin\interfaces\base\AppadminbaseBlockInterface; | ||
/** | ||
* block cms\article | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
|
10 changes: 9 additions & 1 deletion
10
app/appadmin/modules/Catalog/controllers/UrlrewriteController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules\Catalog\controllers; | ||
use Yii; | ||
use yii\helpers\Url; | ||
use fecshop\app\appadmin\modules\Catalog\CatalogController; | ||
/** | ||
* Site controller | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class UrlrewriteController extends CatalogController | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
*/ | ||
use fec\helpers\CRequest; | ||
/** | ||
* Breadcrumbs services | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules\Cms; | ||
|
||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
use Yii; | ||
use yii\helpers\Url; | ||
use fecadmin\FecadminbaseController; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules\Cms; | ||
use Yii; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class Module extends \fec\AdminModule | ||
{ | ||
public function init() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appadmin\modules\Cms\controllers; | ||
use Yii; | ||
use yii\helpers\Url; | ||
use fecshop\app\appadmin\modules\Cms\CmsController; | ||
/** | ||
* Site controller | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class ArticleController extends CmsController | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,7 @@ | |
* @license http://www.fecshop.com/license/ | ||
*/ | ||
use fec\helpers\CRequest; | ||
/** | ||
* Breadcrumbs services | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
use yii\helpers\Html; | ||
use fec\helpers\CRequest; | ||
use fecadmin\models\AdminRole; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
?> | ||
<style> | ||
.checker{float:left;} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appapi\modules; | ||
use Yii; | ||
use fec\helpers\CConfig; | ||
use yii\rest\ActiveController; | ||
use yii\base\InvalidValueException; | ||
# use fecshop\app\appfront\modules\AppfrontController; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class AppapiController extends ActiveController | ||
{ | ||
public $blockNamespace; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appapi\modules; | ||
use Yii; | ||
/** | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class AppapiModule extends \yii\base\Module | ||
{ | ||
|
||
|
Oops, something went wrong.