File -> Projects Structure -> Module ,打开如下页面 现在要做的是把wmy模块下的springcloud-provider-dept-8001移动到顶层 step1:选中目标模块 step2: 删掉com.wmy. ,可以发现已经模块已经自动移动了