package com.hz.his.feign.service.platform;

import com.alibaba.fastjson.JSONObject;
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author
 */
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-meituan")
public interface SPhipMeiTuanOrderService {

    /**
     * 美团订单推送crm验证
     * @param jsonObject
     * orderId 美团订单id
     * phone 手机号
     * @return
     */
    @PostMapping(value = "/meituan/order/sendCrm")
    Result sendCrm(@RequestBody JSONObject jsonObject);
}