当前位置:网站首页>What should I do if the mobile phone number cannot be updated

What should I do if the mobile phone number cannot be updated

2022-06-10 22:33:00 Jinan small program champion

  Business scenario processing

  The mobile phone number cannot be updated , How to deal with


        //  Update interface editing method . Corresponding to the front-end Edit button . Method  remember 1
        public void Update(AddOrUpdatebaseCustomerReq obj)
        {
            // write01   Get the currently cached user information .  The obtained information is assigned to the change user  User variables .
            var user = _auth.GetCurrentUser().User;
            //  Operation of things 
            UnitWork.Update<baseCustomer>(u => u.Id == obj.Id, u => new baseCustomer
            {
                cName=obj.cName,
                taxCode=obj.taxCode,
                bossName=obj.bossName,
                bank=obj.bank,
                bankName=obj.bankName,
                registAddress=obj.registAddress,
                officeAddress=obj.officeAddress,              
                business=obj.business,
                relationName=obj.relationName,
                relationMob=obj.relationMob,
                typeId=obj.typeId,
                // The field to be written must be written to ! otherwise , Mobile number update not 
原网站

版权声明
本文为[Jinan small program champion]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206102114558736.html