mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 23:53:48 +08:00
Header login link added
This commit is contained in:
@@ -180,7 +180,7 @@ export const useredit = (mobile, pet,address) => {
|
||||
// return fetch('h5/brand/query', data, 'POST' )
|
||||
// }
|
||||
//点击商品全部信息
|
||||
export const userquery = (stype) => {
|
||||
export const userquery = (stype, ) => {
|
||||
|
||||
console.log(stype);
|
||||
var data = {
|
||||
@@ -189,13 +189,20 @@ export const userquery = (stype) => {
|
||||
}
|
||||
return fetch('goods?petType='+stype, data, 'POST' )
|
||||
}
|
||||
//商品全部信息
|
||||
export const userque = (stype) => {
|
||||
|
||||
console.log(stype);
|
||||
//处方信息
|
||||
export const userque = (stype, curPage,curRow) => {
|
||||
if(!curPage)
|
||||
curPage=1;
|
||||
if(!curRow)
|
||||
curRow=10;
|
||||
let queryTail='page='+curPage+'&rows='+curRow;
|
||||
if(stype)
|
||||
queryTail = '?stype='+queryTail+'&'+queryTail;
|
||||
else
|
||||
queryTail = '?'+queryTail;
|
||||
var data = {
|
||||
}
|
||||
return fetch('goods', data, 'POST' )
|
||||
return fetch('goods'+queryTail, data, 'POST' )
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user