|
|
@@ -51,13 +51,12 @@ func (self *PickAddressController) DefaultPickAddress() {
|
|
|
func (self *PickAddressController) CreatePickAddress() {
|
|
|
contact := self.GetString("contact")
|
|
|
tel := self.GetString("tel")
|
|
|
- pic_address := self.GetString("pic_address")
|
|
|
setDefault, _ := self.GetInt64("set_default")
|
|
|
|
|
|
if len(tel) != 11 {
|
|
|
self.ReturnError(404, apps.PhoneInvalid, "", nil)
|
|
|
}
|
|
|
- if pic_address == "" || contact == "" || tel == "" {
|
|
|
+ if contact == "" || tel == "" {
|
|
|
self.ReturnError(404, apps.ParamsRequired, "", nil)
|
|
|
}
|
|
|
uId := self.GetCurrentUserId()
|