作者 庄敏学

成本导入

@@ -37,7 +37,7 @@ func (gateway HttpLibCostStructured) BaseUrl() string { @@ -37,7 +37,7 @@ func (gateway HttpLibCostStructured) BaseUrl() string {
37 37
38 //批量添加成本管理 38 //批量添加成本管理
39 func (gateway HttpLibCostStructured) BatchCreateCostManagemant(param BatchAddCostManagemantRequest) (*BatchAddCostManagemantResponse, error) { 39 func (gateway HttpLibCostStructured) BatchCreateCostManagemant(param BatchAddCostManagemantRequest) (*BatchAddCostManagemantResponse, error) {
40 - url := fmt.Sprintf("%s%s", gateway.BaseUrl(), "/cost-managemants/batch-update-cost-managemants") 40 + url := fmt.Sprintf("%s%s", gateway.BaseUrl(), "/cost-managemants/batch-create-cost-managemants")
41 method := "post" 41 method := "post"
42 var data BatchAddCostManagemantResponse 42 var data BatchAddCostManagemantResponse
43 err := gateway.FastDoRequest(url, method, param, &data) 43 err := gateway.FastDoRequest(url, method, param, &data)