|
@@ -37,7 +37,13 @@ class ZskkApiController extends Api
|
|
|
{
|
|
|
$key = 'zLxapoeqWYpoeqWY';
|
|
|
$info = Gm::decrypt($key,$data);
|
|
|
- return json_decode(base64_decode($info),true);
|
|
|
+ $return = json_decode(base64_decode($info),true);
|
|
|
+ if(empty($return))
|
|
|
+ {
|
|
|
+ return [];
|
|
|
+ }else{
|
|
|
+ return json_decode(base64_decode($info),true);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public function makeEncryptData($data)
|