细节修改

This commit is contained in:
Seven Tsui 2025-09-18 16:46:13 +08:00
parent 27001b12d6
commit 1d5b68d7ad
2 changed files with 4 additions and 2 deletions

View File

@ -126,7 +126,7 @@ class ChatPageState extends State<ChatPage> {
final res = await ImService.instance.followUser(userIDList: [value]);
if (res.success) {
followed.value = followed.value == 0 ? 1 : 3;
final res = await Http.post(ShopApi.bindSpreadCodeId, data: {"socialCode": value});
final res = await Http.post(ShopApi.bindSpreadCodeId, data: {"id": value});
if (res != null && res['code'] == 200) {
MyDialog.toast('推广码绑定成功', icon: const Icon(Icons.check_circle), style: ToastStyle(backgroundColor: Colors.green.withAlpha(200)));
Get.toNamed('/vloger', arguments: {'memberId': value});

View File

@ -8,7 +8,9 @@ class HttpConfig {
// baseUrl: 'http://43.143.227.203:8099',
// baseUrl: 'http://111.62.22.190:8080',
// baseUrl: 'http://cjh.wuzhongjie.com.cn',
baseUrl: 'http://82.156.121.2:8880',
// baseUrl: 'http://82.156.121.2:8880',
baseUrl: 'https://www.wuzhongjie.com.cn/prod-api',
// baseUrl: 'http://192.168.1.65:8880',
// baseUrl: 'http://192.168.1.22:8080',