yujian
2020-04-27 77cd7f9358cc62d70249a78ee33c7626d4bdc5b5
导师微信号随机
2个文件已修改
16 ■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserAccountControllerV2.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgOrderDetailMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserAccountControllerV2.java
@@ -686,7 +686,19 @@
        json.put("earnMoney", earnMoney);
        
        json.put("tearcherTip", "我是你的导师,为你在省赚过程中解难答疑,对你一对一辅导,倾听你的需求总结并反馈给板栗快省官方运营团队,快来添加我吧。");
        json.put("tearcherWX", userVipConfigService.getValueByKey("tearcher_weixin_num"));
        String tearcherWX = "";
        String wxs = userVipConfigService.getValueByKey("tearcher_weixin_num");
        if (!StringUtil.isNullOrEmpty(wxs)) {
            String[] array = wxs.split(",");
            if (array != null && array.length > 0) {
                int pos = (int) (Math.random() * array.length);
                tearcherWX = array[pos];
            }
        }
        json.put("tearcherWX", tearcherWX);
        json.put("newerGongLue", configService.get(ConfigKeyEnum.newerGonglue.getKey()));
        
        // 已完成
fanli/src/main/java/com/yeshi/fanli/mapping/msg/MsgOrderDetailMapper.xml
@@ -62,7 +62,7 @@
    
    <select id="getByUniqueKey" resultMap="BaseResultMap">
        select * from yeshi_ec_msg_order
        where unique_key = #{uniqueKey}
        where mo_unique_key = #{uniqueKey}
    </select>