huliguo
15 小时以前 60e726c81966b042db4f7b108d06bd36109794de
ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java
@@ -22,10 +22,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
@@ -633,4 +630,11 @@
        List<Map<String, String>> bankBranchCode = bankBranchCodeService.getBankBranchCode(dto.getBankNumber());
        return R.ok(bankBranchCode);
    }
    @RequestMapping(value = "/changeShopType", method = RequestMethod.GET)
    @ApiOperation(value = "修改商户类型(转为经销商,转为加盟商)【2.0】")
    public R<Void> changeShopType(@RequestParam Long shopId){
        return shopService.changeShopType(shopId);
    }
}