2022年4月10日
摘要: 1.登录微信开放平台 检查uniapp打包包名 2.安装apk -> GenSignature应用 通过包名获取签名 3.修改微信开放平台的签名 阅读全文
posted @ 2022-04-10 15:02 laremehpe 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 1、访问方式是通过https访问的 2、浏览器打开位置选项 允许访问位置 如下图(chrome为例): 目前chrome浏览器仍获取不到位置(不知道为啥,欢迎评论留言),ie、edge、firefox经测试可以获取到实时位置, 如果是本地调试 则可以忽略第一个条件:通过https访问 更新一下:ch 阅读全文
posted @ 2022-04-10 14:48 laremehpe 阅读(2136) 评论(0) 推荐(0) 编辑
摘要: 1 function jsonp(url, data, callback,callBackName='call') { 2 let s = document.createElement('script'); 3 //parameter 4 let arr = []; 5 for(let name i 阅读全文
posted @ 2022-04-10 14:35 laremehpe 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 1 //调用方式: 2 ajax( 3 'http://www.baidu.com', 4 {name:'json'} 5 ).then((res)=>{ 6 console.log(res); 7 }) function ajax(url,data) { return new Promise((r 阅读全文
posted @ 2022-04-10 14:26 laremehpe 阅读(133) 评论(0) 推荐(0) 编辑
摘要: template <class T>int dichotomy(T arr, int len, int com){ int start = 0; int end = len; int index = len / 2; while (start <= end) { if (arr[index] > c 阅读全文
posted @ 2022-04-10 13:50 laremehpe 阅读(45) 评论(0) 推荐(0) 编辑