|
@@ -7,6 +7,7 @@ import (
|
|
"jyBXSubscribe/api/internal/svc"
|
|
"jyBXSubscribe/api/internal/svc"
|
|
"jyBXSubscribe/api/internal/types"
|
|
"jyBXSubscribe/api/internal/types"
|
|
"jyBXSubscribe/rpc/model/service"
|
|
"jyBXSubscribe/rpc/model/service"
|
|
|
|
+ "time"
|
|
|
|
|
|
"app.yhyue.com/moapp/jybase/common"
|
|
"app.yhyue.com/moapp/jybase/common"
|
|
|
|
|
|
@@ -83,6 +84,12 @@ func (l *SubscribeUpdateLogic) SubscribeUpdate(req *types.SubscribeUpdateReq) (r
|
|
resp.Err_code, resp.Err_msg = -1, "修改失败"
|
|
resp.Err_code, resp.Err_msg = -1, "修改失败"
|
|
l.Error(fmt.Sprintf("%+v", req), resp.Err_msg)
|
|
l.Error(fmt.Sprintf("%+v", req), resp.Err_msg)
|
|
} else {
|
|
} else {
|
|
|
|
+ it.MgoLog.Save("ovipjy_log", map[string]interface{}{
|
|
|
|
+ "userid": req.UserId,
|
|
|
|
+ "o_vipjy": req,
|
|
|
|
+ "createtime": time.Now().Unix(),
|
|
|
|
+ "type": "o_vipjy",
|
|
|
|
+ })
|
|
resp.Data = map[string]interface{}{
|
|
resp.Data = map[string]interface{}{
|
|
"status": status,
|
|
"status": status,
|
|
}
|
|
}
|