无需服务期无需域名云开发壁纸小程序源码带手机后台流量主广告用户投稿
经小编亲测完整可用,有uniCloud基础的可以玩玩
多广告位,流量主模式
用户下载积分获取方式,邀请获得,观看广告获得,签到获得
独家动态壁纸在线下载,给用户更多的选择
最新版套图功能,帮助各位老板流量主更高的曝光
小程序无加密,源码公开,方便各位站长二次开发。
后台在小程序内部只有管理员才可以打开,支持用户投稿,可以同时投稿100+张图片,个人企业均可搭建
小程序无自动采集(头像素材有采集),因配置了投稿功能,广告位很多,足够大家使用
带有100多张壁纸数据,自己随便去添加一些都够用了,具体自己下载去玩
学习资料这里领取 领取码mhnq
namespace app\controllers;use app\core\Pagination;
use app\core\response\ApiCode;
use app\models\Attachment;
use yii\web\BadRequestHttpException;
use yii\web\ForbiddenHttpException;
use yii\web\HttpException;
use yii\web\NotFoundHttpException;
use yii\web\ServerErrorHttpException;class DemoController extends Controller
{public function actionIndex($testCode = 200){if (\Yii::$app->request->isAjax) {if (\Yii::$app->request->isPost) {return $this->asJson(['code' => 0,'msg' => 'AJAX POST REQUEST.',]);} else {switch ($testCode) {case 200:return $this->asJson(['code' => 0,'msg' => 'AJAX GET REQUEST.',]);break;case 400:throw new BadRequestHttpException();break;case 403:throw new ForbiddenHttpException();break;case 404:throw new NotFoundHttpException();break;case 500:throw new ServerErrorHttpException();break;case 502:throw new HttpException(502);break;default:\Yii::warning('测试提交');break;}}} else {return $this->render('index');}}public function actionList(){if (\Yii::$app->request->isAjax) {$pagination = new Pagination(['totalCount' => 200]);$list = [];for ($i = $pagination->offset + 1; $i < $pagination->offset + 11; $i++) {$list[] = ['id' => $i,'name' => "数据{$i}",];}return ['code' => ApiCode::CODE_SUCCESS,'data' => ['list' => $list,'pagination' => $pagination,],];} else {return $this->render('list');}}