|
@@ -11,7 +11,6 @@ import com.chelvc.cloud.vehicle.api.param.NearbyQueryParam;
|
|
|
import com.chelvc.cloud.vehicle.api.service.MerchantService;
|
|
|
import com.chelvc.framework.base.annotation.UnifiedResponseBody;
|
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -25,7 +24,6 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@Validated
|
|
|
@RestController
|
|
|
@UnifiedResponseBody
|
|
|
-@PreAuthorize("isBusiness('CUSTOMER', 'MERCHANT')")
|
|
|
public class IndexController {
|
|
|
@DubboReference
|
|
|
private UsageService usageService;
|