| | |
| | | ctx.Ok()
|
| | | }
|
| | |
|
| | |
|
| | | // checkSaleChanceParams
|
| | | // 检查销售机会参数
|
| | | func checkSaleChanceParams(saleChance request.SaleChance) (int, model.SaleChance) {
|
| | |
| | | // @Summary 销售机会列表
|
| | | // @Produce application/json
|
| | | // @Param object body request.GetSaleChanceList true "参数"
|
| | | // @Success 200 {object} contextx.Response{data=response.SaleChanceResponse}
|
| | | // @Success 200 {object} contextx.Response{data=response.SaleChanceResponse}
|
| | | // @Router /api/saleChance/list [post]
|
| | | func (con *SaleChanceApi) List(c *gin.Context) {
|
| | | var params request.GetSaleChanceList
|
| | |
| | | }
|
| | |
|
| | | ctx.OkWithDetailed(response.SaleChanceResponse{
|
| | | List: saleChances,
|
| | | List: saleChances,
|
| | | Count: int(total),
|
| | | })
|
| | | } |