上一页 1 ··· 5 6 7 8 9
摘要: 传递自定义参数:if (!isset($_GET['code'])) { // 触发微信返回code $url = $jsApi->createOauthUrlForCode(WxPayConf_pub::JS_API_CALL_URL); $state = json_encode(array( " 阅读全文
posted @ 2017-03-17 10:00 杨广伟9527 阅读(2791) 评论(0) 推荐(0) 编辑
摘要: location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; break; } } location ~ \.php { fastcgi_pass 127.0.0.1:9000; //这里不用担心你的服务器 阅读全文
posted @ 2017-03-17 09:59 杨广伟9527 阅读(134) 评论(0) 推荐(0) 编辑
摘要: /** * laravel 简单的上传图片* @param Request $request* @return View*/public function upload(Request $request){if ($request->isMethod('POST')){$file = $reques 阅读全文
posted @ 2017-03-17 09:58 杨广伟9527 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9