|
|
@@ -148,6 +148,10 @@ class CustomController extends Controller
|
|
|
// 把所有客户的累计消费和成长值、积分都刷新一下
|
|
|
public function actionRefreshCustomData()
|
|
|
{
|
|
|
+
|
|
|
+ ini_set('memory_limit', '2045M');
|
|
|
+ set_time_limit(0);
|
|
|
+
|
|
|
try{
|
|
|
// 1. 查询 xhShop 表,获取所有 ptStyle = 1 的门店数据
|
|
|
$allShops = \bizHd\shop\classes\ShopClass::getAllByCondition(['ptStyle'=>1, 'status'=>1], 'id ASC', 'id, mainId');
|