增加了申请表填写后的消息推送
This commit is contained in:
parent
e3a25bdf1d
commit
747d016c2d
|
@ -13,7 +13,7 @@ class DataController extends Zend_Controller_Action
|
||||||
function indexAction()
|
function indexAction()
|
||||||
{
|
{
|
||||||
//序列
|
//序列
|
||||||
$state=$this->db->query('select s.id,name,count(*) from series s,dataseries d where d.sid=s.id group by s.id,s.name');
|
$state=$this->db->query('select s.id,name,count(*) from series s,dataseries d where d.sid=s.id group by s.id,s.name');
|
||||||
$this->view->serie=$state->fetchAll();
|
$this->view->serie=$state->fetchAll();
|
||||||
//分类
|
//分类
|
||||||
$state=$this->db->query('select c.code,name,name_zh,count(*) from category c,categorycode cc where c.code=cc.code group by c.code,cc.name,cc.name_zh');
|
$state=$this->db->query('select c.code,name,name_zh,count(*) from category c,categorycode cc where c.code=cc.code group by c.code,cc.name,cc.name_zh');
|
||||||
|
@ -812,6 +812,10 @@ class DataController extends Zend_Controller_Action
|
||||||
echo "您的信息已经提交成功,可以进行下载。<br />
|
echo "您的信息已经提交成功,可以进行下载。<br />
|
||||||
如果页面没有自动跳转,<a href='/data/download/uuid/$uuid/onlineappid/{$row['id']}'>请点击这里进入下载页面</a>
|
如果页面没有自动跳转,<a href='/data/download/uuid/$uuid/onlineappid/{$row['id']}'>请点击这里进入下载页面</a>
|
||||||
<script>self.location='/data/download/uuid/$uuid/onlineappid/{$row['id']}'</script>";
|
<script>self.location='/data/download/uuid/$uuid/onlineappid/{$row['id']}'</script>";
|
||||||
|
$msg = "用户{$data['username']} 填写了在线数据申请表 <a href=\"/admin/down/online/show/{$row['id']}\">查看详细</a>";
|
||||||
|
$title = "用户 {$data['username']} 申请了在线下载数据";
|
||||||
|
include_once("message.php");
|
||||||
|
message::post($this->db,0,-1,$title,$msg);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue