for _k, _v := range categoryData {
if !CountryService.CheckCountryPass(currentCountryName) {
categoryData = append(categoryData[:_k], categoryData[_k+1:]...)
}
……继续阅读 »
admin
12个月前 (01-11) 186浏览 0评论
0个赞
近期同事踩了个缓存写法的坑:
public function getOnByStrategyId(int $strategyId) {
$vList = $this->cache->getByStrategyId($strategyId);
if (empty($vList)) {
$query = $t……继续阅读 »
admin
12个月前 (01-03) 240浏览 0评论
0个赞