You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
387 B
14 lines
387 B
import {
|
|
POST
|
|
} from './Request.js';
|
|
let app = getApp();
|
|
let base = app.globalData.url;
|
|
//H5 获取用户信息
|
|
export const mpLogin = params => {
|
|
return POST('POST', `${base}/wechat/mpLogin`, params).then(res => res.data);
|
|
}
|
|
|
|
//查询优惠券
|
|
export const getDiscountList = params => {
|
|
return POST('GET', `${base}/discount/getDiscountList`, params).then(res => res.data);
|
|
} |