浏览代码

处理头像

solupro 5 年之前
父节点
当前提交
162185dc71
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      protected/models/RedpackLog.php

+ 1 - 1
protected/models/RedpackLog.php

@@ -32,7 +32,7 @@ class RedpackLog extends Model {
         foreach ($list as $k => $v) {
             $_u = $users[$v['user_id']];
             $v['nick_name'] = $_u['nick_name'];
-            $v['cover_photo'] = $_u['cover_photo'];
+            $v['cover_photo'] = awsReplaceImg($_u['cover_photo']);
             if ($v['update_time_int']) {
                 $v['update_time_int'] = intval($v['update_time_int'] / 1000);
             } else {