08 2017 档案

摘要:"resetdata":function(){//写触发函数绑定在页面上 this.setData({//this.setdata很重要 "changdata":"哈哈哈哈哈setData调用后文字"//重新设置data里面的"changdata"的值 }) } 阅读全文
posted @ 2017-08-30 11:58 爱吃醋的工程师
摘要:globalData: { encryptedData: null, iv: null, session: null }, unload:{ var that=this sessionKey: that.globalData.session } 阅读全文
posted @ 2017-08-29 15:58 爱吃醋的工程师
摘要://app.js App({ onLaunch: function () { console.log('1' ) wx.login({ success: function (res) { console.log(res.code) //这就是code if (res.code) { //发起网络请求 ... 阅读全文
posted @ 2017-08-28 13:53 爱吃醋的工程师
摘要:console.log(res.code) //这就是code wx.request({ url: 'https://zjite.applinzi.com?code='.res.code, method: "GET", header: { 'content-type': 'application/... 阅读全文
posted @ 2017-08-28 12:14 爱吃醋的工程师
摘要:table.wxml table.wxss table.js 阅读全文
posted @ 2017-08-27 17:45 爱吃醋的工程师
摘要:首先对text 设置监听事件 <view bindtap="toast" class="usermotto"> <text class="user-motto">{{motto}}</text> </view> <view bindtap="toast" class="usermotto"> <te 阅读全文
posted @ 2017-08-27 13:36 爱吃醋的工程师
摘要:在json中编辑 阅读全文
posted @ 2017-08-26 18:35 爱吃醋的工程师
摘要:wx.login({ success: function (res) { var code = res.code; if (code) { console.log('获取用户登录凭证:' + code); // --------- 发送凭证 ------------------ wx.req... 阅读全文
posted @ 2017-08-25 17:39 爱吃醋的工程师
摘要:RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L] 阅读全文
posted @ 2017-08-25 10:01 爱吃醋的工程师
摘要:1.2 证书安装 编辑Apache根目录下 conf/httpd.conf 文件,找到 #LoadModule ssl_module modules/mod_ssl.so 和 #Include conf/extra/httpd-ssl.conf,去掉前面的#号注释;编辑Apache根目录下 conf 阅读全文
posted @ 2017-08-24 14:17 爱吃醋的工程师
摘要:<form bindsubmit="formSubmit"> 阅读全文
posted @ 2017-08-23 19:46 爱吃醋的工程师
摘要:<?php$arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5);echo json_encode($arr);?> 阅读全文
posted @ 2017-08-23 17:22 爱吃醋的工程师
摘要:rename table table1 to table2; 阅读全文
posted @ 2017-08-23 09:16 爱吃醋的工程师
摘要:安装 一. Apache 安装 yum install -y httpd启动 /etc/init.d/httpd start备注:Apache启动之后会提示错误: 正在启动httpd:httpd: Could not reliably determine the server’s fully qua 阅读全文
posted @ 2017-08-22 15:02 爱吃醋的工程师
摘要:wx.login({ success: function (res) { var code = res.code; if (code) { console.log('获取用户登录凭证:' + code); // --------- 发送凭证 ------------------ wx.req... 阅读全文
posted @ 2017-08-21 22:19 爱吃醋的工程师
摘要:Page({ onShareAppMessage: function (res) { if (res.from === 'button') { // 来自页面内转发按钮 console.log(res.target) } return { title: '自定义转发标题', path: '/page/user?id=12... 阅读全文
posted @ 2017-08-21 13:16 爱吃醋的工程师
摘要:Welcome Welcome! 欢迎开启PHP之旅! EOT; ?> 阅读全文
posted @ 2017-08-20 09:49 爱吃醋的工程师
摘要:获取到code后,传到后台,然后请求微信接口 阅读全文
posted @ 2017-08-18 10:45 爱吃醋的工程师
摘要:.wxml 阅读全文
posted @ 2017-08-17 21:20 爱吃醋的工程师
摘要:wx.getLocation({ type: 'gcj02', //返回可以用于wx.openLocation的经纬度 success: function(res) { var latitude = res.latitude var longitude = res.longitude wx.openLocation({ lati... 阅读全文
posted @ 2017-08-17 20:33 爱吃醋的工程师
摘要:下载ftp服务器上的所有文件用递归参数-r: wget ftp://name:passwd@ftp.malu.me -r 阅读全文
posted @ 2017-08-17 09:49 爱吃醋的工程师
摘要:远程连接Mysql服务器的数据库,错误代码是1130,ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server 猜想是无法给远程连接的用户权限问题。 在本机登入mysql后,更改 “mysql” 数 阅读全文
posted @ 2017-08-16 10:29 爱吃醋的工程师
摘要:第一种方法: 最简单粗暴破解win7开机密码的方法是在开机界面出现时候会要求你输入用户名和密码,大家可以直接按键盘上的CTRL+ALT+DEL进入输入框,然后输入administrator 然后回车确认,当administrator也有密码,电脑提示无法进入时,这时我们需要重启电脑在开机时按F8,一 阅读全文
posted @ 2017-08-09 12:55 爱吃醋的工程师