专题推广
This commit is contained in:
@@ -446,4 +446,32 @@ apiQuery.getAppCity = function(params){
|
||||
})
|
||||
}
|
||||
|
||||
//素材首页
|
||||
apiQuery.getMaterialHome = function(params){
|
||||
return new Promise(function (resolve, reject) {
|
||||
HttpRequest(false, Config.api.materialHome, 2, params, "GET", resolve, reject)
|
||||
})
|
||||
}
|
||||
|
||||
//生成专题
|
||||
apiQuery.putMaterialHomeTopic = function (params) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
HttpRequest(false, Config.api.materialHomeTopic, 2, params, "PUT", resolve, reject)
|
||||
})
|
||||
}
|
||||
|
||||
//专题首页
|
||||
apiQuery.getMaterialTopic = function(params){
|
||||
return new Promise(function (resolve, reject) {
|
||||
HttpRequest(false, Config.api.materialTopic, 2, params, "GET", resolve, reject)
|
||||
})
|
||||
}
|
||||
|
||||
//获取二维码
|
||||
apiQuery.getMaterialHomeQrcode = function(params){
|
||||
return new Promise(function (resolve, reject) {
|
||||
HttpRequest(false, Config.api.materialHomeQrcode, 2, params, "GET", resolve, reject)
|
||||
})
|
||||
}
|
||||
|
||||
export default apiQuery;
|
||||
Reference in New Issue
Block a user