时长信息转到video主体 增加多线程获取时间方法
This commit is contained in:
@@ -7,7 +7,18 @@ import com.peanut.modules.master.service.ShopProductService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@Service("masterShopProductService")
|
||||
public class ShopProductServiceImpl extends ServiceImpl<ShopProductDao, ShopProduct> implements ShopProductService {
|
||||
|
||||
@Override
|
||||
public Map<String, Object> getProductDetail(Integer productId) {
|
||||
ShopProduct detail = this.getById(productId);
|
||||
HashMap<String, Object> flag = new HashMap<>();
|
||||
flag.put("detail",detail);
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user