|
|
@@ -100,13 +100,15 @@ public class CustomersStartController extends BaseController
|
|
|
* 经销商解冻查询接口
|
|
|
*/
|
|
|
@PostMapping("/addFreeCustomer")
|
|
|
- public String addFreeCustomer(String customer) {
|
|
|
+ @ResponseBody
|
|
|
+ public AjaxResult addFreeCustomer(String customer) {
|
|
|
+ String str ="";
|
|
|
try {
|
|
|
- hanaOrderComponent.hanaFreezeCustomer(customer);
|
|
|
+ str = hanaOrderComponent.getFreezeCustomer(customer);
|
|
|
} catch (Exception e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
|
- return "执行成功";
|
|
|
+ return AjaxResult.success(str);
|
|
|
}
|
|
|
@Autowired
|
|
|
private ISysUserOrderAuthorService sysUserOrderAuthorService;
|