| | |
| | | import { http } from "@kit.NetworkKit"; |
| | | import { HttpResponseResult } from "../../data/HttpResponse"; |
| | | import { LvMarkdownIn } from "@luvi/lv-markdown-in" |
| | | import { ROMAIN } from "../../utils/config"; |
| | | import { DOMAIN } from "../../utils/config"; |
| | | |
| | | class BannerInfo { |
| | | pic: string = '' |
| | |
| | | getDetail() { |
| | | let httpRequest = http.createHttp(); |
| | | httpRequest.request( |
| | | `${ROMAIN}/quiz-community/public/v1.0/home/slideshows/details?bannerId=${this.bannerId}`, |
| | | `${DOMAIN}/quiz-community/public/v1.0/home/slideshows/details?bannerId=${this.bannerId}`, |
| | | { |
| | | method: http.RequestMethod.GET, |
| | | header: { 'Content-Type': 'application/json', 'x-jwt-token': `Bearer ${AppStorage.get('x-jwt-token')}` }, |