Commit cfcc1776 authored by JingChao's avatar JingChao

Updates angular/hlsHttp.md

Auto commit by GitBook Editor
parent cd45c474
...@@ -8,11 +8,11 @@ APP的开发模式采用前后台完全分离的开发模式,前端代码中 ...@@ -8,11 +8,11 @@ APP的开发模式采用前后台完全分离的开发模式,前端代码中
```javascript ```javascript
function car_bind() { function car_bind() {
offsize = 1; offsize = 1;
var url = baseConfig.basePath + 'hls_car_bind'; // var url = baseConfig.basePath + 'hls_car_bind';//接口地址
var param = { var param = {
"offsize": offsize, "offsize": offsize,
}; };
return hlsHttp.post(url, param).success(function (res) { //品牌下拉框初始化 hlsHttp.post(url, param).success(function (res) {//品牌下拉框初始化
if (res.result == 'S') { if (res.result == 'S') {
vm.brands = res.brand_id_list; vm.brands = res.brand_id_list;
} else if (res.result == 'E') { } else if (res.result == 'E') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment