md
This commit is contained in:
parent
c5e201e94e
commit
05520044ac
@ -34,6 +34,7 @@ import com.xdadan.erp.emis.domain.vo.Sender;
|
|||||||
import com.xdadan.erp.emis.domain.vo.WaybillOrder;
|
import com.xdadan.erp.emis.domain.vo.WaybillOrder;
|
||||||
import com.xdadan.erp.emis.service.*;
|
import com.xdadan.erp.emis.service.*;
|
||||||
import com.xdadan.erp.emis.utils.WaybillHelper;
|
import com.xdadan.erp.emis.utils.WaybillHelper;
|
||||||
|
import com.xdadan.erp.system.service.ISysConfigService;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
@ -66,6 +67,10 @@ public class EmisCommonController extends EmisBaseController
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IEmisRegionService emisRegionService;
|
private IEmisRegionService emisRegionService;
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ISysConfigService configService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmisBaseService emisBaseService;
|
private EmisBaseService emisBaseService;
|
||||||
|
|
||||||
@ -109,6 +114,35 @@ public class EmisCommonController extends EmisBaseController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取APP版本
|
||||||
|
{
|
||||||
|
version: '1.0.1',
|
||||||
|
versionCode: 101,
|
||||||
|
apkUrl: 'http://192.168.1.7:5173/static/t.apk',
|
||||||
|
// apkUrl: 'http://oss-emis.tanex56.com/sapp/sdg/hdbg.png',
|
||||||
|
wgtUrl: 'http://192.168.1.7:5173/static/t.wgt?t.wgt',
|
||||||
|
// whiteDeviceIds: ['F9E778C90D0E9A8DA9D95AA97B00A3FB'],
|
||||||
|
}
|
||||||
|
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
|
||||||
|
@RequestMapping(value = "/getLastAppVersion")
|
||||||
|
public AjaxResult getLastAppVersion()
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
String LastAppVersion = configService.selectConfigByKey("sys.app.version");
|
||||||
|
return AjaxResult.success("获取成功",LastAppVersion);
|
||||||
|
|
||||||
|
}catch (Exception ex){
|
||||||
|
ex.printStackTrace();
|
||||||
|
return AjaxResult.error(ex.getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取电子面单单号
|
* 获取电子面单单号
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user