user.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. package controllers
  2. import (
  3. "encoding/json"
  4. "hongze/hongze_cygx/models"
  5. "hongze/hongze_cygx/services"
  6. "hongze/hongze_cygx/utils"
  7. "rdluck_tools/paging"
  8. "strconv"
  9. "strings"
  10. "time"
  11. )
  12. //用户
  13. type UserController struct {
  14. BaseAuthController
  15. }
  16. // @Title 登录
  17. // @Description 登录接口
  18. // @Param request body models.LoginReq true "type json string"
  19. // @Success 200 {object} models.LoginResp
  20. // @router /login [post]
  21. func (this *UserController) Login() {
  22. br := new(models.BaseResponse).Init()
  23. defer func() {
  24. this.Data["json"] = br
  25. this.ServeJSON()
  26. }()
  27. var req models.LoginReq
  28. err := json.Unmarshal(this.Ctx.Input.RequestBody, &req)
  29. if err != nil {
  30. br.Msg = "参数解析异常!"
  31. br.ErrMsg = "参数解析失败,Err:" + err.Error()
  32. return
  33. }
  34. user := this.User
  35. if user == nil {
  36. br.Msg = "请登录"
  37. br.ErrMsg = "请登录"
  38. br.Ret = 408
  39. return
  40. }
  41. unionId := this.User.UnionId
  42. userId := this.User.UserId
  43. if unionId == "" {
  44. br.Msg = "参数错误"
  45. br.ErrMsg = "参数错误,unionId 为空"
  46. return
  47. }
  48. newUserId := 0
  49. if req.LoginType == 1 {
  50. //BindMobile(openId, mobile string, userId, loginType int) (err error) {
  51. req.Mobile = strings.Trim(req.Mobile, " ")
  52. newUserId, err = models.PcBindMobile(unionId, req.Mobile, userId, req.LoginType)
  53. } else if req.LoginType == 2 {
  54. if req.Email == "" {
  55. br.ErrMsg = "邮箱不能为空,请输入邮箱"
  56. br.Msg = "邮箱不能为空,请输入邮箱"
  57. return
  58. }
  59. if !utils.ValidateEmailFormatat(req.Email) {
  60. br.ErrMsg = "邮箱格式错误,请重新输入"
  61. br.Msg = "邮箱格式错误,请重新输入"
  62. return
  63. }
  64. newUserId, err = models.PcBindMobile(unionId, req.Email, userId, req.LoginType)
  65. } else {
  66. br.Msg = "无效的登录方式"
  67. br.ErrMsg = "无效的登录方式,Err:" + err.Error()
  68. return
  69. }
  70. var token string
  71. tokenItem, err := models.GetTokenByUid(newUserId)
  72. if err != nil && err.Error() != utils.ErrNoRow() {
  73. br.Msg = "登录失败"
  74. br.ErrMsg = "登录失败,获取token失败:" + err.Error()
  75. return
  76. }
  77. if tokenItem == nil || (err != nil && err.Error() == utils.ErrNoRow()) {
  78. timeUnix := time.Now().Unix()
  79. timeUnixStr := strconv.FormatInt(timeUnix, 10)
  80. token = utils.MD5(strconv.Itoa(userId)) + utils.MD5(timeUnixStr)
  81. //新增session
  82. {
  83. session := new(models.CygxSession)
  84. session.OpenId = unionId
  85. session.UnionId = unionId
  86. session.UserId = userId
  87. session.CreatedTime = time.Now()
  88. session.LastUpdatedTime = time.Now()
  89. session.ExpireTime = time.Now().AddDate(0, 1, 0)
  90. session.AccessToken = token
  91. err = models.AddSession(session)
  92. if err != nil {
  93. br.Msg = "登录失败"
  94. br.ErrMsg = "登录失败,新增用户session信息失败:" + err.Error()
  95. return
  96. }
  97. }
  98. } else {
  99. token = tokenItem.AccessToken
  100. }
  101. //新增登录日志
  102. {
  103. loginLog := new(models.WxUserLog)
  104. loginLog.UserId = userId
  105. loginLog.OpenId = unionId
  106. loginLog.Mobile = req.Mobile
  107. loginLog.Email = req.Email
  108. loginLog.CreateTime = time.Now()
  109. loginLog.Handle = "wechat_user_login"
  110. loginLog.Remark = token
  111. go models.AddWxUserLog(loginLog)
  112. }
  113. resp := new(models.LoginResp)
  114. resp.UserId = newUserId
  115. resp.Authorization = token
  116. br.Ret = 200
  117. br.Success = true
  118. br.Data = resp
  119. br.Msg = "登录成功"
  120. }
  121. // @Title 获取用户详情
  122. // @Description 获取用户详情接口
  123. // @Success 200 {object} models.UserDetail
  124. // @router /detail [get]
  125. func (this *UserController) Detail() {
  126. br := new(models.BaseResponse).Init()
  127. defer func() {
  128. this.Data["json"] = br
  129. this.ServeJSON()
  130. }()
  131. user := this.User
  132. if user == nil {
  133. br.Msg = "请登录"
  134. br.ErrMsg = "请登录,用户信息为空"
  135. br.Ret = 408
  136. return
  137. }
  138. item, err := models.GetUserDetailByUserId(user.UserId)
  139. if err != nil {
  140. br.Msg = "获取信息失败"
  141. br.ErrMsg = "获取信息失败,Err:" + err.Error()
  142. return
  143. }
  144. companyItem, err := models.GetCompanyDetailById(user.CompanyId)
  145. if err != nil && err.Error() != utils.ErrNoRow() {
  146. br.Msg = "获取信息失败"
  147. br.ErrMsg = "获取客户信息失败,Err:" + err.Error()
  148. return
  149. }
  150. if companyItem != nil {
  151. item.CompanyName = companyItem.CompanyName
  152. var hasPermission bool
  153. if companyItem.Status == "试用" || companyItem.Status == "永续" || companyItem.Status == "正式" {
  154. hasPermission = true
  155. permissionStr, err := models.GetCompanyPermission(companyItem.CompanyId)
  156. if err != nil {
  157. br.Msg = "获取信息失败"
  158. br.ErrMsg = "获取客户信息失败,Err:" + err.Error()
  159. return
  160. }
  161. item.PermissionName = permissionStr
  162. }
  163. item.HasPermission = hasPermission
  164. }
  165. br.Ret = 200
  166. br.Success = true
  167. br.Msg = "获取成功"
  168. br.Data = item
  169. }
  170. // @Title 校验用户状态信息
  171. // @Description 校验用户状态信息
  172. // @Success 200 {object} models.CheckStatusResp
  173. // @router /check/status [get]
  174. func (this *UserController) CheckLogin() {
  175. br := new(models.BaseResponse).Init()
  176. defer func() {
  177. this.Data["json"] = br
  178. this.ServeJSON()
  179. }()
  180. if this.User == nil {
  181. br.Msg = "请登录"
  182. br.ErrMsg = "请登录"
  183. br.Ret = 408
  184. return
  185. }
  186. uid := this.User.UserId
  187. //判断token是否过期
  188. userItem, err := models.GetWxUserItemByUserId(uid)
  189. if err != nil {
  190. br.Msg = "获取用户信息失败"
  191. br.ErrMsg = "获取用户信息失败,Err:" + err.Error()
  192. return
  193. }
  194. resp := new(models.CheckStatusResp)
  195. permissionStr, err := models.GetCompanyPermission(userItem.CompanyId)
  196. if err != nil {
  197. br.Msg = "获取信息失败"
  198. br.ErrMsg = "获取客户信息失败,Err:" + err.Error()
  199. return
  200. }
  201. resp.PermissionName = permissionStr
  202. if userItem.Mobile == "" && userItem.Email == "" {
  203. resp.IsBind = true
  204. }
  205. if userItem.UnionId == "" {
  206. resp.IsAuth = true
  207. }
  208. br.Success = true
  209. br.Msg = "获取成功"
  210. br.Data = resp
  211. br.Ret = 200
  212. }
  213. //
  214. //// @Title 绑定手机号或邮箱
  215. //// @Description 绑定手机号或邮箱
  216. //// @Param request body models.WxGetPhoneNumberReq true "type json string"
  217. //// @Success 200 {object} models.WxGetPhoneNumberResp
  218. //// @router /bind [post]
  219. //func (this *WechatController) Bind() {
  220. // br := new(models.BaseResponse).Init()
  221. // defer func() {
  222. // this.Data["json"] = br
  223. // this.ServeJSON()
  224. // }()
  225. // var req models.WxGetPhoneNumberReq
  226. // err := json.Unmarshal(this.Ctx.Input.RequestBody, &req)
  227. // if err != nil {
  228. // br.Msg = "参数解析异常!"
  229. // br.ErrMsg = "参数解析失败,Err:" + err.Error()
  230. // return
  231. // }
  232. // if req.EncryptedData == "" || req.Iv == "" {
  233. // br.Msg = "参数错误"
  234. // return
  235. // }
  236. // user := this.User
  237. // if user == nil {
  238. // br.Msg = "请登陆"
  239. // br.Ret = 408
  240. // return
  241. // }
  242. // sessionKey := user.SessionKey
  243. // wxMobile, err := weapp.DecryptMobile(sessionKey, req.EncryptedData, req.Iv)
  244. // if err != nil {
  245. // br.Msg = "解析用户手机号信息失败"
  246. // br.ErrMsg = "解析用户手机号信息失败,Err:" + err.Error()
  247. // return
  248. // }
  249. // err = models.ModifyUsersMobile(user.UserId, wxMobile.PurePhoneNumber)
  250. // if err != nil {
  251. // br.Msg = "获取失败"
  252. // br.ErrMsg = "获取失败,Err:" + err.Error()
  253. // return
  254. // }
  255. // resp := new(models.WxGetPhoneNumberResp)
  256. // resp.Authorization = this.Token
  257. // resp.PhoneNumber = wxMobile.PhoneNumber
  258. // resp.PurePhoneNumber = wxMobile.PurePhoneNumber
  259. // resp.CountryCode = wxMobile.CountryCode
  260. // br.Msg = "获取成功!"
  261. // br.Ret = 200
  262. // br.Success = true
  263. // br.Data = resp
  264. //}
  265. // @Title 获取我的收藏
  266. // @Description 获取我的收藏列表
  267. // @Param PageSize query int true "PageSize"
  268. // @Param CurrentIndex query int true "CurrentIndex"
  269. // @Success 200 {object} models.ArticleCollectListResp
  270. // @router /collect/list [get]
  271. func (this *UserController) CollectList() {
  272. br := new(models.BaseResponse).Init()
  273. defer func() {
  274. this.Data["json"] = br
  275. this.ServeJSON()
  276. }()
  277. userId := this.User.UserId
  278. var pageSize, currentIndex, startSize int
  279. pageSize, _ = this.GetInt("PageSize")
  280. currentIndex, _ = this.GetInt("CurrentIndex")
  281. if pageSize <= 0 {
  282. pageSize = utils.PageSize20
  283. }
  284. if currentIndex <= 0 {
  285. currentIndex = 1
  286. }
  287. startSize = utils.StartIndex(currentIndex, pageSize)
  288. total, err := models.GetArticleUserCollectCount(userId)
  289. if err != nil {
  290. br.Msg = "获取数据失败"
  291. br.ErrMsg = "获取数据失败,Err:" + err.Error()
  292. return
  293. }
  294. list, err := models.GetArticleUserCollectList(startSize, pageSize, userId)
  295. if err != nil {
  296. br.Msg = "获取数据失败"
  297. br.ErrMsg = "获取数据失败,Err:" + err.Error()
  298. return
  299. }
  300. var articleIds []string
  301. for _, v := range list {
  302. articleIds = append(articleIds, strconv.Itoa(v.ArticleId))
  303. }
  304. articleIdStr := strings.Join(articleIds, ",")
  305. articleMap := make(map[int]*models.ArticleDetail)
  306. if articleIdStr != "" {
  307. articleList, err := models.GetArticleDetailByIdStr(articleIdStr)
  308. if err != nil {
  309. br.Msg = "获取数据失败"
  310. br.ErrMsg = "获取报告详情信息失败,Err:" + err.Error()
  311. return
  312. }
  313. for _, v := range articleList {
  314. if _, ok := articleMap[v.ArticleId]; !ok {
  315. articleMap[v.ArticleId] = v
  316. }
  317. }
  318. }
  319. lenList := len(list)
  320. for i := 0; i < lenList; i++ {
  321. item := list[i]
  322. article := articleMap[item.ArticleId]
  323. list[i].Title = article.Title
  324. list[i].TitleEn = article.TitleEn
  325. list[i].UpdateFrequency = article.UpdateFrequency
  326. list[i].CreateDate = article.CreateDate
  327. list[i].PublishDate = article.PublishDate
  328. list[i].Body, _ = services.GetReportContentTextSub(article.Body)
  329. list[i].Abstract = article.Abstract
  330. list[i].CategoryName = article.CategoryName
  331. list[i].SubCategoryName = article.SubCategoryName
  332. }
  333. page := paging.GetPaging(currentIndex, pageSize, total)
  334. resp := new(models.ArticleCollectListResp)
  335. resp.List = list
  336. resp.Paging = page
  337. br.Msg = "获取成功!"
  338. br.Ret = 200
  339. br.Success = true
  340. br.Data = resp
  341. }
  342. // @Title 获取申请访谈列表
  343. // @Description 获取申请访谈列表
  344. // @Param PageSize query int true "PageSize"
  345. // @Param CurrentIndex query int true "CurrentIndex"
  346. // @Success 200 {object} models.ArticleInterviewApplyListResp
  347. // @router /interview/apply/list [get]
  348. func (this *UserController) InterviewApplyList() {
  349. br := new(models.BaseResponse).Init()
  350. defer func() {
  351. this.Data["json"] = br
  352. this.ServeJSON()
  353. }()
  354. userId := this.User.UserId
  355. var pageSize, currentIndex, startSize int
  356. pageSize, _ = this.GetInt("PageSize")
  357. currentIndex, _ = this.GetInt("CurrentIndex")
  358. if pageSize <= 0 {
  359. pageSize = utils.PageSize20
  360. }
  361. if currentIndex <= 0 {
  362. currentIndex = 1
  363. }
  364. startSize = utils.StartIndex(currentIndex, pageSize)
  365. total, err := models.GetArticleUserInterviewApplyCount(userId)
  366. if err != nil {
  367. br.Msg = "获取数据失败"
  368. br.ErrMsg = "获取数据失败,Err:" + err.Error()
  369. return
  370. }
  371. list, err := models.GetArticleUserInterviewApplyList(startSize, pageSize, userId)
  372. if err != nil {
  373. br.Msg = "获取数据失败"
  374. br.ErrMsg = "获取数据失败,Err:" + err.Error()
  375. return
  376. }
  377. var articleIds []string
  378. for _, v := range list {
  379. articleIds = append(articleIds, strconv.Itoa(v.ArticleId))
  380. }
  381. articleIdStr := strings.Join(articleIds, ",")
  382. articleMap := make(map[int]*models.ArticleDetail)
  383. if articleIdStr != "" {
  384. articleList, err := models.GetArticleDetailByIdStr(articleIdStr)
  385. if err != nil {
  386. br.Msg = "获取数据失败"
  387. br.ErrMsg = "获取报告详情信息失败,Err:" + err.Error()
  388. return
  389. }
  390. for _, v := range articleList {
  391. if _, ok := articleMap[v.ArticleId]; !ok {
  392. articleMap[v.ArticleId] = v
  393. }
  394. }
  395. }
  396. lenList := len(list)
  397. for i := 0; i < lenList; i++ {
  398. item := list[i]
  399. article := articleMap[item.ArticleId]
  400. list[i].Title = article.Title
  401. list[i].TitleEn = article.TitleEn
  402. list[i].UpdateFrequency = article.UpdateFrequency
  403. list[i].CreateDate = article.CreateDate
  404. list[i].PublishDate = article.PublishDate
  405. list[i].Body, _ = services.GetReportContentTextSub(article.Body)
  406. list[i].Abstract = article.Abstract
  407. list[i].CategoryName = article.CategoryName
  408. list[i].SubCategoryName = article.SubCategoryName
  409. }
  410. page := paging.GetPaging(currentIndex, pageSize, total)
  411. resp := new(models.ArticleInterviewApplyListResp)
  412. resp.List = list
  413. resp.Paging = page
  414. br.Msg = "获取成功!"
  415. br.Ret = 200
  416. br.Success = true
  417. br.Data = resp
  418. }
  419. // @Title 获取浏览历史列表
  420. // @Description 获取浏览历史列表
  421. // @Param PageSize query int true "PageSize"
  422. // @Param CurrentIndex query int true "CurrentIndex"
  423. // @Success 200 {object} models.ArticleBrowseHistoryListResp
  424. // @router /browse/history/list [get]
  425. func (this *UserController) BrowseHistoryList() {
  426. br := new(models.BaseResponse).Init()
  427. defer func() {
  428. this.Data["json"] = br
  429. this.ServeJSON()
  430. }()
  431. userId := this.User.UserId
  432. var pageSize, currentIndex, startSize int
  433. pageSize, _ = this.GetInt("PageSize")
  434. currentIndex, _ = this.GetInt("CurrentIndex")
  435. if pageSize <= 0 {
  436. pageSize = utils.PageSize20
  437. }
  438. if currentIndex <= 0 {
  439. currentIndex = 1
  440. }
  441. startSize = utils.StartIndex(currentIndex, pageSize)
  442. endDate := time.Now().AddDate(0, -1, 0).Format(utils.FormatDate)
  443. total, err := models.GetArticleUserBrowseHistoryCount(userId, endDate)
  444. if err != nil {
  445. br.Msg = "获取数据失败"
  446. br.ErrMsg = "获取数据失败,Err:" + err.Error()
  447. return
  448. }
  449. list, err := models.GetArticleUserBrowseHistoryList(startSize, pageSize, userId, endDate)
  450. if err != nil {
  451. br.Msg = "获取数据失败"
  452. br.ErrMsg = "获取数据失败,Err:" + err.Error()
  453. return
  454. }
  455. var articleIds []string
  456. for _, v := range list {
  457. articleIds = append(articleIds, strconv.Itoa(v.ArticleId))
  458. }
  459. articleIdStr := strings.Join(articleIds, ",")
  460. articleMap := make(map[int]*models.ArticleDetail)
  461. if articleIdStr != "" {
  462. articleList, err := models.GetArticleDetailByIdStr(articleIdStr)
  463. if err != nil {
  464. br.Msg = "获取数据失败"
  465. br.ErrMsg = "获取报告详情信息失败,Err:" + err.Error()
  466. return
  467. }
  468. for _, v := range articleList {
  469. if _, ok := articleMap[v.ArticleId]; !ok {
  470. articleMap[v.ArticleId] = v
  471. }
  472. }
  473. }
  474. lenList := len(list)
  475. for i := 0; i < lenList; i++ {
  476. item := list[i]
  477. article := articleMap[item.ArticleId]
  478. if article != nil {
  479. list[i].Title = article.Title
  480. list[i].TitleEn = article.TitleEn
  481. list[i].UpdateFrequency = article.UpdateFrequency
  482. list[i].CreateDate = article.CreateDate
  483. list[i].PublishDate = article.PublishDate
  484. list[i].Body, _ = services.GetReportContentTextSub(article.Body)
  485. list[i].Abstract = article.Abstract
  486. list[i].CategoryName = article.CategoryName
  487. list[i].SubCategoryName = article.SubCategoryName
  488. }
  489. }
  490. page := paging.GetPaging(currentIndex, pageSize, total)
  491. resp := new(models.ArticleBrowseHistoryListResp)
  492. resp.List = list
  493. resp.Paging = page
  494. br.Msg = "获取成功!"
  495. br.Ret = 200
  496. br.Success = true
  497. br.Data = resp
  498. }
  499. // @Title 未付费申请试用
  500. // @Description 未付费申请试用
  501. // @Param request body models.ApplyTryReq true "type json string"
  502. // @Success 200
  503. // @router /apply/try [post]
  504. func (this *UserController) ApplyTryOut() {
  505. br := new(models.BaseResponse).Init()
  506. defer func() {
  507. this.Data["json"] = br
  508. this.ServeJSON()
  509. }()
  510. user := this.User
  511. if user == nil {
  512. br.Msg = "请登录"
  513. br.ErrMsg = "请登录,SysUser Is Empty"
  514. br.Ret = 408
  515. return
  516. }
  517. mobile := user.Mobile
  518. var req models.ApplyTryReq
  519. err := json.Unmarshal(this.Ctx.Input.RequestBody, &req)
  520. if err != nil {
  521. br.Msg = "参数解析异常!"
  522. br.ErrMsg = "参数解析失败,Err:" + err.Error()
  523. return
  524. }
  525. var sellerMobile string
  526. if req.ApplyMethod == 2 {
  527. if req.BusinessCardUrl == "" {
  528. br.Msg = "请上传名片"
  529. return
  530. }
  531. if req.RealName == "" {
  532. br.Msg = "请输入姓名"
  533. return
  534. }
  535. if req.CompanyName == "" {
  536. br.Msg = "请输入公司名称"
  537. return
  538. }
  539. if req.BusinessCardUrl != "" && utils.RunMode == "release" {
  540. card, err := services.GetBusinessCard(req.BusinessCardUrl)
  541. if err != nil {
  542. br.Msg = "名片识别失败"
  543. br.ErrMsg = "名片识别失败,Err:" + err.Error()
  544. return
  545. }
  546. mobileStr := strings.Join(card.WordsResult.MOBILE, ",")
  547. isFlag := true
  548. if mobile != "" {
  549. if strings.Contains(mobileStr, mobile) || mobileStr == "" {
  550. isFlag = true
  551. } else {
  552. isFlag = false
  553. }
  554. }
  555. if !isFlag {
  556. //阿里云识别
  557. if utils.RunMode == "release" {
  558. aliyunResult, err := services.AliyunBusinessCard(req.BusinessCardUrl)
  559. if err != nil {
  560. br.Msg = "识别失败"
  561. br.ErrMsg = "识别失败,Err:" + err.Error()
  562. return
  563. }
  564. if !aliyunResult.Success {
  565. br.Msg = "识别失败"
  566. br.ErrMsg = "识别失败"
  567. return
  568. }
  569. mobileStr := strings.Join(aliyunResult.TelCell, ",")
  570. if mobile != "" {
  571. if strings.Contains(mobileStr, mobile) {
  572. isFlag = true
  573. } else {
  574. isFlag = false
  575. }
  576. }
  577. }
  578. }
  579. if !isFlag {
  580. br.Msg = "名片手机号与所填手机号不匹配,请重新填写"
  581. br.ErrMsg = "mobile:" + mobile
  582. return
  583. }
  584. }
  585. } else {
  586. //获取销售信息
  587. sellerItem, err := models.GetSellerByCompanyId(user.CompanyId)
  588. if err != nil {
  589. br.Msg = "申请失败"
  590. br.ErrMsg = "获取销售信息失败,Err:" + err.Error()
  591. return
  592. }
  593. sellerMobile = sellerItem.Mobile
  594. }
  595. //models.GetWxUserItemByMobile()
  596. err = models.AddApplyRecord(&req, user.Mobile,"", user.UserId,0)
  597. if err != nil {
  598. br.Msg = "申请失败"
  599. br.ErrMsg = "申请失败,Err:" + err.Error()
  600. return
  601. }
  602. br.Msg = "申请成功!"
  603. br.Ret = 200
  604. br.Success = true
  605. br.Data = sellerMobile
  606. }