|
|
@@ -79,11 +79,11 @@ class SmsService extends BaseService
|
|
|
$returnStatus = isset($response['returnstatus'])? $response['returnstatus'] : '';
|
|
|
if($returnStatus != 'Failed'){
|
|
|
$this->error = 1063;
|
|
|
- RedisService::set($cacheKey,['url'=>$url,'code'=> $code,'mobile'=>$mobile,'config'=>$config,'code'=>$code,'result'=>$response,'date'=> date('Y-m-d H:i:s')], 600);
|
|
|
+ RedisService::set($cacheKey,['code'=> $code,'mobile'=>$mobile,'config'=>$config,'code'=>$code,'result'=>$response,'date'=> date('Y-m-d H:i:s')], 600);
|
|
|
return true;
|
|
|
}else{
|
|
|
$this->error = 1059;
|
|
|
- RedisService::set($cacheKey.'_fail', ['url'=>$url,'mobile'=> $mobile,'config'=>$config,'response'=>$response,'error'=>$this->error], 6 * 3600);
|
|
|
+ RedisService::set($cacheKey.'_fail', ['mobile'=> $mobile,'config'=>$config,'response'=>$response,'error'=>$this->error], 6 * 3600);
|
|
|
return false;
|
|
|
}
|
|
|
} catch (TeaUnableRetryError $e){
|