会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
锕豪
博客园
首页
新随笔
联系
订阅
管理
2022年5月11日
php 使用slim框架 实现时间段区间,以及时间间隔
摘要: // 时间间隔public static function timeIntervals(){ $buff = array(); $req=self::app()->request(); $start=$req->get('start'); $end=$req->get('end'); $starts
阅读全文
posted @ 2022-05-11 14:54 锕果先生
阅读(97)
评论(0)
推荐(0)
2022年3月17日
PHP 六维数组 小白入门
摘要: 六维数组 $arr = array( 0 => array( 'name' => '奥迪', 'initial' => 'A', 'logo' => null, 'models' => array( 0 => array( 'name' => 'S5', 'submodels' => array(
阅读全文
posted @ 2022-03-17 10:47 锕果先生
阅读(62)
评论(0)
推荐(0)
2022年3月16日
ajax 异步修改 小白一个
摘要: 使用的技术是 php 后端 +ajax 实现修改 <form class="form-horizontal" role="form" id="validation-form-edit" onclick="return false" action="" method="post"> <input ty
阅读全文
posted @ 2022-03-16 16:55 锕果先生
阅读(192)
评论(0)
推荐(0)
2021年10月15日
php 阿里云调用快递接口
摘要: 阿里云申请appcode地址:https://market.aliyun.com/products/57126001/cmapi021863.html?spm=5176.730005.productlist.d_cmapi021863.ebSZX2#sku=yuncode1586300000 由于是
阅读全文
posted @ 2021-10-15 17:11 锕果先生
阅读(125)
评论(0)
推荐(0)
2021年9月23日
vue实现购物车功能
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script src="js/vue.js" type="text/javascript" charset="utf-8"></script> <style
阅读全文
posted @ 2021-09-23 20:31 锕果先生
阅读(156)
评论(0)
推荐(0)
2021年9月19日
微信小程序 实现评论
摘要: 最近学习了微信小程序,于是乎,研究了一下评论功能。 首先我们的环境是:微信小程序+thinkphp6 上代码 微信小程序 jwt 登录:https://blog.csdn.net/lh25946/article/details/119044247?spm=1001.2014.3001.5501 表字
阅读全文
posted @ 2021-09-19 16:07 锕果先生
阅读(1578)
评论(0)
推荐(0)
2021年9月8日
PHP 冒泡排序+二分查找
摘要: 一、先定义一个数组 $arr = [1, 43, 54, 62, 21, 66, 32, 78, 36, 76, 39, 2]; 二、代码实现冒泡排序 function bubbleSort($arr){ $count=count($arr); for ($i=1;$i<$count;$i++)
阅读全文
posted @ 2021-09-08 08:30 锕果先生
阅读(83)
评论(0)
推荐(0)
2021年8月26日
微信小程序 云开发 手机验证码登录
摘要: 先创建一个云函数 sendSMS phone.wxml <!-- 手机号码 --> <text class="text1">手机号码</text> <view class="phoneNum"> <input type="text" placeholder="请输入手机号码" bindinput="
阅读全文
posted @ 2021-08-26 20:57 锕果先生
阅读(751)
评论(0)
推荐(0)
微信小程序 云开发 实现登录注册
摘要: 软件:微信开发者工具 数据库环境:云开发数据库 login.wxml页面 <view class="login"> <input class="inputText" placeholder="请输入账号" name="account" bindchange="getAccount" /> <!--密
阅读全文
posted @ 2021-08-26 20:29 锕果先生
阅读(1498)
评论(0)
推荐(0)
2021年8月25日
二分查找
摘要: 折半查找,也称二分查找,在某些情况下相比于顺序查找,使用折半查找算法的效率更高。但是该算法的使用的前提是静态查找表中的数据必须是有序的。 例如,在{5,21,13,19,37,75,56,64,88 ,80,92}这个查找表使用折半查找算法查找数据之前,需要首先对该表中的数据按照所查的关键字进行排序
阅读全文
posted @ 2021-08-25 19:52 锕果先生
阅读(109)
评论(0)
推荐(0)
下一页
公告