创建一个商城表 包含(id,商品名,每一个商品对应数量) create table product (id primary key auto_increment, pname varchar(64), pcount int); ...
分类:
数据库 时间:
2019-12-24 09:50:29
阅读次数:
163
数据分析方法论 营销方面:4P,用户使用行为,STP理论,SWOT,等等 管理方面:PEST,5W2H,生命周期,逻辑树,金字塔模型,SMART原则,等等 4P理论 从产品(Product)、价格(Price)、渠道(Place)和促销(Promote)这四个方面分析市场。适用于公司整体经营状况的分 ...
分类:
其他好文 时间:
2019-12-23 22:32:22
阅读次数:
175
异步执行和服务降级,使用hystrix.Go()函数的返回值是chan err package main import ( "fmt" "github.com/afex/hystrix-go/hystrix" "math/rand" "time" ) type Product struct { ID... ...
分类:
其他好文 时间:
2019-12-23 16:42:57
阅读次数:
110
在hystrix的超时回调函数中处理超时推荐其他商品 package main import ( "errors" "fmt" "github.com/afex/hystrix-go/hystrix" "math/rand" "time" ) type Product struct { ID int... ...
分类:
其他好文 时间:
2019-12-23 16:39:41
阅读次数:
118
抽象类 抽象类无法被实例化,它的作用是为所有继承自它的类定义(或部分实现)接口。 使用 abstract 关键字定义抽象类。 可以像在普通类中那样在抽象类中创建方法和属性,在大多数情况下,一个抽象类至少包含一个抽象方法,抽象方法也是通过 abstract 关键字声明的。抽象方法只有方法声明,没有方法 ...
分类:
Web程序 时间:
2019-12-21 23:03:06
阅读次数:
204
Description Find the contiguous subarray within an array (containing at least one number) which has the largest product. Description Description Find ...
分类:
其他好文 时间:
2019-12-21 22:54:06
阅读次数:
97
2019-12-21 14:29:21 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 10001; int main(){ /*//A多项式,B多项式: vector<int,do ...
分类:
其他好文 时间:
2019-12-21 15:18:15
阅读次数:
66
最近践行的一个概念:最小化可行产品 https://www.jianshu.com/p/92c3034285a7 这是在采铜的《精进》里看到的一个概念。“最化小可行产品”(minimum viable product)是精益创业里的一个概念,指的是可以使用最少资源,被最快制作出来的、能被用户使用的试 ...
分类:
其他好文 时间:
2019-12-21 09:18:18
阅读次数:
71
(1)安装到68%时出现弹出框 Error in invoking target 'install' of makefile '/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/home/oracle ...
分类:
数据库 时间:
2019-12-20 18:11:19
阅读次数:
129
springboot整合solr 搭建solr服务器 solr就相当于是一个数据库 第一步:创建一个空的文件夹testsolr,为了方便管理tomcat、solr以及solr的数据源管理; 第二步、安装下载Tomcat8.5.9、solr8.1.1,并创建一个空的文件夹solrHome(solr 数 ...
分类:
编程语言 时间:
2019-12-19 19:25:48
阅读次数:
63