Commit efdea59b authored by christ's avatar christ

bug2683

parent ee5ef85b
...@@ -94,7 +94,7 @@ class ImageConst{ ...@@ -94,7 +94,7 @@ class ImageConst{
4=>self::reportPath, 4=>self::reportPath,
5=>self::memberAvatar 5=>self::memberAvatar
); );
const ninTyPath='?x-oss-process=image/resize,m_fill,h_90,w_90';
const sizeScale = 1.5; const sizeScale = 1.5;
const goodsListImgSize = 334; const goodsListImgSize = 334;
const CommentGoodsImgSize = 138; const CommentGoodsImgSize = 138;
......
...@@ -384,6 +384,7 @@ class RefundReturnModel extends \DAO\AbstractModel ...@@ -384,6 +384,7 @@ class RefundReturnModel extends \DAO\AbstractModel
if ($pics) { if ($pics) {
foreach ($pics as $pic) { foreach ($pics as $pic) {
$readFile = \Our\Common::getStaticFile($pic, ImageConst::refund); $readFile = \Our\Common::getStaticFile($pic, ImageConst::refund);
$readFile.=ImageConst::ninTyPath;
array_push($picsRes, $readFile); array_push($picsRes, $readFile);
} }
} }
......
...@@ -122,7 +122,7 @@ config.url.resourcesHost = "http://local.qm.com" ...@@ -122,7 +122,7 @@ config.url.resourcesHost = "http://local.qm.com"
config.url.userHost = "" config.url.userHost = ""
; oss 域名 ; oss 域名
config.url.ossHost = "http://qmoss-01.oss-cn-hangzhou.aliyuncs.com" config.url.ossHost = "https://imgpre.shenbd.com"
;推送域名 ;推送域名
config.url.pushHost="192.168.1.201:9503"; config.url.pushHost="192.168.1.201:9503";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment