当前位置:首页 > 日常分享 > 正文内容

苹果cms10小程序配置流程

lvdoui@163.com3个月前 (03-18)日常分享349

小程序前端下载

1、申请小程序(自行百度)

2、小程序后台---开发配置----添加合法域名:https://api.douban.com;https://frodo.douban.com;https://m.douban.com; https://mip.chinaz.com;再加上你自己苹果cms的域名,注意要https 共5个。只需要填request合法域名

1606835727366389.png

3、微信开发者工具导入前端mp-weixin目录。APPID再小程序后台回去

/common/main.js中  搜索cjurl 设置成你https://xx.xxx.com/,要带https

其他三处分别对应授权码、IV、KEY。 将app标识也设置和授权码一样。(iv和key必须为16位字符串 百度:生成16位随机数

1606291865962603.png



1606238520265973.png


修改APPID,在小程序用户中心mp.weixin.qq.com开发管理那里获取,并添加到后台配置


1606238771621553.png 


将数据加密:开启


小程序前端代码pages/detail/detail.js这个文件搜索

if("1"==o.$config.detail.play.radio&&o.$config.detail.play.APPID)o.$config.detail.play.APPID.indexOf("pages")>=0?t.navigateTo({url:o.$config.detail.play.APPID}):t.showModal({title:"",content:"该版本即将停用,前往新版使用",confirmText:"确定",success:function(e){e.confirm&&t.navigateToMiniProgram({appId:o.$config.detail.play.APPID,path:"pages/detail/detail?id="+a.voddata.vod_id,success:function(t){}})}});else

把这个代码注释掉/* */,也可以直接删除,这是app用的小程序没用

在小程序目录找到 app.json 下拉到最底部,有两个uni开头的方法把他删掉

改完之后是这样。别问我为什么不写具体点,因为我已经改了,方法名我忘记了,只记得这里有个报错,是uniapp统计好像

QQ图片20210318145134.png


打开小程序后台,小程序配置----编辑---场景设置---全部关闭,不然审核不过,全部关闭后没用播放按钮,来骗过审核


然后提交代码(上传)---微信小程序后台设为体验版,扫码看看有没有播放按钮,没用就可以提交审核了,审核通过后建议24小时后再去场景值设置,选择你要出现播放按钮的场景!比如、1007、1008、1089、1047 反正都有说明,自己看,也就是说隐藏一些场景来避免腾讯抽查!自己感觉,如果你是腾讯,会以什么方式核查就把它取消勾选、、、、


关于后台配置:


点击小程序配置,添加微信(小程序)对接,这里可以多开,创建多个小程序对接,广告这些独立设置。但是视频数据是统一的。



[{"type_name":"连续剧","type_id":"2","type_extend":{"class":["全部","言情","喜剧","悬疑","都市","偶像","古装","军事","警匪","历史","励志","神话","谍战","青春","家庭","动作","情景","武侠","科幻","其他"],"area":["全部","大陆","美国","香港","台湾","韩国","泰国","日本","英国","新加坡"],"lang":"全部,国语,英语,粤语,闽南语,韩语,日语,其它","year":["全部","2020","2019","2018","2017","2016","2015","2014","2013","2012","2011","2010","2009","2008","2006","2005","2004"]}},{"type_name":"电影","type_id":"1","type_extend":{"class":["全部","喜剧","爱情","动作","恐怖","科幻","剧情","犯罪","奇幻","战争","悬疑","动画","文艺","伦理","纪录","传记","歌舞","古装","历史","惊悚","其他"],"area":["全部","大陆","美国","香港","韩国","日本","法国","英国","德国","台湾","泰国","印度","其他"],"year":["全部","2020","2019","2018","2017","2016","2015","2014","2013","2012","2011","2010"]}},{"type_name":"综艺","type_id":"3","type_extend":{"class":["全部","选秀","情感","访谈","播报","旅游","音乐","美食","纪实","曲艺","生活","游戏互动","财经","求职","其他"],"area":["全部","内地","港台","日韩","欧美","其他"],"year":["全部","2020","2019","2018","2017","2016","2015","2014","2013","2012","2011","2010"]}},{"type_name":"动漫","type_id":"4","type_extend":{"class":["全部","热血","科幻","美少女","魔幻","经典","励志","少儿","冒险","搞笑","推理","恋爱","治愈","幻想","校园","动物","机战","亲子","儿歌","运动","悬疑","怪物","战争","益智","青春","童话","竞技","动作","社会","友情","真人版","电影版","OVA版","TV版","新番动画","完结动画"],"area":["全部","日本","美国","大陆"],"lang":"全部,国语,英语,粤语,闽南语,韩语,日语,其它","year":["全部","2020","2019","2018","2017","2016","2015","2014","2013","2012","2011","2010","2009","2008","2007","2006","2005","2004"]}}]




年份自己看格式加


首页推荐影片数据的方法:请对应:推荐1=视频分类大类ID1、推荐2=视频分类大类ID2、以此类推。

但是注意:推荐9=小程序首页上面幻灯片


审核上线


进入后台,点击 小程序配置编辑》场景设置,全部取消勾选1606243543705415.png重新编译小程序,之后点击预览,在手机上查看,确认所有页面都正常显示后,方可上传发布审核

审核通过后等待2~3个小时再关闭开关,以防工作人员来个回马枪

 

小程序名称切勿包含违禁关键词,如 XX影院、XX影视剧、XX VIP电影 等,容易封。请取名为类似《10万人看 XX影评、XX评分或者其他名称等,小程序简介建议写:影评信息查询大全。相关的简介。。小程序类目选择  工具信息查询

 

如果小程序被驳回,那么提交加急审核,因为加急审核被退回可以申诉,12小时内多次再次提交都属于加急。申诉内容如下:


扫描二维码推送至手机访问。

版权声明:本文由绿豆之家发布,如需转载请注明出处。

本文链接:http://www.lvdoui.cn/post/4.html

分享给朋友:

相关文章

苹果cms萝卜4.05完美蓝色版

苹果cms萝卜4.05完美蓝色版

苹果cms萝卜4.05完美蓝色版数据库下载:https://www.lvdoutv.cn/ssd/lvdou.sql.zip萝卜影视源码前端是用JAVA(Android Studio)开发的全原生APP源码,后端用的是二次开发的苹...

意如易返回值说

    200 => '成功',    201 => '失败', ...

苹果cmsV10详情伪原创插件

苹果cmsV10详情伪原创插件

搜素引擎最反感的就是采集别人的资源(非原创资源),要想收录效果好!伪原创是少不了的插件原理很简单,就是在采集入库前把采集到的详情通过API提交到对应的翻译平台经行翻译,然后再取回翻译结果我们都知道,翻译平台一般情况翻译都是死的,进行多次翻译...

APP设置文档

萝卜APP设置文档:4.0.5以上APP支持JSON及普通解析!JSON解析需要自行多加一个点!自己对比点在哪里json格式:http://json..baidu.cn/jx.php?url=  普通格式:http://xml.b...

超星云盘100G容量不限速免费直连网盘

超星云盘100G容量不限速免费直连网盘

文件直连、可用于文件分享及软件更新下载,稳定不限速如今,市面上有很多不限速的免费网盘,如蓝奏云、天翼云盘等。这些网盘虽然好用,但是并非完美,他们都各有优缺点。举个例子,蓝奏云单文件上传,最高只允许100MB,而且它不支持秒传功能,也不提供直...

最简单的Zfaka个人发卡系统宝塔安装教程

最简单的Zfaka个人发卡系统宝塔安装教程

Zfaka github地址:https://github.com/zlkbdotnet/zfaka体验地址:https://km.lvdoui.cn官方介绍的安装教程还是挺麻烦的,这里给大家从下载程序到安装后的各种设置都给大家介绍一下。1...