|
|
@@ -11,10 +11,10 @@ import (
|
|
|
// @Summary 查询我的订单-采购订单
|
|
|
// @Produce json
|
|
|
// @Security ApiKeyAuth
|
|
|
-// @Param userid query int true "用户ID"
|
|
|
+// @Param userid query int true "用户ID"
|
|
|
// @Param type query int false "类型 - 0:未完成 1:已完成"
|
|
|
-// @Param page query int false "页码"
|
|
|
-// @Param pagesize query int false "每页条数"
|
|
|
+// @Param page query int false "页码"
|
|
|
+// @Param pagesize query int false "每页条数"
|
|
|
// @Success 200 {array} models.Thjpurchasetradedetail
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /Ferroalloy/QueryTHJPurchaseTradeDetail [get]
|
|
|
@@ -30,12 +30,12 @@ func QueryTHJPurchaseTradeDetail(c *gin.Context) {
|
|
|
// @Summary 获取我的推广-交易数据
|
|
|
// @Produce json
|
|
|
// @Security ApiKeyAuth
|
|
|
-// @Param userid query int true "用户ID"
|
|
|
+// @Param userid query int true "用户ID"
|
|
|
// @Param marketid query int true "市场ID 采购-64201 供求-65201"
|
|
|
-// @Param page query int false "页码"
|
|
|
-// @Param pagesize query int false "每页条数"
|
|
|
+// @Param page query int false "页码"
|
|
|
+// @Param pagesize query int false "每页条数"
|
|
|
// @Success 200 {array} models.THJTradeData
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
// @Router /Ferroalloy/QueryTHJTradeData [get]
|
|
|
// @Tags 铁合金
|
|
|
func QueryTHJTradeData(c *gin.Context) {
|
|
|
@@ -49,12 +49,12 @@ func QueryTHJTradeData(c *gin.Context) {
|
|
|
// @Summary 查询我的订单-转让/受让订单
|
|
|
// @Produce json
|
|
|
// @Security ApiKeyAuth
|
|
|
-// @Param userid query int true "用户ID"
|
|
|
+// @Param userid query int true "用户ID"
|
|
|
// @Param ordertype query int true "类型 - 1:转让 2:受让"
|
|
|
-// @Param page query int false "页码"
|
|
|
-// @Param pagesize query int false "每页条数"
|
|
|
+// @Param page query int false "页码"
|
|
|
+// @Param pagesize query int false "每页条数"
|
|
|
// @Success 200 {array} models.Thjpurchasetransfer
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
// @Router /Ferroalloy/QueryTHJPurchaseTransferOrder [get]
|
|
|
// @Tags 铁合金
|
|
|
func QueryTHJPurchaseTransferOrder(c *gin.Context) {
|
|
|
@@ -64,6 +64,22 @@ func QueryTHJPurchaseTransferOrder(c *gin.Context) {
|
|
|
a.DoGetDataByPage(&m)
|
|
|
}
|
|
|
|
|
|
+// QueryTHJPurchaseTransferOrderDetail
|
|
|
+// @Summary 查询我的订单-转让/受让订单-详情
|
|
|
+// @Produce json
|
|
|
+// @Security ApiKeyAuth
|
|
|
+// @Param wrtradedetailid query string true "采购成交单ID"
|
|
|
+// @Success 200 {array} models.ThjpurchasetransferDetail
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /Ferroalloy/QueryTHJPurchaseTransferOrderDetail [get]
|
|
|
+// @Tags 铁合金
|
|
|
+func QueryTHJPurchaseTransferOrderDetail(c *gin.Context) {
|
|
|
+ a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
+ m := models.ThjpurchasetransferDetail{}
|
|
|
+ a.DoBindReq(&m)
|
|
|
+ a.DoGetDataEx(&m)
|
|
|
+}
|
|
|
+
|
|
|
// QueryTHJPromotionIncome
|
|
|
// @Summary 查询我的推广-推广收益
|
|
|
// @Produce json
|