Skip to content

Commit

Permalink
Merge pull request #93 from sj-distributor/add-ext-for-moon-house
Browse files Browse the repository at this point in the history
Add ext for moon house
  • Loading branch information
MonesyH authored Nov 12, 2024
2 parents 6b96f01 + 4ec154c commit d4d2ae4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,14 +452,14 @@ private PhoneOrderRecordInformationDto ExtractPhoneOrderRecordInfoFromRecordName
{
'3' or '6' => PhoneOrderRestaurant.JiangNanChun,
'5' or '7' => PhoneOrderRestaurant.XiangTanRenJia,
'8' or '9' => PhoneOrderRestaurant.MoonHouse,
'8' or '9' or '2' => PhoneOrderRestaurant.MoonHouse,
_ => throw new Exception("Phone Number not exist")
},
WorkWeChatRobotKey = phoneNumber[0] switch
{
'3' or '6' => _phoneOrderSetting.GetSetting("江南春"),
'5' or '7' => _phoneOrderSetting.GetSetting("湘潭人家"),
'8' or '9' => _phoneOrderSetting.GetSetting("福满楼"),
'8' or '9' or '2' => _phoneOrderSetting.GetSetting("福满楼"),
_ => throw new Exception("Phone Number not exist")
}
};
Expand Down

0 comments on commit d4d2ae4

Please sign in to comment.