|
@@ -169,6 +169,12 @@ class MainController extends DooController {
|
|
|
|
|
|
return "/";
|
|
|
}
|
|
|
+
|
|
|
+ function test(){
|
|
|
+ //实例化redis
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
function index2() {
|
|
|
// include Doo::conf()->BASE_PATH.'diagnostic/debug.php';
|
|
|
$cid = $this->get_args ( 'cid' ) ? $this->get_args ( 'cid' ) : 0;
|
|
@@ -218,9 +224,6 @@ class MainController extends DooController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
//有待优化
|
|
|
Doo::loadModel ( 'department' );
|
|
|
$department = new department ();
|
|
@@ -478,6 +481,8 @@ class MainController extends DooController {
|
|
|
Doo::loadModel ( 'department' );
|
|
|
$department = new department ();
|
|
|
|
|
|
+ $redis = new Redis();
|
|
|
+ $redis->connect('127.0.0.1', '6379');//120.27.200.79
|
|
|
|
|
|
$staffCondition = "";
|
|
|
$categorylist2 = array ();
|
|
@@ -559,25 +564,37 @@ class MainController extends DooController {
|
|
|
) );
|
|
|
|
|
|
$max = array ();
|
|
|
- $kkk = array ();
|
|
|
-
|
|
|
- foreach ( $staffList as $key => $value ) {
|
|
|
- $staffList [$key] ['count'] = $client_staff->count ( array (
|
|
|
- 'where' => 'sid=' . $value ['sid'],
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
-
|
|
|
- array_push ( $max, $staffList [$key] ['count'] . ':' . $value ['username'] );
|
|
|
- if ($this->staff [0] ['cid'] == 12)
|
|
|
- array_push ( $kkk, $staffList [$key] ['count'] );
|
|
|
- if ($this->staff [0] ['cid'] == $value ['cid'] && $this->staff [0] ['cid'] != 12) {
|
|
|
- array_push ( $kkk, $staffList [$key] ['count'] );
|
|
|
+ $sum=0;
|
|
|
+ //客户总数
|
|
|
+ $redisKey=date('Y-m-d').'_logStatisticsCSum';
|
|
|
+ $redisValue = $redis->lrange($redisKey, 0, -1);
|
|
|
+ if (empty($redisValue)){
|
|
|
+ $kkk = array ();
|
|
|
+ foreach ( $staffList as $key => $value ) {
|
|
|
+ $staffList [$key] ['count'] = $client_staff->count ( array (
|
|
|
+ 'where' => 'sid=' . $value ['sid'],
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
+
|
|
|
+ array_push ( $max, $staffList [$key] ['count'] . ':' . $value ['username'] );
|
|
|
+ if ($this->staff [0] ['cid'] == 12)
|
|
|
+ array_push ( $kkk, $staffList [$key] ['count'] );
|
|
|
+ if ($this->staff [0] ['cid'] == $value ['cid'] && $this->staff [0] ['cid'] != 12) {
|
|
|
+ array_push ( $kkk, $staffList [$key] ['count'] );
|
|
|
+ }
|
|
|
}
|
|
|
+ foreach ( $kkk as $key => $value ) {
|
|
|
+ $sum += $value;
|
|
|
+ }
|
|
|
+
|
|
|
+ $sortMaxStr=json_encode ( $max );
|
|
|
+ $redis->lpush($redisKey, $sum);
|
|
|
+ $redis->lpush($redisKey, $sortMaxStr);
|
|
|
+ }else{
|
|
|
+ $sum=$redisValue[1];
|
|
|
+ $max=json_decode($redisValue[0],true);
|
|
|
}
|
|
|
- $sum = 0;
|
|
|
- foreach ( $kkk as $key => $value ) {
|
|
|
- $sum += $value;
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
rsort ( $max, SORT_NUMERIC );
|
|
|
foreach ( $max as $key => $value ) {
|
|
@@ -592,30 +609,43 @@ class MainController extends DooController {
|
|
|
$lcategoryList = $lcategory->find ( array (
|
|
|
'asArray' => true
|
|
|
) );
|
|
|
+
|
|
|
+
|
|
|
$useL = array ();
|
|
|
$Rsum = $Ssum = 0;
|
|
|
- foreach ( $lcategoryList as $key => $value ) {
|
|
|
- $longleR = $longle->count ( array (
|
|
|
- 'where' => 'cid=' . $value ['cid'],
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
- $longleS = $longle->count ( array (
|
|
|
- 'where' => 'cid=' . $value ['cid'] . ' and status!=1 and status!=2',
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
- $Rsum += $longleR;
|
|
|
- $Ssum += $longleS;
|
|
|
- if (! empty ( $longleS ))
|
|
|
- array_push ( $useL, round ( ($longleS / $longleR) * 100 ) . '% :' . $value ['title'] );
|
|
|
- else
|
|
|
- array_push ( $useL, '0% :' . $value ['title'] );
|
|
|
- }
|
|
|
-
|
|
|
- // Doo::db()->commit();
|
|
|
- rsort ( $useL, SORT_NUMERIC ); // $sum=0;
|
|
|
+ $redisKey=date('Y-m-d').'_logStatisticsLongle';
|
|
|
+ $redisValue = $redis->lrange($redisKey, 0, -1);
|
|
|
+ if (empty($redisValue)){
|
|
|
+ foreach ( $lcategoryList as $key => $value ) {
|
|
|
+ $longleR = $longle->count ( array (
|
|
|
+ 'where' => 'cid=' . $value ['cid'],
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
+ $longleS = $longle->count ( array (
|
|
|
+ 'where' => 'cid=' . $value ['cid'] . ' and status!=1 and status!=2',
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
+ $Rsum += $longleR;
|
|
|
+ $Ssum += $longleS;
|
|
|
+ if (! empty ( $longleS ))
|
|
|
+ array_push ( $useL, round ( ($longleS / $longleR) * 100 ) . '% :' . $value ['title'] );
|
|
|
+ else
|
|
|
+ array_push ( $useL, '0% :' . $value ['title'] );
|
|
|
+ }
|
|
|
+ $useLStr=json_encode ( $useL );
|
|
|
+ $redis->lpush($redisKey, $Rsum);
|
|
|
+ $redis->lpush($redisKey, $Ssum);
|
|
|
+ $redis->lpush($redisKey, $useLStr);
|
|
|
+ }else{
|
|
|
+ $useL=$redisValue[0];
|
|
|
+ $useL=json_decode($useL,true);
|
|
|
+ $Ssum=$redisValue[1];
|
|
|
+ $Rsum=$redisValue[2];
|
|
|
+ }
|
|
|
+
|
|
|
+ rsort ( $useL, SORT_NUMERIC );
|
|
|
foreach ( $useL as $key => $value ) {
|
|
|
$useL [$key] = explode ( ":", $value );
|
|
|
- // $sum+=$max[$key][0];
|
|
|
}
|
|
|
|
|
|
$useL2 = $useL;
|
|
@@ -625,161 +655,213 @@ class MainController extends DooController {
|
|
|
|
|
|
// statistics
|
|
|
|
|
|
+ //30天操作日志数
|
|
|
$categoryCondition = " and cid=" . $this->staff [0] ['cid'];
|
|
|
- $sidCondition = "";
|
|
|
+ $redisCid=$this->staff [0] ['cid'];
|
|
|
+ $sidCondition=$redisSid = "";
|
|
|
if (! empty ( $cid )){
|
|
|
$categoryCondition = " and cid=" . $cid;
|
|
|
-// if (!empty($did))
|
|
|
-// $categoryCondition .= " and departmentID=" . $did;
|
|
|
+ $redisCid=$cid;
|
|
|
}
|
|
|
- if (! empty ( $sid ))
|
|
|
+ if (! empty ( $sid )){
|
|
|
+ $redisSid=$sid;
|
|
|
$sidCondition = " and sid=" . $sid;
|
|
|
+ }
|
|
|
if ($this->staff [0] ['cid'] == 12 && empty ( $cid )) {
|
|
|
$categoryCondition = "";
|
|
|
+ $redisCid='';
|
|
|
}
|
|
|
- //echo $categoryCondition;
|
|
|
- // Year(updatetime)=".date('Y')." and Month(updatetime)=".date('m')." date_format(updatetime,"%m-%d")
|
|
|
|
|
|
- $actionLogClient = $action_log->find ( array (
|
|
|
- 'select' => 'date_format(updatetime,"%m-%d") as updatetime,COUNT(*) as count',
|
|
|
- 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=1" . $categoryCondition . $sidCondition,
|
|
|
- 'groupby' => 'date_format(updatetime,"%m-%d")',
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
+ $redisKey=date('Y-m-d').'SL_'.$redisCid.'_'.$redisSid;
|
|
|
+ $redisValue=$redis->get($redisKey);
|
|
|
+ if (empty($redisValue)){
|
|
|
+ $actionLogLongle = $action_log->find ( array (
|
|
|
+ 'select' => 'date_format(updatetime,"%m-%d") as updatetime,COUNT(*) as count',
|
|
|
+ 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=3" . $categoryCondition . $sidCondition,
|
|
|
+ 'groupby' => 'date_format(updatetime,"%m-%d")',
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
|
|
|
- $actionLogLongle = $action_log->find ( array (
|
|
|
- 'select' => 'date_format(updatetime,"%m-%d") as updatetime,COUNT(*) as count',
|
|
|
- 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=3" . $categoryCondition . $sidCondition,
|
|
|
- 'groupby' => 'date_format(updatetime,"%m-%d")',
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
+ $statisticsLongle = array ();
|
|
|
+ for($d = 0; $d <= 29; $d ++) {
|
|
|
+ $MD = date ( "m-d", strtotime ( "-" . $d . " day" ) );
|
|
|
+ $falgLongle = true;
|
|
|
+
|
|
|
+ foreach ( $actionLogLongle as $value ) {
|
|
|
+ if ($value ['updatetime'] == $MD) {
|
|
|
+ array_push ( $statisticsLongle, $value ['count'] );
|
|
|
+ $falgLongle = false;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if ($falgLongle)
|
|
|
+ array_push ( $statisticsLongle, 0 );
|
|
|
+ }
|
|
|
+ $statisticsLongle = array_reverse ( $statisticsLongle );
|
|
|
+ $jsl=json_encode ( $statisticsLongle );
|
|
|
+ $redis->set($redisKey,$jsl);
|
|
|
+ $data ['statisticsLongle'] = $jsl;
|
|
|
+ }else{
|
|
|
+ $data ['statisticsLongle'] = $redisValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ //添加客户 数30天
|
|
|
+ $redisKey=date('Y-m-d').'SC_'.$redisCid.'_'.$redisSid;
|
|
|
+ $redisValue=$redis->get($redisKey);
|
|
|
+ if (empty($redisValue)){
|
|
|
+ $actionLogClient = $action_log->find ( array (
|
|
|
+ 'select' => 'date_format(updatetime,"%m-%d") as updatetime,COUNT(*) as count',
|
|
|
+ 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=1" . $categoryCondition . $sidCondition,
|
|
|
+ 'groupby' => 'date_format(updatetime,"%m-%d")',
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
|
|
|
- // $actionLogClient=array();
|
|
|
- // $actionLogLongle=array();
|
|
|
+ $statisticsClient = array ();
|
|
|
+ for($d = 0; $d <= 29; $d ++) {
|
|
|
+ $MD = date ( "m-d", strtotime ( "-" . $d . " day" ) );
|
|
|
+ $falgClient = true;
|
|
|
+
|
|
|
+ foreach ( $actionLogClient as $value ) {
|
|
|
+ if ($value ['updatetime'] == $MD) {
|
|
|
+ array_push ( $statisticsClient, $value ['count'] );
|
|
|
+ $falgClient = false;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if ($falgClient)
|
|
|
+ array_push ( $statisticsClient, 0 );
|
|
|
+
|
|
|
+ }
|
|
|
+ $statisticsClient = array_reverse ( $statisticsClient );
|
|
|
+ $jsc=json_encode ( $statisticsClient );
|
|
|
+ $redis->set($redisKey,$jsc);
|
|
|
+ $data ['statisticsClient'] = $jsc;
|
|
|
+ }else{
|
|
|
+ $data ['statisticsClient'] = $redisValue;
|
|
|
+ }
|
|
|
|
|
|
$statisticsDay = array ();
|
|
|
- $statisticsClient = $statisticsLongle = array ();
|
|
|
-
|
|
|
for($d = 0; $d <= 29; $d ++) {
|
|
|
$MD = date ( "m-d", strtotime ( "-" . $d . " day" ) );
|
|
|
- $falgClient = $falgLongle = true;
|
|
|
array_push ( $statisticsDay, $MD );
|
|
|
- foreach ( $actionLogClient as $value ) {
|
|
|
- if ($value ['updatetime'] == $MD) {
|
|
|
- array_push ( $statisticsClient, $value ['count'] );
|
|
|
- $falgClient = false;
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if ($falgClient)
|
|
|
- array_push ( $statisticsClient, 0 );
|
|
|
-
|
|
|
- foreach ( $actionLogLongle as $value ) {
|
|
|
- if ($value ['updatetime'] == $MD) {
|
|
|
- array_push ( $statisticsLongle, $value ['count'] );
|
|
|
- $falgLongle = false;
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- if ($falgLongle)
|
|
|
- array_push ( $statisticsLongle, 0 );
|
|
|
}
|
|
|
- // print_r($actionLogLongle);
|
|
|
- $statisticsClient = array_reverse ( $statisticsClient );
|
|
|
- $statisticsLongle = array_reverse ( $statisticsLongle );
|
|
|
$statisticsDay = array_reverse ( $statisticsDay );
|
|
|
|
|
|
- // / Year(updatetime)=".date('Y')." and Month(updatetime)=".date('m')." and
|
|
|
- $categoryList = $lcategory->find ( array (
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
- $CategoryClient = $action_log->find ( array (
|
|
|
- 'select' => 'cid,COUNT(*) as count,city',
|
|
|
- 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=1" . $categoryCondition . $sidCondition,
|
|
|
- 'groupby' => 'cid',
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
|
|
|
- // or status=2
|
|
|
- $CategoryCompany = $action_log->find ( array (
|
|
|
- 'select' => 'cid, COUNT(*) as count,company,districtid',
|
|
|
- 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and (status=1 )" . $categoryCondition . $sidCondition,
|
|
|
- 'groupby' => 'cid,districtid,company',
|
|
|
- 'asArray' => true
|
|
|
- ) );
|
|
|
|
|
|
- $natureList = $action_log->find ( array (
|
|
|
- 'select' => 'cid, COUNT(*) as count,nature',
|
|
|
- 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=1 and nature !=''" . $categoryCondition . $sidCondition,
|
|
|
- 'groupby' => 'nature',
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ // / Year(updatetime)=".date('Y')." and Month(updatetime)=".date('m')." and
|
|
|
+ $categoryList = $lcategory->find ( array (
|
|
|
'asArray' => true
|
|
|
) );
|
|
|
|
|
|
- $statisticsCategory = array ();
|
|
|
- $statisticsCompany = array ();
|
|
|
- foreach ( $categoryList as $value ) {
|
|
|
- $falgClient = $falgLongle = true;
|
|
|
- foreach ( $CategoryClient as $v ) {
|
|
|
- if ($value ['cid'] == $v ['cid'] && $v ['cid'] != 12) {
|
|
|
+ //最近30天区域分布图
|
|
|
+ $redisKey=date('Y-m-d').'SCCT_'.$redisCid.'_'.$redisSid;
|
|
|
+ $redisValue=$redis->lrange($redisKey, 0, -1);
|
|
|
+ if (empty($redisValue)){
|
|
|
+ $CategoryClient = $action_log->find ( array (
|
|
|
+ 'select' => 'cid,COUNT(*) as count,city',
|
|
|
+ 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=1" . $categoryCondition . $sidCondition,
|
|
|
+ 'groupby' => 'cid',
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
+ $CategoryCompany = $action_log->find ( array (
|
|
|
+ 'select' => 'cid, COUNT(*) as count,company,districtid',
|
|
|
+ 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and (status=1 )" . $categoryCondition . $sidCondition,
|
|
|
+ 'groupby' => 'cid,districtid,company',
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
+ $statisticsCategory = array ();
|
|
|
+ $statisticsCompany = array ();
|
|
|
+ foreach ( $categoryList as $value ) {
|
|
|
+ $falgClient = $falgLongle = true;
|
|
|
+ foreach ( $CategoryClient as $v ) {
|
|
|
+ if ($value ['cid'] == $v ['cid'] && $v ['cid'] != 12) {
|
|
|
+ array_push ( $statisticsCategory, array (
|
|
|
+ 'value' => $v ['count'],
|
|
|
+ 'name' => str_replace ( "办", "省", $value ['title'] )
|
|
|
+ ) );
|
|
|
+ $falgClient = false;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if ($falgClient) {
|
|
|
+
|
|
|
array_push ( $statisticsCategory, array (
|
|
|
- 'value' => $v ['count'],
|
|
|
+ 'value' => 0,
|
|
|
'name' => str_replace ( "办", "省", $value ['title'] )
|
|
|
) );
|
|
|
- $falgClient = false;
|
|
|
- break;
|
|
|
}
|
|
|
- }
|
|
|
- if ($falgClient) {
|
|
|
|
|
|
- array_push ( $statisticsCategory, array (
|
|
|
- 'value' => 0,
|
|
|
+ // company statistics
|
|
|
+ $i = 0;
|
|
|
+ foreach ( $CategoryCompany as $v ) {
|
|
|
+ if ($value ['cid'] == $v ['cid'] && $v ['cid'] != 12) {
|
|
|
+ $i ++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ array_push ( $statisticsCompany, array (
|
|
|
+ 'value' => $i,
|
|
|
'name' => str_replace ( "办", "省", $value ['title'] )
|
|
|
) );
|
|
|
}
|
|
|
|
|
|
- // company statistics
|
|
|
- $i = 0;
|
|
|
- foreach ( $CategoryCompany as $v ) {
|
|
|
- if ($value ['cid'] == $v ['cid'] && $v ['cid'] != 12) {
|
|
|
- $i ++;
|
|
|
- }
|
|
|
- }
|
|
|
- array_push ( $statisticsCompany, array (
|
|
|
- 'value' => $i,
|
|
|
- 'name' => str_replace ( "办", "省", $value ['title'] )
|
|
|
- ) );
|
|
|
+ $scctA=json_encode ( $statisticsCompany );
|
|
|
+ $scctB=json_encode ( $statisticsCategory );
|
|
|
+ $redis->lpush($redisKey, $scctA);
|
|
|
+ $redis->lpush($redisKey, $scctB);
|
|
|
+ $data ['statisticsCompany'] = $scctA;
|
|
|
+ $data ['statisticsCategory'] = $scctB;
|
|
|
+ }else{
|
|
|
+ $data ['statisticsCompany'] = $redisValue[1];
|
|
|
+ $data ['statisticsCategory'] = $redisValue[0];
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// print_r($CategoryClient);
|
|
|
- $statisticsNature = array ();
|
|
|
- foreach ( $this->nature as $value ) {
|
|
|
- $flagNature = true;
|
|
|
- foreach ( $natureList as $v ) {
|
|
|
- if ($value == $v ['nature']) {
|
|
|
+
|
|
|
+ $redisKey=date('Y-m-d').'SN_'.$redisCid.'_'.$redisSid;
|
|
|
+ $redisValue=$redis->get($redisKey);
|
|
|
+ if (empty($redisValue)){
|
|
|
+ $natureList = $action_log->find ( array (
|
|
|
+ 'select' => 'cid, COUNT(*) as count,nature',
|
|
|
+ 'where' => " date_sub(curdate(), INTERVAL 30 DAY) <= date(updatetime) and status=1 and nature !=''" . $categoryCondition . $sidCondition,
|
|
|
+ 'groupby' => 'nature',
|
|
|
+ 'asArray' => true
|
|
|
+ ) );
|
|
|
+ $statisticsNature = array ();
|
|
|
+ foreach ( $this->nature as $value ) {
|
|
|
+ $flagNature = true;
|
|
|
+ foreach ( $natureList as $v ) {
|
|
|
+ if ($value == $v ['nature']) {
|
|
|
+ array_push ( $statisticsNature, array (
|
|
|
+ 'value' => $v ['count'],
|
|
|
+ 'name' => $value
|
|
|
+ ) );
|
|
|
+ $flagNature = false;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if ($flagNature)
|
|
|
array_push ( $statisticsNature, array (
|
|
|
- 'value' => $v ['count'],
|
|
|
+ 'value' => 0,
|
|
|
'name' => $value
|
|
|
) );
|
|
|
- $flagNature = false;
|
|
|
- break;
|
|
|
- }
|
|
|
}
|
|
|
- if ($flagNature)
|
|
|
- array_push ( $statisticsNature, array (
|
|
|
- 'value' => 0,
|
|
|
- 'name' => $value
|
|
|
- ) );
|
|
|
+
|
|
|
+ $jsn=json_encode ( $statisticsNature );
|
|
|
+ $redis->set($redisKey,$jsn);
|
|
|
+ $data ['statisticsNature'] = $jsn;
|
|
|
+ }else{
|
|
|
+ $data ['statisticsNature'] = $redisValue;
|
|
|
}
|
|
|
|
|
|
- // print_r($max2);//die;
|
|
|
- $data ['statisticsNature'] = json_encode ( $statisticsNature );
|
|
|
- $data ['statisticsCompany'] = json_encode ( $statisticsCompany );
|
|
|
- $data ['statisticsCategory'] = json_encode ( $statisticsCategory );
|
|
|
|
|
|
$data ['statisticsDay'] = json_encode ( $statisticsDay );
|
|
|
- $data ['statisticsClient'] = json_encode ( $statisticsClient );
|
|
|
- $data ['statisticsLongle'] = json_encode ( $statisticsLongle );
|
|
|
$data ['categorylist2'] = $categorylist2;
|
|
|
-
|
|
|
$data ['Ssum'] = round ( ($Ssum / $Rsum) * 100 ) . '%';
|
|
|
$data ['Rsum'] = $Rsum;
|
|
|
$data ['useL2'] = $useL2;
|