package com.huiju.estateagents.controller;

import com.huiju.estateagents.base.ResponseBean;
import com.huiju.estateagents.reportCustomerAop.ReportCustomer;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * 微信首页
 */
@RestController
@RequestMapping("/api/wx")
public class IndexController {



    @PostMapping("/indexCustomer")
    @ReportCustomer(type = "index")
    public ResponseBean getPreloadData(@RequestParam(value = "id", required = false) String id,
                                       @RequestParam(value = "qrCodeId", required = false) String qrCodeId,
                                       @RequestParam(value = "channelId", required = false) String channelId,
                                       @RequestParam(value = "sceneId", required = false) String sceneId,
                                       HttpServletRequest request) {
        return ResponseBean.success("success");
    }

}
