Commit 87d01a42 by usual2970

勾子回调测试

parent 45d9d41c
......@@ -30,9 +30,9 @@ type PData struct{
* @return {[type]} [description]
*/
func (c *GitController) Hook() {
resp:=&HookInfo{}
ffjson.Unmarshal(c.Ctx.Input.RequestBody,resp)
log.Info(resp.HookName)
//resp:=&HookInfo{}
//ffjson.Unmarshal(c.Ctx.Input.RequestBody,resp)
log.Info(string(c.Ctx.Input.RequestBody))
// str:=`{
// "password": "hod20x4hnkecy63",
// "hook_name": "push_hooks",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment