|  | @@ -938,12 +938,16 @@ class Api2021Controller extends Controller
 | 
	
		
			
			| 938 | 938 |          $rkey = $this->settingManagementSv->getSetting()['TMZ_ESI_TEST_EVENT_LIMIT'] . '_' . $lineId;
 | 
	
		
			
			| 939 | 939 |          \Log::debug($rkey);
 | 
	
		
			
			| 940 | 940 |          if (!$redis::setnx($rkey, 'true')) {
 | 
	
		
			
			|  | 941 | +            \Log::debug('您操作過快,請稍後再試');
 | 
	
		
			
			| 941 | 942 |              $redis::expire($rkey, 15); // 15 秒防重(這樣就算業務在其他地方掛了,他也會自動失效)
 | 
	
		
			
			| 942 | 943 |              $this->sisLog['memoIn'] = json_encode(['error' => 'logical'], JSON_UNESCAPED_UNICODE);
 | 
	
		
			
			| 943 | 944 |              $this->sisLog['memoOut'] = json_encode(['msg' => '您操作過快,請稍後再試'], JSON_UNESCAPED_UNICODE);
 | 
	
		
			
			| 944 | 945 |              
 | 
	
		
			
			| 945 | 946 |              return response()->json(["succ" => false, "err" => '您操作過快,請稍後再試']);
 | 
	
		
			
			| 946 | 947 |          }
 | 
	
		
			
			|  | 948 | +
 | 
	
		
			
			|  | 949 | +        \Log::debug('ok');
 | 
	
		
			
			|  | 950 | +
 | 
	
		
			
			| 947 | 951 |          // 業務驗證(是否加入LINE帳號的好友)
 | 
	
		
			
			| 948 | 952 |          if (!$this->aSv->lineFriendCheck($lineId, 'tmz')) {
 | 
	
		
			
			| 949 | 953 |              $this->sisLog['memoIn'] = json_encode(['error' => 'logical'], JSON_UNESCAPED_UNICODE);
 |