...
|
...
|
@@ -369,6 +369,7 @@ class IndexController extends RestBaseController |
|
|
* @return update_content:更新内容
|
|
|
* @return soft_size:软件大小
|
|
|
* @return download_url:下载地址
|
|
|
* @return last_version:最新版本号
|
|
|
*/
|
|
|
public function updateAndroidVersion(){
|
|
|
if($this->request->isGet()){
|
...
|
...
|
@@ -386,7 +387,8 @@ class IndexController extends RestBaseController |
|
|
$data = [
|
|
|
'update_content'=>$res['update_content'],
|
|
|
'soft_size'=>$res['soft_size'],
|
|
|
'download_url'=>$res['download_url']
|
|
|
'download_url'=>$res['download_url'],
|
|
|
'last_version'=>$res['last_version'],
|
|
|
];
|
|
|
if($res['force_update'] == 0){
|
|
|
//强制更新
|
...
|
...
|
|