Merge pull request 'feat-IRONFANS-66-Robin' (#188) from feat-IRONFANS-66-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/188
This commit is contained in:
commit
6518d37c1f
|
@ -69,7 +69,7 @@ var ErrCodeMsgMap = map[ErrCode]string{
|
||||||
|
|
||||||
ErrCodeMomentSrvFail: "动态服务错误",
|
ErrCodeMomentSrvFail: "动态服务错误",
|
||||||
ErrCodeMomentNotExist: "动态不存在",
|
ErrCodeMomentNotExist: "动态不存在",
|
||||||
ErrCodMomentBlockedFromCreatingMoment: "功能封禁中,截止时间:%v",
|
ErrCodMomentBlockedFromCreatingMoment: "功能封禁中,截止时间:%s",
|
||||||
ErrCodMomentBlockedFromCreatingMomentPermanently: "该功能已被永久封禁",
|
ErrCodMomentBlockedFromCreatingMomentPermanently: "该功能已被永久封禁",
|
||||||
|
|
||||||
ErrCodeFootPrintSrvFail: "足迹服务错误",
|
ErrCodeFootPrintSrvFail: "足迹服务错误",
|
||||||
|
|
|
@ -23,7 +23,7 @@ func (p *AccountPunishment) GetEndTimeFormatString() string {
|
||||||
if p == nil || p.EndTime == nil {
|
if p == nil || p.EndTime == nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return time.Unix(util.DerefInt64(p.EndTime), 0).Local().Format("2006年1月2日 15时04分05秒")
|
return time.Unix(util.DerefInt64(p.EndTime), 0).Local().Format("1/2 15:04")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *AccountPunishment) IsPermanent() bool {
|
func (p *AccountPunishment) IsPermanent() bool {
|
||||||
|
|
Loading…
Reference in New Issue