后臺提供的url如下:http://yiwuyahei.com/api/v1/i...這個url中的58ab9efadc7e2527dc7d00e2是一個issue_id字段。我前臺的http.post服務(wù)代碼如下: $http({
url: 'xxx',
method: 'post',
headers: {'Authorization': 'Bearer ' + /*sessionStorage.token*/data.access_token},
data:$scope.data
})我這里的url要如何去隨動的拼接issue_id
請教如何拼接http.post服務(wù)里的url?
紅顏莎娜
2018-10-09 13:27:55