随笔分类 -  JavaScript

摘要:小程序前端代码 后端PHP代码 阅读全文
posted @ 2018-01-20 20:39 wcu1117 阅读(1924) 评论(0) 推荐(0)
摘要://结算提交 checkOut : function(){ var price = this.data.sum; var user = wx.getStorageSync('userInfo'); if (!user){ wx.showModel({ title:'提示', content:'请登... 阅读全文
posted @ 2017-11-08 10:42 wcu1117 阅读(293) 评论(0) 推荐(0)
摘要:微信官方支付文档 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=7_3&index=1 1、后台统一下单接口 ** * 微信小程序支付统一下单获取支付参数方法 * 在微信小程序前端需要进行微信支付的地方通过request 阅读全文
posted @ 2017-11-08 10:37 wcu1117 阅读(611) 评论(0) 推荐(0)
摘要:题目 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have 阅读全文
posted @ 2017-06-16 18:24 wcu1117 阅读(1090) 评论(0) 推荐(0)
摘要:题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the 阅读全文
posted @ 2017-06-16 16:16 wcu1117 阅读(189) 评论(0) 推荐(0)