摘要: 1 function getR($length){ 2 $str = null; 3 $strPol = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; 4 $max = strlen($strPol)-1; 5 6 for($i=0; 阅读全文
posted @ 2020-01-20 12:29 豪-Sir 阅读(386) 评论(0) 推荐(0)
摘要: 1 function openLayer(imgUrl) { 2 var imgUrl = imgUrl; 3 getImageWidth(imgUrl, function(w, h){ 4 w = h > 860? w/h*860: w 5 h = h > 860? 860: h 6 parent 阅读全文
posted @ 2020-01-20 12:28 豪-Sir 阅读(1504) 评论(0) 推荐(0)
摘要: 1 const proxy = require('http-proxy-middleware'); 2 3 const urlData = ['api']; 4 5 module.exports = function (app) { 6 urlData.forEach(v => { 7 app.us 阅读全文
posted @ 2020-01-20 12:27 豪-Sir 阅读(468) 评论(0) 推荐(0)
摘要: 新浪的IP地址查询接口:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js(默认为纯文本格式,根据format的参数定义,还可以返回JS、Json格式)。 新浪多地域测试方法:http://int.dpool.sina.com.c 阅读全文
posted @ 2020-01-20 12:26 豪-Sir 阅读(1855) 评论(0) 推荐(0)
摘要: 1 import React from "react"; 2 import { match } from 'react-router-dom' 3 4 interface Props { 5 match: match<{id?: string}> 6 } 7 8 const Rdx: React.F 阅读全文
posted @ 2020-01-20 11:46 豪-Sir 阅读(1109) 评论(0) 推荐(0)

载入天数...载入时分秒...