updateuser
This commit is contained in:
@@ -106,7 +106,6 @@ func signParam(signType string, params map[string]interface{}) (sig string) {
|
||||
sort.Sort(sort.StringSlice(valueList))
|
||||
valueList = append(valueList, fmt.Sprintf("key=%s", globals.WxpayAppKey))
|
||||
sig = strings.Join(valueList, "&")
|
||||
fmt.Println("test111111111111111111111111111111111111111111111", sig)
|
||||
var binSig []byte
|
||||
if signType == sigTypeSha256 {
|
||||
mac := hmac.New(sha256.New, []byte(globals.WxpayAppKey))
|
||||
|
||||
@@ -280,3 +280,14 @@ func (c *User2Controller) InvestMember() {
|
||||
return retVal, errCode, err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 修改用户信息
|
||||
// @Description 修改用户信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param payload formData string true "user payload"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /UpdateUser [put]
|
||||
func (c *User2Controller) UpdateUser() {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user