在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/ Office問答
孤酒 回答

"http_proxy=my-proxy" ==> "http_proxy\=my-proxy"'http_proxy=my-proxy'

舊言 回答

生意參謀 ,有數(shù)據(jù)導(dǎo)出的,以前有個“自助取數(shù)”的功能, 而且相當(dāng)強(qiáng)大,雖然一年多沒有用過生意參謀了,但這個功能我感覺再怎么升級也不會取消掉吧,不然做電商的怎么分析消售數(shù)據(jù),

話寡 回答

圖片描述

換了后是mongodb了。但是還是報錯。

萌二代 回答

代碼重復(fù)的部分多,那么關(guān)鍵就是找出不重復(fù)的地方是什么,然后把重復(fù)的地方先弄成一塊,再按照不同的條件細(xì)分。

比如,你這上面的語句有很多按照$_sortType來判定排序的,自然你可以先用一個參數(shù)來存儲最基本的查詢語句;

$basic = DB::table('shop_goods')
            ->where('goods_cid',$_path)
            ->where('goods_status',1) // 0未審核 1審核通過 2審核未通過
            ->where('goods_state',0) // 0已上架 1已下架
            ->where('goods_recycle',0) // 0正常 1回收站

然后再根據(jù)$_sortType進(jìn)行條件判斷:

if($_sortType=="composite" || $_sortType==""){ //綜合 或 沒有
    $data = $basic
                ->skip($page)
                ->take(4)
                ->get();
}else if($_sortType=="price_up"){ //價格最低
    $data = $basic
                ->orderBy('goods_price','asc') // 價格最低
                ->skip($page)
                ->take(4)
                ->get();
}else if($_sortType=="price_down"){ //價格最高
    $data = $basic
                ->orderBy('goods_price','desc') // 價格最高 
                ->skip($page)
                ->take(4)
                ->get();
}else if($_sortType=="assess_down"){ // 評價最多
    $data = DB::table('shop_goods')
                ->leftJoin('shop_assess', 'shop_goods.goods_id', '=', 'shop_assess.assess_gcode')
                ->selectRaw('shop_goods.*,COUNT(shop_assess.assess_id) as assess_num')
                ->where('shop_goods.goods_cid',$_path)
                ->where('shop_goods.goods_status',1) // 0未審核 1審核通過 2審核未通過
                ->where('shop_goods.goods_state',0) // 0已上架 1已下架
                ->where('shop_goods.goods_recycle',0) // 0正常 1回收站
                ->groupBy('shop_goods.goods_id')
                ->orderBy('assess_num','desc')
                ->get();
}else if($_sortType=="publish_new"){ //最新發(fā)布
    $data = $basic
                ->orderBy('goods_time','desc') // 最新發(fā)布
                ->skip($page)
                ->take(4)
                ->get();
}

大概的思路就是這樣。

嘟尛嘴 回答

已找到解決問題答案,每次load完excel文件并且讀取完成以后,用load產(chǎn)生的phpexcel對象調(diào)用一下phpexcel本身提供的disconnectWorksheets()方法,會為phpexcel的屬性賦予null值,釋放內(nèi)存資源

傲嬌范 回答

你可以自己在 瀏覽器 訪問路由器界面
比如說 192.168.0.1 或者 192.168.1.1 。再或者看你家里的路由器背面寫著教你怎么登陸。
然后你點(diǎn)進(jìn)去多點(diǎn)幾個菜單看看看看看看看看看就大概明白了

夏木 回答

xlsx可以被unzip,如圖可見

clipboard.png

所以問題就比較簡單unzip your.xlsx (隨便找個zip的包 用內(nèi)置的zlib即可)
然后find all images in /xl/media (內(nèi)置fs模塊)

參考資料更容易找了 你谷歌一下nodejs get image from excel
第一條就是。所以,要善用搜索引擎

陪妳哭 回答

今天打開,又好了。莫名其妙啊

懶豬 回答

Remarks

The color format of the bitmap created by the CreateCompatibleBitmap function matches the color format of the device identified by the hdc parameter. This bitmap can be selected into any memory device context that is compatible with the original device.
Because memory device contexts allow both color and monochrome bitmaps, the format of the bitmap returned by the CreateCompatibleBitmap function differs when the specified device context is a memory device context. However, a compatible bitmap that was created for a nonmemory device context always possesses the same color format and uses the same color palette as the specified device context.
Note: When a memory device context is created, it initially has a 1-by-1 monochrome bitmap selected into it. If this memory device context is used in CreateCompatibleBitmap, the bitmap that is created is a monochrome bitmap. To create a color bitmap, use the HDC that was used to create the memory device context

MSDN 里說了CreateCompatibleBitmap創(chuàng)建的是monochrome(單色的)

瘋子范 回答

同域規(guī)則只有1個,即必須滿足三個相同:相同協(xié)議,相同域名,相同端口。
上述3個點(diǎn)有一個不相同,便是跨域。
a.google.com 和 a.b.google.com 理解為是相同一級域名 google.com 的子域,可以稱它們兩個為同父域,同一個父域(父級域名)不能混淆為同域,這是兩個概念。

來守候 回答

不知在該類中是否有JedisConnectionFactory變量,其實(shí)如果你使用了@Component注解了之后,你可以直接在該類中直接使用@AutoWired直接注入

@Component
public class RedisCacheTransfer {
    @Autowired
    private JedisConnectionFactory jedisConnectionFactory
    
}

這樣寫不是更加優(yōu)美?
如果你想將該類注冊到MybatisRedisCache中進(jìn)行設(shè)置,則你可以在你的conifg文件中,當(dāng)SpringBoot啟動的時候在Mybatis配置方法中加入方法即可

局外人 回答

1、如果你是在windows上操作,安裝xampp,把代碼部署進(jìn)去就可以了。

2、linux上則要安裝lnmp相關(guān)環(huán)境才可以。

傻丟丟 回答

一般用input type=radio + CSS來

如果用圖上jq寫的話 設(shè)置選中后高亮的class樣式例如active

$(".p>span").on("click",e=>{
  var yard=$(e.target).text()
  
  if($(e.target).hasClass('active')){
    $(e.target).removeClass('active')
  }else{
    $(".p>span").removeClass('active')
    $(e.target).addClass('active')
  }
})
扯不斷 回答

不行。這要看exe怎么寫的了。不過也可以-o 到一個內(nèi)存映射出來的一個本地磁盤。不過太繞,不推薦。

短嘆 回答

sc create php binpath= "c:/php.exe" displayname= "php-fpm" start= auto

卟乖 回答

加$可以鎖定單元格
比如sum($a$1:$a$6)

挽青絲 回答

官網(wǎng)還提供了一個辦法,每次點(diǎn)開modal的時候給它設(shè)置一個新key,這樣每次都是一個新的modal..