(itemInfo, columns, services)
| 17 | |
| 18 | export class GoodsBaseInfo { |
| 19 | constructor(itemInfo, columns, services) { |
| 20 | this.title = itemInfo.title |
| 21 | this.desc = itemInfo.desc |
| 22 | this.newPrice = itemInfo.price |
| 23 | this.oldPrice = itemInfo.oldPrice |
| 24 | this.discount = itemInfo.discountDesc |
| 25 | this.columns = columns |
| 26 | this.services = services |
| 27 | |
| 28 | this.realPrice = itemInfo.lowNowPrice |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | export class ShopInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected