当前位置:网站首页>【修复收藏功能、更新登录接口】知识付费小程序、博客小程序、完整版开源源码、资源变现小程序,带299整站资源数据
【修复收藏功能、更新登录接口】知识付费小程序、博客小程序、完整版开源源码、资源变现小程序,带299整站资源数据
2022-06-29 06:41:00 【seeanyun】
关于更新
本次更新用户登录接口以及收藏空白等bug,下载链接已经更新,之前支付过的可以重新下载,案例未更新,演示小程序:大牌源码网
更新内容:
1、微信小程序用户昵称突然变成了“微信用户”,而且头像显示灰色。
2、修复收藏列表点击进入后空白无内容
3、优化更新界面
微信小程序用户昵称突然变成了“微信用户”,而且头像显示灰色,这是微信官方对接口进行了调整,从4月28日起旧的接口将获取到匿名的信息,所以显示就是“微信用户”与灰色头像。
如下图:

A接口调整
今天就是为了解决这个问题才写的这篇文章,前段时间一直想去修改,但是太忙了一直拖到今天。修改的方式其实算比较简单,使用的getUserProfile接口。调整说明:uniapp官方getuserprofile接口说明。
部分代码:


B接口修改

调整点击授权登录后:
授权成功后:

后台用户数据:

C源码下载
下载地址1:
链接:https://pan.baidu.com/s/1uyXoTc-1BEoDJx8u27x4dQ
提取码:4p1u
如果是之前安装过后端可以不用修改,如果是初次安装,看之前的安装方法。
只看后端部分安装:资源变现小程序安装说明
后台地址:你的域名/Zhis
账号:admin
密码:zxcvbnm123
数据库用n++打开全局搜索ziyuan.poyyy.com 全部替换为你现在的域名
public/ueditor/php/config.json打开之后搜索caiji.ymku.vip替换为你的域名
广告位替换:
搜索替换成你的格子广告位: <ad-custom unit-id="adunit-84d65252a3085c9b"></ad-custom>
原生广告位那里新建贴片广告搜索替换:<ad-custom unit-id="adunit-b1bbd03ca47c2ce7"></ad-custom>
前端搜索:caiji.ymku.vip 替换成你的域名
边栏推荐
- 101. symmetric binary tree (recursive and iterative methods)
- Schnuka: visual positioning system manufacturer what is a visual positioning system
- Kyushu cloud helps Inner Mongolia's "counting from the east to the west" project to drive the smart new ecology of the surveying and mapping industry
- tf. count_ nonzero
- [industrial control old horse] detailed explanation of design principle of pattern fountain based on PLC
- 编译原理王者之路
- Some examples.
- Appium自动化测试基础 — ADB常用命令(三)
- Vulnhub's dc9 target
- 基于Sophus的Ceres优化
猜你喜欢

Software testing

4 years of working experience, and you can't tell the five communication modes between multithreads. Can you believe it?

C actual combat - high configuration version of Snake game design

How to permanently set Mysql to utf8 encoding?

Protobuf 二进制文件学习及解析

Common MySQL errors and solutions summarized painstakingly (I)

Vibration signal generation and processing based on MATLAB Doppler effect

呕心沥血总结出来的MySQL常见错误以及解决方法(一)

SQL 注入绕过(六)

帆船动力学仿真分析
随机推荐
Simulation analysis of sailing dynamics
code::blocks代码格式化快捷键
软件测试鸾音鹤信
【域渗透提权】CVE-2020-1472 NetLogon 权限提升漏洞
tf. to_ int64
Detailed design of PLC program control system for washing machine
VMware vcenter/ESXI系列漏洞总结
施努卡:什么是视觉定位系统 视觉定位系统的工作原理
产品安全 - 小漏洞导致大问题
反思 - 中小公司项目管理思维 - 先将产品做出来,先将功能做出来
KingbaseES应对表年龄增长过快导致事务回卷
358. K distance interval rearrange string sorting
How to solve the cross domain problem of mobile phone accessing the web in the web development scenario
[FreeRTOS] interrupt mechanism
Using cdockablepane to realize floating window in MFC
Schnuka: 3D visual recognition system 3D visual inspection principle
关于KingbaseES临时文件过大问题
matlab simulink 电网扫频仿真和分析
Loop nesting: why can large loops inside and small loops outside improve the running efficiency of programs
Cross domain data request using jsonp