|
@@ -41,16 +41,16 @@ class YHMOrders_Models_Complain_Client { |
|
@@ -41,16 +41,16 @@ class YHMOrders_Models_Complain_Client { |
41
|
/**
|
41
|
/**
|
42
|
* 添加投诉
|
42
|
* 添加投诉
|
43
|
* @param int $order_code
|
43
|
* @param int $order_code
|
44
|
- * @param int $user_type
|
|
|
45
|
* @param int $uid
|
44
|
* @param int $uid
|
|
|
45
|
+ * @param int $user_type
|
46
|
* @param string $content
|
46
|
* @param string $content
|
47
|
* @param string $image_path
|
47
|
* @param string $image_path
|
48
|
*/
|
48
|
*/
|
49
|
- static function setComplain($order_code, $user_type, $uid, $content, $image_path,$pid = 0) {
|
49
|
+ static function setComplain($order_code, $uid, $user_type, $content, $image_path,$pid = 0) {
|
50
|
if ((int) $order_code < 1 || (int) $uid < 1) {
|
50
|
if ((int) $order_code < 1 || (int) $uid < 1) {
|
51
|
return 0;
|
51
|
return 0;
|
52
|
}
|
52
|
}
|
53
|
- return self::dao()->setComplain( $order_code, (int) $uid, $user_type, $content, $image_path, $pid);
|
53
|
+ return self::dao()->setComplain( $order_code, $uid, $user_type, $content, $image_path, $pid);
|
54
|
}
|
54
|
}
|
55
|
/*
|
55
|
/*
|
56
|
* 获取投诉信息
|
56
|
* 获取投诉信息
|