|
@@ -1,10 +1,26 @@
|
|
|
package api
|
|
|
|
|
|
import (
|
|
|
+ "fmt"
|
|
|
+ "spu3d/bus"
|
|
|
+
|
|
|
"github.com/gin-gonic/gin"
|
|
|
+ "infish.cn/comm"
|
|
|
)
|
|
|
|
|
|
func Printr(c *gin.Context, apictx *ApiSession) (interface{}, error) {
|
|
|
- return UtilMd5("697894"), nil
|
|
|
+ // 14219
|
|
|
+ queryId := map[string]string{
|
|
|
+ "id": "638420b75c130000400069f3",
|
|
|
+ }
|
|
|
+ // fmt.Println(con)
|
|
|
+ out := map[string]interface{}{}
|
|
|
+ err := bus.NatsCenter.RequestPackApi("user.op.info", &queryId, &out, &comm.RequestOptions{
|
|
|
+ DeployPack: "cloud",
|
|
|
+ })
|
|
|
+ fmt.Println(err)
|
|
|
+ return out, nil
|
|
|
+
|
|
|
+ // return UtilMd5("697894"), nil
|
|
|
|
|
|
}
|