Commit ee3a5d3
wangqi09
feat(cp/oa): add phonenumber field to ContentValue for PhoneNumber control
The WeCom approval API returns PhoneNumber control values as:
value.phonenumber = { area: "+62", number: "87827717730" }
Without this field, Gson silently drops the value during getApprovalDetail
deserialization, causing phone number to be empty when parsing form data.
Fixes: ContentValue missing phonenumber field for PhoneNumber control type.1 parent 5cc8e91 commit ee3a5d3
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
64 | 78 | | |
65 | 79 | | |
66 | 80 | | |
| |||
0 commit comments