//package com.gree.mall.manager.controller.manual;
//
//
//import com.gree.mall.manager.exception.RemoteServiceException;
//import com.gree.mall.manager.helper.ResponseHelper;
//import com.gree.mall.manager.logic.manual.ManualWorkLogic;
//import com.gree.mall.manager.plus.entity.User;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.BeanUtils;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//import javax.servlet.http.HttpServletRequest;
//import java.util.List;
//
//@Slf4j
//@RestController
//@Api(value = "人工指定业务员", tags = {"人工指定业务员"})
//@RequestMapping(value = "/manual", produces = "application/json; charset=utf-8")
//public class ManualWorkController {
//    @Autowired
//    private ManualWorkLogic manualWorkLogic;
//    @PostMapping("/assign/worker")
//    @ApiOperation(value = "指定业务员")
//    public ResponseHelper assignWorker(
//            HttpServletRequest request,
//            @ApiParam(value = "个人微信的手机号", required = true) @RequestParam String personalPhone,
//            @ApiParam(value = "企业微信的手机号", required = true) @RequestParam String workPhone
//    ) throws RemoteServiceException {
//        return ResponseHelper.success(manualWorkLogic.assignWorker(request, personalPhone, workPhone));
//    }
//
//}
