23 lines
386 B
PHP
23 lines
386 B
PHP
|
|
<?
|
||
|
|
|
||
|
|
namespace controller\common\template\email;
|
||
|
|
|
||
|
|
use common\template\email\History;
|
||
|
|
use ms\ms\structure\msControllerTable;
|
||
|
|
|
||
|
|
class Api extends msControllerTable {
|
||
|
|
|
||
|
|
static $class = 'common\template\Email';
|
||
|
|
|
||
|
|
static function view(){
|
||
|
|
if(IF_AUTH){
|
||
|
|
if($C = History::isMy($_GET['id'])){
|
||
|
|
echo $C[History::$CONTENT];
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|