v1.0

parent 2b976bbb
......@@ -1070,7 +1070,6 @@ function ExcessEncryption($info,$appid,$key){
$data['token']=md5($data['data'].$data['timestamp'].$key.$appid);
return $data;
}
/**
* 解密第三方仓库加密
*/
......@@ -1087,7 +1086,6 @@ function ExcessDecrypt($data,$key){
$Redis->expire($data['token'],10);
return [0,'success',$info];
}
/**
* 加密明文
* $data 需要加密的明文 string
......
......@@ -5,5 +5,6 @@ Route::group(['middleware' => 'web'], function () {
Route::match(['get', 'post'],'/web/{key}', 'WebController@info');
Route::match(['get', 'post'],'/api/{key}', 'ApiController@Entrance');
Route::match(['get', 'post'],'/helper/{key}', 'HelperController@Entrance');
Route::match(['get', 'post'],'/hd/{key}', 'HandleController@Entrance');
});
Route::match(['get', 'post'],'/hd/{key}', 'HandleController@Entrance');
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment