|
|
@@ -19,7 +19,7 @@ import (
|
|
|
// @Success 200 {array} models.RedisTradeHolderDetailEx
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/GetMyOrders [get]
|
|
|
-// @Tags 水贝亿爵
|
|
|
+// @Tags 订单系统
|
|
|
func GetMyOrders(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -56,7 +56,7 @@ func GetMyOrders(c *gin.Context) {
|
|
|
// @Success 200 {array} models.MyTradegoodsdeliveryoffline
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/QueryMyTradegoodsdeliveryoffline [get]
|
|
|
-// @Tags 水贝亿爵
|
|
|
+// @Tags 订单系统
|
|
|
func QueryMyTradegoodsdeliveryoffline(c *gin.Context) {
|
|
|
a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
m := models.MyTradegoodsdeliveryoffline{}
|
|
|
@@ -75,7 +75,7 @@ func QueryMyTradegoodsdeliveryoffline(c *gin.Context) {
|
|
|
// @Success 200 {array} models.MyDeliveryofflinedetail
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/QueryMyDeliveryofflinedetail [get]
|
|
|
-// @Tags 水贝亿爵
|
|
|
+// @Tags 订单系统
|
|
|
func QueryMyDeliveryofflinedetail(c *gin.Context) {
|
|
|
a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
m := models.MyDeliveryofflinedetail{}
|
|
|
@@ -96,7 +96,7 @@ func QueryMyDeliveryofflinedetail(c *gin.Context) {
|
|
|
// @Success 200 {array} models.MyDeliveryofflineoperatelog
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/QueryMyDeliveryofflineoperatelog [get]
|
|
|
-// @Tags 水贝亿爵
|
|
|
+// @Tags 订单系统
|
|
|
func QueryMyDeliveryofflineoperatelog(c *gin.Context) {
|
|
|
a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
m := models.MyDeliveryofflineoperatelog{}
|
|
|
@@ -118,7 +118,7 @@ func QueryMyDeliveryofflineoperatelog(c *gin.Context) {
|
|
|
// @Success 200 {array} models.Tradeholderdetailex
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/QueryTradeHolderDetailEx [get]
|
|
|
-// @Tags 水贝亿爵
|
|
|
+// @Tags 订单系统
|
|
|
func QueryTradeHolderDetailEx(c *gin.Context) {
|
|
|
a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
m := models.Tradeholderdetailex{}
|
|
|
@@ -136,7 +136,7 @@ func QueryTradeHolderDetailEx(c *gin.Context) {
|
|
|
// @Success 200 {array} models.TradeCloseDetail
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/QueryTradeCloseDetails [get]
|
|
|
-// @Tags 水贝亿爵
|
|
|
+// @Tags 订单系统
|
|
|
func QueryTradeCloseDetails(c *gin.Context) {
|
|
|
a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
m := models.TradeCloseDetail{}
|
|
|
@@ -152,10 +152,26 @@ func QueryTradeCloseDetails(c *gin.Context) {
|
|
|
// @Success 200 {array} models.MemberPayInfo
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /sbyj/QueryMemberPayInfos [get]
|
|
|
-// @Tags 中鑫金(订单系统)
|
|
|
+// @Tags 订单系统
|
|
|
func QueryMemberPayInfos(c *gin.Context) {
|
|
|
a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
m := models.MemberPayInfo{}
|
|
|
a.DoBindReq(&m)
|
|
|
a.DoGetDataEx(&m)
|
|
|
}
|
|
|
+
|
|
|
+// QueryUserTradeSettings 查询用户交易个性化设置
|
|
|
+// @Summary 查询用户交易个性化设置
|
|
|
+// @Produce json
|
|
|
+// @Security ApiKeyAuth
|
|
|
+// @Param userid query int true "用户id"
|
|
|
+// @Success 200 {array} models.MemberPayInfo
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /sbyj/QueryUserTradeSettings [get]
|
|
|
+// @Tags 订单系统
|
|
|
+func QueryUserTradeSettings(c *gin.Context) {
|
|
|
+ a := app.GinUtils{Gin: app.Gin{C: c}}
|
|
|
+ m := models.MemberPayInfo{}
|
|
|
+ a.DoBindReq(&m)
|
|
|
+ a.DoGetDataEx(&m)
|
|
|
+}
|