摘要: searchFormVisible: true, //是否始终显示搜索表单 阅读全文
posted @ 2024-01-30 17:00 blog_zss小帅-博客猿 阅读(11) 评论(0) 推荐(0) 编辑
摘要: /** * 腾讯云Cos上传文件 * 上传分片 * 合并分片 * @param File $file 文件流 */ public function uploadCos() { if (!Auth::isModuleAllow()) { $this->error("请登录后再进行操作"); } $co 阅读全文
posted @ 2024-01-24 11:49 blog_zss小帅-博客猿 阅读(133) 评论(0) 推荐(0) 编辑
摘要: public function getCreatetimeAttr($value) { $date= date('Y-m-d H:i',$value); return $date; } 阅读全文
posted @ 2024-01-20 11:38 blog_zss小帅-博客猿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 8080 TCP 0.0.0.0/0 25 TCP 0.0.0.0/0 3306 TCP 0.0.0.0/0 MySQL服务默认端口 21 22 80 443 3389 39000-40000 FTP被动模端口范围 888 phpMyAdmin默认端口 443 20 阅读全文
posted @ 2024-01-08 15:31 blog_zss小帅-博客猿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: lock_list: function () { // 初始化表格参数配置 Table.api.init({ extend: { index_url: 'chip_cupboard/chip_cupboard/lock_list', table: 'chip_lock', } }); var tab 阅读全文
posted @ 2023-11-20 10:13 blog_zss小帅-博客猿 阅读(216) 评论(0) 推荐(0) 编辑
摘要: <?php namespace app\api\controller; use addons\shopro\model\OrderAction; use addons\shopro\model\User; use app\admin\model\Market; use app\common\cont 阅读全文
posted @ 2023-11-06 11:56 blog_zss小帅-博客猿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: $userList = Db::name('user')->where('status',1)->select();$userList = array_map(function($item){ $item['newField'] = 'newValue'; // 在结果数组中追加新字段和值 retu 阅读全文
posted @ 2023-11-02 09:45 blog_zss小帅-博客猿 阅读(91) 评论(0) 推荐(0) 编辑
摘要: /** * 获取微信用户信息 */ public function getWechatInfoByAPP($code) { if (!$code) returnMsg(501); $app_id = ''; // 开放平台APP的id $app_secret = ''; // 开放平台APP的sec 阅读全文
posted @ 2023-10-31 18:05 blog_zss小帅-博客猿 阅读(17) 评论(0) 推荐(0) 编辑
摘要: /** * 签到记录 */ public function getSignlog() { // 获取本周第一天的时间戳 $first_day_of_week = strtotime('this week Monday'); // 获取本周最后一天的时间戳 $last_day_of_week = st 阅读全文
posted @ 2023-10-19 14:46 blog_zss小帅-博客猿 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-10 17:33 blog_zss小帅-博客猿 阅读(6) 评论(1) 推荐(1) 编辑