Application/Wap/Controller/NewsController.class.php

(完整代码) 550B

<?php
namespace Wap\Controller;
use Think\Controller;
class NewsController extends CommonController {
    public function nview(){
		$userid = session("userid");
		$ntype = I('ntype',0,'intval');
		$news = M('news')->where("ntype=%d",$ntype)->find();
		$this->news = $news;
		
		//获取系统配置
		$sysconfig = M('sys_config')->field('cwebtitle')->find();
		$this->sysconfig = $sysconfig;		
		
		//分享设置
		$wx = new \Common\Myfun\WxAction();
		$this->SignPackage = $wx->fenxiang($userid);
		
		$this->display();
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。