Verified Commit c7189e64 authored by Cui's avatar Cui

fix bug with fallthrough

parent 6d346185
......@@ -14,6 +14,7 @@ func Sender(accessToken string, message MessageStruct) (code int, msg string) {
switch message.MessageType {
case "CUSTOMER":
fallthrough
case "MASS":
var cmi TextCustomerMessage
err := json.Unmarshal(message.MessageData, &cmi)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment