app/views/educode_sales/staffs/edit.html.erb in educode_sales-0.3.5 vs app/views/educode_sales/staffs/edit.html.erb in educode_sales-0.3.6

- old
+ new

@@ -95,10 +95,10 @@ if (area_ids.length == 0) { layer.alert("请选择负责区域"); return false; } data.field['area_ids'] = area_ids; - request.authPut("educode_sales/staffs/" + parent.staff_id, data.field, function (res) { + request.authPut("missions/staffs/" + parent.staff_id, data.field, function (res) { console.log(res.success == false) if (res.success == false) { layer.alert(res.msg) } else { layer.close(parent.index); \ No newline at end of file