|
|
@@ -260,17 +260,19 @@ class CustomController extends Controller
|
|
|
//从文件批量创建客户 ssh 20240426
|
|
|
public function actionFileCreateCustom()
|
|
|
{
|
|
|
- $customerCachedKey = 'file_batch_create_customer_list';
|
|
|
- $fileCustomList = [];
|
|
|
- while ($count = Yii::$app->redis->executeCommand('LLEN', [$customerCachedKey])) {
|
|
|
- $customer = Yii::$app->redis->executeCommand('RPOP', [$customerCachedKey]);
|
|
|
- $fileCustomList[] = $customer;
|
|
|
- }
|
|
|
-
|
|
|
- if (empty($fileCustomList)) {
|
|
|
- noticeUtil::push("没有找到手机号", '15280215347');
|
|
|
- return false;
|
|
|
- }
|
|
|
+// $customerCachedKey = 'file_batch_create_customer_list';
|
|
|
+// $fileCustomList = [];
|
|
|
+// while ($count = Yii::$app->redis->executeCommand('LLEN', [$customerCachedKey])) {
|
|
|
+// $customer = Yii::$app->redis->executeCommand('RPOP', [$customerCachedKey]);
|
|
|
+// $fileCustomList[] = $customer;
|
|
|
+// }
|
|
|
+//
|
|
|
+// if (empty($fileCustomList)) {
|
|
|
+// noticeUtil::push("没有找到手机号", '15280215347');
|
|
|
+// return false;
|
|
|
+// }
|
|
|
+
|
|
|
+ $fileCustomList = ['23580,/usr/local/nginx/html/huahuibao/vendor/../../resource/images/uploads/35869/23580/202404/27/fa1714ab815b34970aa7c47604c9a13b.txt'];
|
|
|
|
|
|
foreach ($fileCustomList as $fileCustom) {
|
|
|
|