|
@@ -110,7 +110,7 @@ type ChartFromUniqueCodeRespItem struct {
|
|
}
|
|
}
|
|
|
|
|
|
// GetUserChartList 查询社区中对用户可见的图表列表
|
|
// GetUserChartList 查询社区中对用户可见的图表列表
|
|
-func GetUserChartList(businessCode, userMobile, telAreaCode, keyword string) (resp UserChartListRespItem, err error, errMsg string) {
|
|
|
|
|
|
+func GetUserChartList(businessCode, userMobile, telAreaCode, keyword string, currentIndex, pageSize int) (resp UserChartListRespItem, err error, errMsg string) {
|
|
defer func() {
|
|
defer func() {
|
|
if err != nil {
|
|
if err != nil {
|
|
msg := fmt.Sprintf("查询社区中对用户可见的图表列表 GetUserChartList:Err:%v,ErrMsg:%s", err, errMsg)
|
|
msg := fmt.Sprintf("查询社区中对用户可见的图表列表 GetUserChartList:Err:%v,ErrMsg:%s", err, errMsg)
|
|
@@ -118,7 +118,7 @@ func GetUserChartList(businessCode, userMobile, telAreaCode, keyword string) (re
|
|
go alarm_msg.SendAlarmMsg(msg, 3)
|
|
go alarm_msg.SendAlarmMsg(msg, 3)
|
|
}
|
|
}
|
|
}()
|
|
}()
|
|
- urlQuery := fmt.Sprintf("BusinessCode=%s&UserMobile=%s&UserTelAreaCode=%s&Keyword=%s", businessCode, userMobile, telAreaCode, keyword)
|
|
|
|
|
|
+ urlQuery := fmt.Sprintf("BusinessCode=%s&UserMobile=%s&UserTelAreaCode=%s&Keyword=%s&CurrentIndex=%d&PageSize=%d", businessCode, userMobile, telAreaCode, keyword, currentIndex, pageSize)
|
|
result, err := GetUserChartListLib(urlQuery)
|
|
result, err := GetUserChartListLib(urlQuery)
|
|
if err != nil {
|
|
if err != nil {
|
|
errMsg = "查询失败"
|
|
errMsg = "查询失败"
|