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