正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -124,7 +124,7 @@ class LoginController extends BaseController | @@ -124,7 +124,7 @@ class LoginController extends BaseController | ||
| 124 | $list = $templateModel->list(); | 124 | $list = $templateModel->list(); |
| 125 | foreach ($list as $k => $v){ | 125 | foreach ($list as $k => $v){ |
| 126 | // 使用正则表达式和 preg_match_all 函数来匹配多个 img 标签的 src 值 | 126 | // 使用正则表达式和 preg_match_all 函数来匹配多个 img 标签的 src 值 |
| 127 | - preg_match_all('/\"https:\/\/ecdn6.globalso.com\/public\/template\/(.*?)\"/', $v['html'], $matches); | 127 | + preg_match_all('/\"https:\/\/develop.globalso.com\/a\/image\/(.*?)\"/', $v['html'], $matches); |
| 128 | if (!empty($matches[1])) { | 128 | if (!empty($matches[1])) { |
| 129 | $srcValues = $matches[1]; | 129 | $srcValues = $matches[1]; |
| 130 | $imageModel = new Image(); | 130 | $imageModel = new Image(); |
-
请 注册 或 登录 后发表评论