店铺详情修改

This commit is contained in:
GaoHao
2024-09-18 16:17:19 +08:00
parent 14cb314a5a
commit 8e1f036e6b
9 changed files with 978 additions and 9 deletions

View File

@@ -20,13 +20,9 @@ let baseUrl = 'https://admintestpapi.sxczgkj.cn'
const loadingShowTime = 200
function getHeader(){
function getHeader( type ){
const headerObject={}
headerObject["Authorization"] = storageManage.token()
headerObject["Content-Type"] = 'application/json'
headerObject["loginname"] = 'admin'
headerObject["token"] = 'eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyVHlwZSI6Ik1HIiwiZXhwIjoxNjkwMTgwNzE2LCJ1c2VySWQiOiIyNDQiLCJpYXQiOjE2ODg3MDk0ODcsImxvZ2luTmFtZSI6ImFkbWluIn0.lqxxvv2-FcecQngMBorz4MpkB3mIJQDG-IUULQyV-KQ'
headerObject["userId"] = '244'
return headerObject
}