# 2019年11月6日【发布】BUG #2175 未开卡注册时进入手机端礼券中心优化调整

[http://zbox.sjfx.com.cn/zentao/bug-view-2175.html](http://zbox.sjfx.com.cn/zentao/bug-view-2175.html)

分支：hotfix_coupon_is_register

服务：mobile

人员：李灿

[步骤]

现在是未开卡注册的用户，在通过菜单链接进入礼券中心时，点击券集市、领券中心会直接跳转至开卡注册页面，顾客必须注册开卡才能继续操作，这样导致用户体验不好。

[结果]

[期望]

用户在未注册未开卡的情况下，进入我的礼券后，可以正常点击进入券集市、领券中心，

用户点击兑换、购买、领取券时，则跳转至注册开卡页，返回则回到原页面。



------
------

服务：prod-mobile

------
版本：1.2.0.1573010588

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/2-deploy-web-mobile/212/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/1-web-mobile-to-prod/219/consoleText)

------
回滚版本：1.2.0.1572945546

------

------

C:\vuecode\cypress>npx cypress run 


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    3.5.0                                                                              │
  │ Browser:    Electron 73 (headless)                                                             │
  │ Specs:      1 found (all.spec.js)                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  all.spec.js                                                                     (1 of 1)
##teamcity[testSuiteStarted name='login and logout' flowId='54068']
##teamcity[testStarted name='visit' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='visit' duration='1417' flowId='54068']
##teamcity[testStarted name='login' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='login' duration='2583' flowId='54068']
##teamcity[testStarted name='parameter set' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='parameter set' duration='111' flowId='54068']
##teamcity[testStarted name='wechat' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='wechat' duration='10513' flowId='54068']
##teamcity[testStarted name='employee' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='employee' duration='101' flowId='54068']
##teamcity[testStarted name='store' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='store' duration='128' flowId='54068']
##teamcity[testStarted name='account' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='account' duration='612' flowId='54068']
##teamcity[testStarted name='tag' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='tag' duration='2192' flowId='54068']
##teamcity[testStarted name='bill' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='bill' duration='1142' flowId='54068']
##teamcity[testStarted name='sms' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='sms' duration='1109' flowId='54068']
##teamcity[testStarted name='theme' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='theme' duration='1122' flowId='54068']
##teamcity[testStarted name='logout' captureStandardOutput='true' flowId='54068']
##teamcity[testFinished name='logout' duration='1528' flowId='54068']
##teamcity[testSuiteFinished name='login and logout' duration='22942' flowId='54068']

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        12                                                                               │
  │ Passing:      12                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     22 seconds                                                                       │
  │ Spec Ran:     all.spec.js                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: C:\vuecode\cypress\cypress\videos\all.spec.js.mp4               (1 second)


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ √  all.spec.js                              00:22       12       12        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    √  All specs passed!                        00:22       12       12        -        -        -  


------
查看测试详情：[https://git.sjfx.com.cn/report/publish/blob/master/2019-11/bug2175.mp4](https://git.sjfx.com.cn/report/publish/blob/master/2019-11/bug2175.mp4)
------
