Refactor controller which decides service method calls based on condition

后端 未结 0 565
眼角桃花
眼角桃花 2021-02-01 12:53

I have below controller. It has one job to login or register user (auto login). This is requirement, unfortunately.

// services
const { MESSAGES } = require(\'con         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题