| | |
| | | import com.java110.entity.user.Cust; |
| | | import com.java110.feign.user.IUserService; |
| | | import com.java110.user.smo.IUserServiceSMO; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | * 用户服务提供类 |
| | | * Created by wuxw on 2017/4/5. |
| | | */ |
| | | @RestController |
| | | //@RestController |
| | | public class UserServiceRest extends BaseController implements IUserService { |
| | | |
| | | private final static Logger logger = LoggerFactory.getLogger(UserServiceRest.class); |
| | | |
| | | @Autowired |
| | | IUserServiceSMO iUserServiceSMO; |
| | |
| | | try{ |
| | | reqParam = this.simpleValidateJSON(data); |
| | | |
| | | Assert.isNull(reqParam,"data","传入报文错误,没有包含data节点"+reqParam); |
| | | Assert.isNotNull(reqParam,"data","传入报文错误,没有包含data节点"+reqParam); |
| | | |
| | | resultUserInfo = iUserServiceSMO.soDeleteCustInfo(reqParam.getJSONArray("data")); |
| | | |