import React, {Component} from 'react'import {View, Text, TouchableOpacity, FlatList, RefreshControl,ActivityIndicator} from 'react-native'import * as ...
分类:
其他好文 时间:
2020-07-10 14:58:29
阅读次数:
141
误删下所有的用户 # 删除一个用户(::1 是本机 ipv6 地址) mysql> drop user root@'::1'; Query OK, 0 rows affected (0.00 sec) # 删除所有用户 mysql> delete from mysql.user where 1=1; ...
分类:
数据库 时间:
2020-07-10 13:25:46
阅读次数:
69
解决办法:找到utils.js文件,(大约在50行)加 publicPath: '../../' // Extract CSS when that option is specified // (which is the case during production build) if (optio ...
分类:
其他好文 时间:
2020-07-10 11:36:58
阅读次数:
97
1 public ActionResult Show() 2 { 3 return View(); 4 } 5 public ActionResult Add() 6 { 7 return View(); 8 } 9 public ActionResult Del() 10 { 11 return ...
分类:
Web程序 时间:
2020-07-10 10:13:58
阅读次数:
101
//function //laravel 官方打印sql public static function printAllSql(){ DB::listen(function($query) { $sql_arr = []; $bindings = $query->bindings; $sql = $ ...
分类:
数据库 时间:
2020-07-09 19:34:50
阅读次数:
99
1. const mysql=require("mysql"); const db=mysql.createConnection({ host:"localhost", port:3306, user:'root', password:'123456', database:'blog',//数据库名 ...
分类:
数据库 时间:
2020-07-09 19:32:42
阅读次数:
132
一、请求对象 1、重新封装了原request。 2、request._request:原request对象。 3、request.data:前端post过来的三种编码格式的数据,都可以从中取出。 4、request.query_params:url携带的参数,相当于原来的request.GET。 5 ...
分类:
其他好文 时间:
2020-07-09 15:24:57
阅读次数:
64
今天做项目是用到了tp的<eq>标签想把用法和大家分享一下首先说清楚public function analysis(){$query = [];$shop = Db::name('shops')->field('id,shop_name')->where('shopStatus=1')->sele ...
分类:
Web程序 时间:
2020-07-09 13:50:58
阅读次数:
219
jQuery.parent(expr) //找父元素 jQuery.parents(expr) //找到所有祖先元素,不限于父元素 jQuery.children(expr) //查找所有子元素,只会找到直接的孩子节点,不会返回所有子孙 jQuery.contents() //查找下面的所有内容,包 ...
分类:
Web程序 时间:
2020-07-09 10:43:37
阅读次数:
75
早上10点,业务反馈服务器502无法访问,查询所有的WEB服务器、缓存、数据库都是可以连接的。但是MySQL查询一致卡住,为尽快恢复业务,直接重启数据库操作,此时业务恢复。开始找原因:1.查看mysql错误日志,都是这样的。2020-07-0810:10:140[Note]EventScheduler:Killingtheschedulerthread,threadid72020-07-0810:
分类:
数据库 时间:
2020-07-09 09:26:24
阅读次数:
107