数据库中数据表类型Innodb controller 层文件 $m = M(); $m->startTrans(); $shop = $m->query('SELECT * FROM `think_shop` WHERE id='.$custom['shop_id'].' FOR UPDATE'); ...
分类:
Web程序 时间:
2018-04-19 11:53:32
阅读次数:
216
http://m.sui.taobao.org/ 网站中有很多示例,然后找到想用的示例,右键显示源码,就可以复制到自己的项目中去 1.本例中使用的是http://m.sui.taobao.org/demos/form/layout 粘贴到自己的index.html中 2.学习如何引入相关的静态资源 ...
分类:
其他好文 时间:
2018-04-18 22:29:56
阅读次数:
214
在https://mvnrepository.com/search?q=thumbnailator找到依赖相关的版本,然后加到pom.xml中 ...
分类:
其他好文 时间:
2018-04-18 01:01:21
阅读次数:
164
在ShopDao接口中添加对于shop实体类的信息 在ShopDao.xml中对shop数据表进行修改 注:在mybatis中对sql语句使用条件判断,注意在最后一个if判断语句中,最后是没有逗号的,其他的都有,是要对sql语句进行拼接 ...
分类:
其他好文 时间:
2018-04-17 23:48:27
阅读次数:
196
在resources下配置jdbc.properties 继续在resources下配置mybatis相关配置文件mybatis-config.xml 在resources/spring下配置Spring的配置文件 1)dao层的spring-dao.xml 2)配置service层的spring- ...
分类:
数据库 时间:
2018-04-17 11:49:10
阅读次数:
190
目前有6个产品组成官网https://www.elastic.co产品下载https://www.elastic.co/cn/productsElasticsearch: 权威指南https://www.elastic.co/guide/cn/elasticsearch/guide/current/index.html纸质书购买http://shop.oreilly.com/product/063
分类:
其他好文 时间:
2018-04-16 10:17:27
阅读次数:
155
//商城矿机设置 public function shop(){ if(!request()->isPost()){ return $this->fetch(); }else { $mydata = input('post.'); $result = '0'; foreach ($mydata as ...
分类:
其他好文 时间:
2018-04-14 11:11:24
阅读次数:
869
题目描述 In a 10-dollar shop, everything is worthy 10 dollars or less. In order to serve customers more effectively at the cashier, change needs to be pro ...
分类:
其他好文 时间:
2018-04-06 20:20:14
阅读次数:
226
$(".shop-list1").find("li").each(function(){ var href=$(this).attr("hrefs"); var hd1 = window.location.pathname; var hd2 = window.location.search; var ...
分类:
其他好文 时间:
2018-04-04 20:54:14
阅读次数:
164