07 2021 档案

摘要:转自:https://blog.csdn.net/echizao1839/article/details/94380916注意设置完成后需要执行 flush privileges; 1,设置访问单个数据库权限 mysql>grant all privileges on test.* to 'root 阅读全文
posted @ 2021-07-30 15:01 一颗糊涂淡 阅读(3938) 评论(0) 推荐(0)
摘要:$url = ((int)$_SERVER['SERVER_PORT'] == 80 ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'] 阅读全文
posted @ 2021-07-30 09:36 一颗糊涂淡 阅读(800) 评论(0) 推荐(0)
摘要:/** * 格式化数字 */ public function float_number($number){ $length = strlen($number); //数字长度 if($length > 8){ //亿单位 $str = substr_replace(strstr($number,su 阅读全文
posted @ 2021-07-28 11:19 一颗糊涂淡 阅读(376) 评论(0) 推荐(0)
摘要:{ field: 'question', title: __('Question'), operate: false, formatter : function(value, row, index, field){ return "<span style='display: block;overfl 阅读全文
posted @ 2021-07-28 10:51 一颗糊涂淡 阅读(734) 评论(0) 推荐(0)
摘要:{ field: 'detail', title: __('Detail'), cellStyle: { css: { "max-width": "100px", "overflow": "hidden", "text-overflow": "ellipsis" } }, operate: fals 阅读全文
posted @ 2021-07-27 09:50 一颗糊涂淡 阅读(353) 评论(0) 推荐(0)
摘要:json_encode($arr,JSON_UNESCAPED_UNICODE) 在json_encode后面加上JSON_UNESCAPED_UNICODE 阅读全文
posted @ 2021-07-20 10:55 一颗糊涂淡 阅读(161) 评论(0) 推荐(0)
摘要:{ field: 'videoimage', title: __('Videoimage'), events: Table.api.events.image, // formatter: Table.api.formatter.image, formatter: function (row) { / 阅读全文
posted @ 2021-07-18 10:21 一颗糊涂淡 阅读(579) 评论(0) 推荐(0)
摘要:<div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Json')}:</label> <div class="col-xs-12 col-sm-8"> <dl class="fieldlist" 阅读全文
posted @ 2021-07-14 13:42 一颗糊涂淡 阅读(867) 评论(0) 推荐(0)
摘要:文件位置:public/assets/js/bootstrap-table-commonsearch.js 阅读全文
posted @ 2021-07-05 15:35 一颗糊涂淡 阅读(134) 评论(0) 推荐(0)