import * as _ from "lodash"; import paramCache from "../common/param-cache" import RequestPromise from "./axios-service/RequestPromise"; export const ... ...
分类:
其他好文 时间:
2019-07-31 10:42:36
阅读次数:
83
转: dubbo服务降级 dubbo服务降级 1. 在 dubbo 管理控制台配置服务降级 上图的配置含义是:consumer 调用 com.zhang.HelloService 的方法时,直接返回 null,不发起远程调用。 实际操作是:在 zk 的 /dubbo/com.zhang.HelloS ...
分类:
其他好文 时间:
2019-07-30 15:45:38
阅读次数:
82
220719备份: ERROR&WARNING: 1.deprecated declaration GPIO_InitConfig_give arg types. 旧程序:void GPIO_InitConfig(); 新程序:void GPIO_InitConfig(void); warning解 ...
分类:
其他好文 时间:
2019-07-29 14:28:43
阅读次数:
132
联合类型(Union Types)表示取值可以为多种类型中的一种。 一个小栗子 若没有使用指定类型中的一种,将报错: let myFavoriteNumber: string | number; myFavoriteNumber = true; // index.ts(2,1): error TS2 ...
分类:
其他好文 时间:
2019-07-29 09:42:32
阅读次数:
1367
ElasticSerch 的连接查询有两种方式实现 ElasticSerch 的连接查询有两种方式实现 nested parent和child关联查询 nested parent和child关联查询 nested nested 存储结构 nested的方式和其他字段一样,在同一个type里面存储,以 ...
分类:
其他好文 时间:
2019-07-29 09:30:37
阅读次数:
126
本文源自RQ作者的一篇博文,原文是Iterables vs. Iterators vs. Generators,俺写的这篇文章是按照自己的理解做的参考翻译,算不上是原文的中译版本,推荐阅读原文,谢谢网友指正。 在了解Python的数据结构时,容器(container)、可迭代对象(iterable) ...
分类:
编程语言 时间:
2019-07-28 17:47:44
阅读次数:
149
一、前言反向代理作用隐藏服务器信息->保证内网的安全,通常将反向代理作为公网访问地址,web服务器是内网,即通过nginx配置外网访问web服务器内网举例比如小编的码云个人博客地址为:http://zhengqingya.gitee.io/blog/,现在小编想通过自己的服务器地址http://www.zhengqing520.com/blog/来访问到码云上面个人博客的地址,并且访问地址是
分类:
其他好文 时间:
2019-07-28 09:41:08
阅读次数:
113
类的定义:一个抽象的概念,保存一些共有的属性和特征 #对象:对象代表具体事物的特征功能,是类的实例 #面向对象程序设计 通过函数实现面向对象设计 def dog(name,type,gender): def jiao(dog1): print("你看[%s]狗再叫" % dog1["name"]) ... ...
分类:
编程语言 时间:
2019-07-26 19:39:28
阅读次数:
123
阅读Tacotron2源码 之 Python进阶 1. Non Local Variable with Nested Function 2. Closure in Python 3. Decorator 1. Non Local Variable with Nested Function & 160 ...
分类:
编程语言 时间:
2019-07-25 23:34:12
阅读次数:
155
<?phpnamespace App\Models;use Illuminate\Notifications\Notifiable;use Illuminate\Contracts\Auth\MustVerifyEmail;use Illuminate\Foundation\Auth\User as ...
分类:
其他好文 时间:
2019-07-25 19:09:01
阅读次数:
127