Merge branch 'dev' of http://gitea.tools.fontree.cn:3000/fiee/fonchain-fiee into dev
This commit is contained in:
commit
bf9d22c0a3
@ -218,6 +218,8 @@ message UserInfoResponse{
|
||||
string nickName = 17;
|
||||
string telNum = 18;
|
||||
string telAreaCode = 19;
|
||||
string idNumber = 20;
|
||||
string dateOfBirth = 21;
|
||||
}
|
||||
message RealNameResponse{
|
||||
uint64 id = 1;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -597,6 +597,14 @@ func (this *TaskAssignRecordsQueryResponse) Validate() error {
|
||||
}
|
||||
}
|
||||
}
|
||||
if this.Summary != nil {
|
||||
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Summary); err != nil {
|
||||
return github_com_mwitkow_go_proto_validators.FieldError("Summary", err)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (this *TaskAssignRecordsSummary) Validate() error {
|
||||
return nil
|
||||
}
|
||||
func (this *ArtistUploadStatsItem) Validate() error {
|
||||
|
||||
@ -161,7 +161,12 @@ func MetricsArtistAccountExport(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
userInfo := login.GetUserInfoFromC(ctx)
|
||||
exportFileName := "艺人账号" + req.Month + ".xlsx"
|
||||
var exportFileName string
|
||||
if req.Month != "" {
|
||||
exportFileName = "艺人账号" + req.Month + ".xlsx"
|
||||
} else {
|
||||
exportFileName = "艺人账号.xlsx"
|
||||
}
|
||||
filePath := fmt.Sprintf("./runtime/%d/%s", userInfo.ID, exportFileName)
|
||||
utils.CheckDirPath("./runtime/"+fmt.Sprint(userInfo.ID), true)
|
||||
sheet := "Sheet1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user