取消 首页菜单119版本IOS不显示发票以及线上店铺
This commit is contained in:
@@ -9,11 +9,13 @@ spring:
|
|||||||
username: ysk_test
|
username: ysk_test
|
||||||
password: mysqlroot@123
|
password: mysqlroot@123
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
|
|
||||||
# datasource:
|
# datasource:
|
||||||
# url: jdbc:mysql://101.37.12.135:3306/ysk_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
# url: jdbc:mysql://101.37.12.135:3306/testchao?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
# username: ysk_test
|
# username: testchao
|
||||||
# password: CZGmysqlroot@123
|
# password: 2HzbCB3SHM2pWXWT
|
||||||
# driver-class-name: com.mysql.jdbc.Driver
|
# driver-class-name: com.mysql.jdbc.Driver
|
||||||
|
|
||||||
parameter:
|
parameter:
|
||||||
### 这个根据自己的情况配置
|
### 这个根据自己的情况配置
|
||||||
domain: https://admintestapi.sxczgkj.cn
|
domain: https://admintestapi.sxczgkj.cn
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
package cn.pluss.platform.mapper;
|
package cn.pluss.platform.mapper;
|
||||||
|
|
||||||
import cn.pluss.platform.entity.BankCodeSxf;
|
import cn.pluss.platform.entity.BankCodeSxf;
|
||||||
|
import cn.pluss.platform.entity.BankCodeYs;
|
||||||
import cn.pluss.platform.leshua.BankNameVO;
|
import cn.pluss.platform.leshua.BankNameVO;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import lombok.val;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -10,4 +13,8 @@ import java.util.List;
|
|||||||
public interface BankCodeSxfMapper extends BaseMapper<BankCodeSxf> {
|
public interface BankCodeSxfMapper extends BaseMapper<BankCodeSxf> {
|
||||||
|
|
||||||
List<BankNameVO> getBranchName(@Param(value="areaCode")String areaCode, @Param(value="provinceCode")String provinceCode, @Param(value="bankName")String bankName, @Param(value="branchName")String branchName);
|
List<BankNameVO> getBranchName(@Param(value="areaCode")String areaCode, @Param(value="provinceCode")String provinceCode, @Param(value="bankName")String bankName, @Param(value="branchName")String branchName);
|
||||||
|
default BankCodeSxf selectByContactLine(String contactLine) {
|
||||||
|
val qWrapper = new LambdaQueryWrapper<BankCodeSxf>().eq(BankCodeSxf::getCnapsCode, contactLine);
|
||||||
|
return selectOne(qWrapper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,16 +12,16 @@ spring:
|
|||||||
# password: prodCZGmysqlroot@123
|
# password: prodCZGmysqlroot@123
|
||||||
# driver-class-name: com.mysql.jdbc.Driver
|
# driver-class-name: com.mysql.jdbc.Driver
|
||||||
# #新
|
# #新
|
||||||
datasource:
|
|
||||||
url: jdbc:mysql://rm-bp1uo9iq250st2e691o.mysql.rds.aliyuncs.com.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
|
||||||
username: root
|
|
||||||
password: prodCZGmysqlroot@123
|
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
|
||||||
# datasource:
|
# datasource:
|
||||||
# url: jdbc:mysql://101.37.12.135:3306/ysk_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
# url: jdbc:mysql://rm-bp1uo9iq250st2e691o.mysql.rds.aliyuncs.com.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
# username: ysk_test
|
# username: root
|
||||||
# password: CZGmysqlroot@123
|
# password: prodCZGmysqlroot@123
|
||||||
# driver-class-name: com.mysql.jdbc.Driver
|
# driver-class-name: com.mysql.jdbc.Driver
|
||||||
|
datasource:
|
||||||
|
url: jdbc:mysql://101.37.12.135:3306/ysk_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
|
username: ysk_test
|
||||||
|
password: mysqlroot@123
|
||||||
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
logging:
|
logging:
|
||||||
config: classpath:log4j2-dev.xml
|
config: classpath:log4j2-dev.xml
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,6 @@ public enum DeviceOperateType {
|
|||||||
return ot.getName();
|
return ot.getName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return "virtual";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ public class AppMenuServiceImpl extends ServiceImpl<AppMenuMapper, AppMenu> impl
|
|||||||
@Override
|
@Override
|
||||||
public List<Map<String, Object>> getHomeMenu(HttpServletRequest request) {
|
public List<Map<String, Object>> getHomeMenu(HttpServletRequest request) {
|
||||||
// 1、安卓; 2、iOS
|
// 1、安卓; 2、iOS
|
||||||
//int clientType = HttpUtils.isIOS(request)? 2: 1;
|
int clientType = HttpUtils.isIOS(request)? 2: 1;
|
||||||
int clientType = HttpUtils.phoneType(request)?2:1;
|
// int clientType = HttpUtils.phoneType(request)?2:1;
|
||||||
final String demoFlag = request.getHeader("demo");
|
final String demoFlag = request.getHeader("demo");
|
||||||
|
|
||||||
List<Map<String, Object>> result = new ArrayList<>();
|
List<Map<String, Object>> result = new ArrayList<>();
|
||||||
@@ -71,13 +71,13 @@ public class AppMenuServiceImpl extends ServiceImpl<AppMenuMapper, AppMenu> impl
|
|||||||
|
|
||||||
Map<String, Object> map = null;
|
Map<String, Object> map = null;
|
||||||
for (AppMenu appMenu : appMenuList) {
|
for (AppMenu appMenu : appMenuList) {
|
||||||
if (StringUtils.isNotBlank(version)){
|
// if (StringUtils.isNotBlank(version)){
|
||||||
if ("119".equals(version) && clientType==2){
|
// if ("119".equals(version) && clientType==2){
|
||||||
if (appMenu.getId()==62 || appMenu.getId()==18){
|
// if (appMenu.getId()==62 || appMenu.getId()==18){
|
||||||
break;
|
// break;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
AppMenu.wrapper(appMenu);
|
AppMenu.wrapper(appMenu);
|
||||||
menuPathConvert(appMenu, request);
|
menuPathConvert(appMenu, request);
|
||||||
if (map == null || !map.get("type").equals(appMenu.getMenuGroupDesc())) {
|
if (map == null || !map.get("type").equals(appMenu.getMenuGroupDesc())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user