请求 String url = ""; try { JSONObject jsonParam = new JSONObject(); jsonParam.put("type", type); String sign = Md5Util.string2MD5(jsonParam.toString()) Read More
posted @ 2017-07-29 11:51 田浩 Views(2011) Comments(0) Diggs(0)
需要记录用户操作记录,保存用户openid $(function() { var access_code = ''; var uri = encodeURIComponent("当前页面,需要授权"); var access_code = getQueryString('code'); if (ac Read More
posted @ 2017-07-28 11:38 田浩 Views(255) Comments(0) Diggs(0)
@RequestMapping(value = "/querygoodstabbytype_id/{type_id}", method = RequestMethod.GET) public String querygoodstabbytype_id(@PathVariable("type_id") Read More
posted @ 2017-07-27 10:13 田浩 Views(139) Comments(0) Diggs(0)
<c:forEach items="${tw}" var="tw"> <div class="title">${tw.typet_name }</div> <ul class="fruitsMore_list"> <c:forEach items="${qth}" var="q"> <c:forEa Read More
posted @ 2017-07-27 10:13 田浩 Views(218) Comments(0) Diggs(0)
@RequestMapping(value = "/toPay", method = RequestMethod.POST) @ResponseBody public String getShowCode(@RequestParam(value = "openid", required = fals Read More
posted @ 2017-07-27 09:54 田浩 Views(1355) Comments(0) Diggs(0)
@RequestMapping(value = "/postOpenid", method = RequestMethod.POST) @ResponseBody public String getOpenid(@RequestParam(value = "code", required = fal Read More
posted @ 2017-07-27 09:45 田浩 Views(3099) Comments(0) Diggs(0)
public class ServerRun extends HttpServlet{ private Timer timer = null; public void init(ServletConfig config) throws ServletException{ super.init(con Read More
posted @ 2017-07-27 09:41 田浩 Views(733) Comments(0) Diggs(0)
public static String WxJsApiCheck() throws IOException { Properties p = new Properties(); InputStream input = R_apppayController.class.getResourceAsSt Read More
posted @ 2017-07-27 09:38 田浩 Views(545) Comments(0) Diggs(0)
<%String check = Pay.WxJsApiCheck();%> //获取微信支付所需check 详情看http://www.cnblogs.com/tianhao2017/p/7243132.html <script type="text/javascript">wx.config({ Read More
posted @ 2017-07-27 09:33 田浩 Views(2315) Comments(0) Diggs(0)
1:运行cmd 2:net stop http 3:y 4:Sc config http start= disabled 5:测试,netstat -aon|findstr “80” tasklist|findstr "2972" Read More
posted @ 2017-07-14 10:21 田浩 Views(174) Comments(0) Diggs(0)