Cloud development video resource monetization Wechat applet source code supports traffic master


1. Detailed introduction

The source code of cloud-developed video resources monetizes WeChat applets, with the traffic main function. To obtain videos and obtain resources, you need to watch advertisements first. The source code of the resource monetization applet has no deletions. The main function is that users need to watch an advertisement first if they want to watch your videos or obtain your resources.
Upload video in the background - user enters the specified code - can watch the video after watching the ad - get video ad revenue, can customize the announcement ad carousel picture upload picture album, custom video resource name
, custom video resource password
pictures include:
home page image wheel Broadcast settings
CMS background settings
Specify password settings after uploading the video
Other content to see for yourself

2. Effect display

1. Part of the code

The code is as follows (example):

<?php

namespace addons\TinyShop;

use Yii;
use yii\db\Migration;
use common\helpers\MigrateHelper;
use common\interfaces\AddonWidget;

/**
 * 安装
 *
 * Class Install
 * @package addons\TinyShop
 */
class Install extends Migration implements AddonWidget
{
    
    
    /**
    * @param $addon
    * @return mixed|void
    * @throws \yii\base\InvalidConfigException
    * @throws \yii\web\NotFoundHttpException
    * @throws \yii\web\UnprocessableEntityHttpException
    */
    public function run($addon)
    {
    
    
         MigrateHelper::upByPath([
             '@addons/TinyShop/console/migrations/'
         ]);
    }
}

2. Rendering display

Please add a picture description


3. Download learning materials

Lanzoul: https://qumaw.lanzoul.com/i4AXN0izzo3g

Guess you like

Origin blog.csdn.net/m0_57941469/article/details/128371227