Commit d0be7d42 authored by hujun's avatar hujun

图片路径

parent d3169865
......@@ -355,8 +355,9 @@ class Shop extends Basic
if ($result["external_slotting_fee"] != '-1') {
$result["external_slotting_fee"] = $result["external_slotting_fee"] * 0.01;
}
$result["api_path"] = SHOP_IMAGE_DEPOT_URL;
if (empty($result['is_show_image'])) {
$result["api_path"] = SHOP_IMAGE_DEPOT_URL;
$result["images"] = [];
if ($result["external_image_id"]) {
$param["id"] = array("in", $result["external_image_id"]);
......@@ -366,6 +367,7 @@ class Shop extends Basic
$result["images"] = count($res) > 0 ? $res : [];
}
} else {
$result["api_path"] = CK_IMG_URL.'images/';
$param["house_id"] = $params['id'];
//todo 这里的是否要更改成b端后台上传的类型
$param["img_type"] = 2;
......
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