|
|
@@ -6,8 +6,8 @@ import (
|
|
|
// "time"
|
|
|
// "d"
|
|
|
// "github.com/astaxie/beego"
|
|
|
- "github.com/astaxie/beego/context"
|
|
|
"fohow.com/apps"
|
|
|
+ "github.com/astaxie/beego/context"
|
|
|
// "fohow.com/apps/controllers/user_controller"
|
|
|
// "fohow.com/apps/models/activity_model"
|
|
|
// "fohow.com/apps/models/user_model"
|
|
|
@@ -73,9 +73,9 @@ func (self *AddressController) CreateAddress() {
|
|
|
wxUId := self.GetCurrentWxUserId()
|
|
|
|
|
|
addresses := address_model.GetAddressesByWxUId(wxUId)
|
|
|
- if len(addresses) >= 5 {
|
|
|
+ /* if len(addresses) >= 5 {
|
|
|
self.ReturnError(404, apps.UserAddressFull, "", nil)
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
//无默认地址的情况下,新增的地址为默认地址
|
|
|
hasDefaultAddr := false
|