Merge branch 'sit-Carl' of gitee.com:carl_Ming_1/smart-admin into sit-He

This commit is contained in:
Admin
2022-01-19 12:17:29 +00:00
committed by Gitee
39 changed files with 539 additions and 572 deletions

View File

@@ -147,26 +147,26 @@ export const userLongin = (mobile, pet, address) => {
//注册
export const useredit = (mobile, pet, address) => {
var data = {
mobile: mobile,
memberName: '',
realName: '',
gender: '',
email: '',
openId: '',
unionId: '',
birthday: '',
provinceId: '',
cityId: '',
districtId: '',
storeCode: '',
remark: '',
memberMark: '',
remark: ''
mobile:mobile,
memberName:'',
realName:'',
gender:'',
email:'',
openId:'',
unionId:'',
birthday:'',
provinceId:'',
cityId:'',
districtId:'',
storeCode:'',
remark:'',
memberMark:'',
remark:''
}
return fetch('member?type=add', data, 'POST')
return fetch('member?type=add', data, 'POST' )
}
//查询标品全部信息
//查询标品全部信息
// export const userquery = (mobile, pet,address) => {
// var data = {
// channelId:"15",
@@ -239,11 +239,7 @@ export const searchchanpin = (stype,usertype,curPage,curRow) => {
for(var key in list){
str = str + key + "=" + list[key] + "&";
}
str = str.substr(0, str.length - 1);
var data = {
page: 1,
row: 10
}
return fetch('product/query?petType='+usertype+str+queryTail, data, 'POST' )
}