mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Closed #119 设置生日字段
This commit is contained in:
parent
ccfbe7427b
commit
39be3178ef
@ -17,9 +17,12 @@ package com.chatopera.cc.concurrent.chatbot;
|
||||
|
||||
import com.chatopera.cc.concurrent.user.UserDataEvent;
|
||||
import com.lmax.disruptor.RingBuffer;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public class ChatbotEventProducer {
|
||||
private final static Logger logger = LoggerFactory.getLogger(ChatbotEventProducer.class);
|
||||
private final RingBuffer<UserDataEvent> ringBuffer;
|
||||
|
||||
public ChatbotEventProducer(RingBuffer<UserDataEvent> ringBuffer)
|
||||
|
@ -27,7 +27,7 @@ public class StreamingFileUtils {
|
||||
|
||||
private StreamingFileUtils() {
|
||||
extMap.put(Constants.ATTACHMENT_TYPE_IMAGE, "gif,jpg,jpeg,png,bmp");
|
||||
extMap.put(Constants.ATTACHMENT_TYPE_FILE, "doc,docx,xls,xlsx,ppt,htm,html,txt,zip,rar,gz,bz2,c66");
|
||||
extMap.put(Constants.ATTACHMENT_TYPE_FILE, "pdf,doc,docx,xls,xlsx,ppt,htm,html,txt,zip,rar,gz,bz2,c66");
|
||||
extMap.put("flash", "swf,flv");
|
||||
extMap.put("media", "swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb");
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
<#if contacts.gender?? && contacts.gender == '-1'>未知</#if>
|
||||
</li>
|
||||
<li>
|
||||
生日:${contacts.birthday!''}
|
||||
生日:${contacts.cusbirthday!''}
|
||||
</li>
|
||||
<li>
|
||||
电话:<span class="ukefu-phone-number">${contacts.phone!''}</span>
|
||||
|
@ -143,7 +143,7 @@
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">生日:</label>
|
||||
<div class="layui-input-inline" style="line-height: 2.5em;">
|
||||
${contacts.birthday!''}
|
||||
${contacts.cusbirthday!''}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -178,7 +178,7 @@
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">生日:</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" id="birthday" name="contacts.birthday" autocomplete="off"
|
||||
<input type="text" id="birthday" name="contacts.cusbirthday" autocomplete="off"
|
||||
class="layui-input">
|
||||
<i class="layui-icon" style="position: absolute;right: 3px;top: 6px;font-size: 25px;"></i>
|
||||
</div>
|
||||
@ -284,4 +284,4 @@
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<#if contacts.gender?? && contacts.gender == '-1'>未知</#if>
|
||||
</li>
|
||||
<li>
|
||||
生日:${contacts.birthday!''}
|
||||
生日:${contacts.cusbirthday!''}
|
||||
</li>
|
||||
<li>
|
||||
电话:${contacts.phone!''}
|
||||
@ -43,4 +43,4 @@
|
||||
});
|
||||
</script>
|
||||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<div class="layui-inline uckefu-inline">
|
||||
<label class="layui-form-label">生日:</label>
|
||||
<div class="layui-input-inline" style="padding:9px 0;">
|
||||
${contacts.birthday!''}
|
||||
${contacts.cusbirthday!''}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -202,4 +202,4 @@
|
||||
var element = layui.element();
|
||||
element.init();
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<div class="layui-inline uckefu-inline">
|
||||
<label class="layui-form-label">生日:</label>
|
||||
<div class="layui-input-inline" style="padding:9px 0;">
|
||||
${contacts.birthday!''}
|
||||
${contacts.cusbirthday!''}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -202,4 +202,4 @@
|
||||
var element = layui.element();
|
||||
element.init();
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user