摘要:
1.阿里云开通短信服务,申请签名,模板,和AccessKey 2.下载PHP版本的SDK:https://help.aliyun.com/document_detail/55359.html?spm=a2c4g.55284.0.0.2a4b11da3sdcbG 3.将sdk文件夹放到项目里面,这里是 阅读全文
摘要:
微信文档:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message.html#%E8%AE%A2%E9%98%85%E6%B6%88%E6%81%AF%E8%AF%AD%E9%9 阅读全文
摘要:
1.获取手机号的按钮 <button v-if="!mobile" class="btns" style="margin-top: -100rpx;" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">授权手机号码</button 阅读全文
摘要:
this.$forceUpdate(); 阅读全文
摘要:
1.PHP网站项目从测试的宝塔转移到正式的宝塔,项目转移后打开出现错误No input file specified,查询错误日志 /www/wwwlogs/(自己网站的error日志) 发现 查询了一下这个错误: 最终发现问题在public文件下的.user.ini 将路径修改为新网址,问题解决 阅读全文
摘要:
import Vue from 'vue' // 时间戳——日期格式Vue.filter("formatDate",(data,type)=>{ if (!data) { return '- -' } data = String(data).length <= 10 ? data * 1000 : 阅读全文
摘要:
例如:common.js里面的内容: /** * 退出登录 */export function exitLogin() { console.log('退出登录233') uni.setStorageSync('token',''); uni.setStorageSync('userInfo','') 阅读全文
摘要:
openSettings() { var main = plus.android.runtimeMainActivity(); // var pkName = main.getPackageName();//获取包名 // var uid = main.getApplicationInfo().pl 阅读全文
摘要:
问题:访问api路径提示404 解决方法:宝塔设置伪静态: 问题解决: 阅读全文
摘要:
uniapp示例: <view class="order-contact-item" style="width:50%;text-align: center;" @tap="openMapNavigation">导航商家</view> //js函数打开导航 openMapNavigation() { 阅读全文