18 lines
352 B
Go
18 lines
352 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// CronSyncOrders GET/POST /api/cron/sync-orders
|
|
func CronSyncOrders(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// CronUnbindExpired GET/POST /api/cron/unbind-expired
|
|
func CronUnbindExpired(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|