Commit d93f80e8 authored by christ's avatar christ

avc

parent 3288c695
......@@ -419,6 +419,9 @@ class ApiConst
const minus = 0;
const plus = 1;
const set = 2;
//桌面最新版本
const clietnAppversion='1.0.1';
//微信小程序是否发布
const isWxPublish = 0;
......
......@@ -2,6 +2,7 @@
namespace Business\Common;
use Our\ApiConst;
use Our\Common;
use Our\NameConst;
......@@ -24,7 +25,8 @@ class SettingServiceModel extends \Business\AbstractModel{
*/
public function getAppVersion(){
$settingDAO = \DAO\SettingModel::getInstance();
$version = $settingDAO->getListCache(array('app_version'));
$version = ApiConst::clietnAppversion;
//$version = $settingDAO->getListCache(array('app_version'));
$updateUrl=\Bootstrap::getUrlIniConfig('ossHost');
$fileName='/'.NameConst::refund;
......
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 to comment